19 lines
272 B
C++
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__
|