mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2024-11-24 03:30:59 +08:00
20 lines
245 B
C
20 lines
245 B
C
|
#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
|