FluentUI/example/src/component/FpsItem.h
2024-06-28 17:09:23 +08:00

15 lines
201 B
C++

#pragma once
#include <QQuickItem>
#include "src/stdafx.h"
class FpsItem : public QQuickItem {
Q_OBJECT
Q_PROPERTY_AUTO(int, fps)
public:
FpsItem();
private:
int _frameCount = 0;
};