Planeshift
|
This handles the displaying of FPS and controlling the cap. More...
#include <eeditfpstoolbox.h>
Public Member Functions | |
EEditFPSToolbox () | |
float | GetFPS () const |
Retrieves the current FPS. | |
virtual const char * | GetName () const |
Gets the name of the toolbox. | |
float | GetTargetFPS () const |
Retrieves the current target FPS. | |
virtual size_t | GetType () const |
Gets the toolbox type. | |
virtual bool | OnButtonPressed (int mouseButton, int keyModifier, pawsWidget *widget) |
Called whenever a button is pressed. | |
virtual bool | PostSetup () |
This is called after the widget and all of it's children have been created. | |
virtual void | Update (unsigned int elapsed) |
Updates the toobox. | |
virtual | ~EEditFPSToolbox () |
This handles the displaying of FPS and controlling the cap.
Definition at line 46 of file eeditfpstoolbox.h.
EEditFPSToolbox::EEditFPSToolbox | ( | ) |
virtual EEditFPSToolbox::~EEditFPSToolbox | ( | ) | [virtual] |
float EEditFPSToolbox::GetFPS | ( | ) | const |
Retrieves the current FPS.
virtual const char* EEditFPSToolbox::GetName | ( | ) | const [virtual] |
float EEditFPSToolbox::GetTargetFPS | ( | ) | const |
Retrieves the current target FPS.
virtual size_t EEditFPSToolbox::GetType | ( | ) | const [virtual] |
virtual bool EEditFPSToolbox::OnButtonPressed | ( | int | button, |
int | keyModifier, | ||
pawsWidget * | widget | ||
) | [virtual] |
Called whenever a button is pressed.
button | The button pressed. |
keyModifier | Modifier key in effect. |
widget | The widget the button belongs to. |
Reimplemented from pawsWidget.
virtual bool EEditFPSToolbox::PostSetup | ( | ) | [virtual] |
This is called after the widget and all of it's children have been created.
Reimplemented from pawsWidget.
Updates the toobox.
elapsed | the time elapsed in milliseconds. |
Reimplemented from EEditToolbox.