Planeshift
|
This allows loading of a new map. More...
#include <eeditloadmaptoolbox.h>
Classes | |
class | OnFileSelected |
Callback class for the pawsFileNavigation dialog. | |
Public Member Functions | |
EEditLoadMapToolbox () | |
virtual const char * | GetName () const |
Gets the name of the toolbox. | |
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. | |
void | SetMapFile (const char *mapFile) |
Sets the text for the map field. | |
virtual void | Update (unsigned int elapsed) |
Updates the toobox. | |
virtual | ~EEditLoadMapToolbox () |
This allows loading of a new map.
Definition at line 38 of file eeditloadmaptoolbox.h.
EEditLoadMapToolbox::EEditLoadMapToolbox | ( | ) |
virtual EEditLoadMapToolbox::~EEditLoadMapToolbox | ( | ) | [virtual] |
virtual const char* EEditLoadMapToolbox::GetName | ( | ) | const [virtual] |
virtual size_t EEditLoadMapToolbox::GetType | ( | ) | const [virtual] |
virtual bool EEditLoadMapToolbox::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 EEditLoadMapToolbox::PostSetup | ( | ) | [virtual] |
This is called after the widget and all of it's children have been created.
Reimplemented from pawsWidget.
void EEditLoadMapToolbox::SetMapFile | ( | const char * | mapFile | ) |
Sets the text for the map field.
mapFile | The new map. |
Updates the toobox.
elapsed | the time elapsed in milliseconds. |
Reimplemented from EEditToolbox.