|
Planeshift
|
This displays effect errors. More...
#include <eediterrortoolbox.h>
Public Member Functions | |
| void | AddError (int severity, const char *msgId, const char *description) |
| Adds an error to the reporter. | |
| void | Clear () |
| Clears all current effects. | |
| EEditErrorToolbox () | |
| 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 | ResetFilter () |
| Builds a filter based on the state of current widgets and filters the list. | |
| void | SetLoadingEffects (bool isLoadingEffects) |
| Sets whether the effects are being loaded, so that they can be handled differently if desired by the user. | |
| virtual void | Show () |
| Makes widget visible and brings it to the front. | |
| virtual void | Update (unsigned int elapsed) |
| Updates the toobox. | |
| virtual | ~EEditErrorToolbox () |
This displays effect errors.
Definition at line 55 of file eediterrortoolbox.h.
| EEditErrorToolbox::EEditErrorToolbox | ( | ) |
| virtual EEditErrorToolbox::~EEditErrorToolbox | ( | ) | [virtual] |
| void EEditErrorToolbox::AddError | ( | int | severity, |
| const char * | msgId, | ||
| const char * | description | ||
| ) |
Adds an error to the reporter.
| severity | The severity of the error. Check csReport for a list of available severities. |
| msgId | An identifier saying where the message came from. |
| description | The actual error description. |
| void EEditErrorToolbox::Clear | ( | ) |
Clears all current effects.
| virtual const char* EEditErrorToolbox::GetName | ( | ) | const [virtual] |
| virtual size_t EEditErrorToolbox::GetType | ( | ) | const [virtual] |
| virtual bool EEditErrorToolbox::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 EEditErrorToolbox::PostSetup | ( | ) | [virtual] |
This is called after the widget and all of it's children have been created.
Reimplemented from pawsWidget.
| void EEditErrorToolbox::ResetFilter | ( | ) |
Builds a filter based on the state of current widgets and filters the list.
| void EEditErrorToolbox::SetLoadingEffects | ( | bool | isLoadingEffects | ) |
Sets whether the effects are being loaded, so that they can be handled differently if desired by the user.
| isLoadingEffects | True if the effects are going to be loaded, false if they are not. |
| virtual void EEditErrorToolbox::Show | ( | ) | [virtual] |
Makes widget visible and brings it to the front.
Sets visible TRUE shows border if present then calls BringToTop() on itself.
Reimplemented from pawsWidget.
Updates the toobox.
| elapsed | the time elapsed in milliseconds. |
Reimplemented from EEditToolbox.
1.7.3