FluentUI/example/src/component/FpsItem.h

20 lines
245 B
C
Raw Normal View History

2023-08-28 17:14:21 +08:00
#ifndef FPSITEM_H
#define FPSITEM_H
#include <QQuickItem>
#include "src/stdafx.h"
class FpsItem : public QQuickItem
{
Q_OBJECT
Q_PROPERTY_AUTO(int,fps)
public:
FpsItem();
private:
int _frameCount = 0;
};
#endif // FPSITEM_H