12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- #ifndef Fps_H
- #define Fps_H
- #include <Zeichnung.h>
- namespace Framework
- {
- class Prozess;
- class Bild;
- class Schrift;
- class Fps;
- class TextRenderer;
- class Fps : public Zeichnung
- {
- private:
- Prozess *pr;
- double i;
- int fpsCount;
- int nowFps;
- int nowCpu;
- int nowMem;
- TextRenderer *textRd;
- int sFarbe;
- public:
-
- Fps();
-
- ~Fps();
-
- void setSFarbe( int f );
- bool tick( double tickval ) override;
- void render( Bild &zRObj ) override;
-
- int getFarbe() const;
- int getFps() const;
- int getCpu() const;
- int getMem() const;
- };
- }
- #endif
|