Kylin/Fluent/FpsItem.h
2024-08-31 12:32:26 +08:00

19 lines
272 B
C++

#ifndef __FPSITEM_H__
#define __FPSITEM_H__
#include "Utilities.h"
#include <QQuickItem>
class FpsItem : public QQuickItem {
Q_OBJECT
QML_ELEMENT
Q_PROPERTY_AUTO(int, fps)
public:
FpsItem();
private:
int _frameCount = 0;
};
#endif // __FPSITEM_H__