class MASKING_DLL_DECLSPEC FPS
A simple widget that displays the current redraw frame rate.
Inheritance:
Public Methods
-
FPS()
- default constructor
-
~FPS()
- destructor
-
int Get()
- Returns the current FPS (stands for 'Frames Per Second').
Protected Methods
-
void MsgTick()
- Records a MSG_TICK message and makes sure the widget is redrawn in every frame
-
void MsgInitSkin()
- Initializes the text and sets the text background colour to the default skin background colour
-
void Draw(Bitmap &canvas)
- Renders the frame rate as text
Documentation
A simple widget that displays the current redraw frame rate. The frame rate is
measured by the globalFpsCounter object.
void MsgTick()
-
Records a MSG_TICK message and makes sure the widget is redrawn in every frame
void MsgInitSkin()
-
Initializes the text and sets the text background colour to the default skin background colour
void Draw(Bitmap &canvas)
-
Renders the frame rate as text
FPS()
-
default constructor
~FPS()
-
destructor
int Get()
-
Returns the current FPS (stands for 'Frames Per Second'). Actually the frame rate is a
running average over the last second.
- This class has no child classes.
- See Also:
- CFPS
Alphabetic index Hierarchy of classes
Back to front page
|
page generated with DOC++