Planeshift
|
The main or desktop widget. More...
#include <pawsmainwidget.h>
Public Member Functions | |
virtual void | ApplyWindowSettingsOnChildren (pawsWidget *caller, int alphaMin, int alphaMax, float fadeSpeed, bool fade, bool scaleFont) |
virtual bool | OnDoubleClick (int button, int modifiers, int x, int y) |
Manage mouse double click event. | |
virtual bool | OnKeyDown (utf32_char keyCode, utf32_char key, int modifiers) |
Process keydown messages. | |
virtual bool | OnMouseDown (int button, int modifiers, int x, int y) |
Manage mouse down event to test for and apply window changes. | |
virtual bool | OnMouseUp (int button, int modifiers, int x, int y) |
Manage mouse up event. | |
pawsMainWidget () | |
virtual | ~pawsMainWidget () |
Protected Member Functions | |
bool | LoadGUIKeys (const char *fileName) |
Protected Attributes | |
csPDelArray< pawsScriptKey > | keys |
The main or desktop widget.
Definition at line 48 of file pawsmainwidget.h.
pawsMainWidget::pawsMainWidget | ( | ) |
virtual pawsMainWidget::~pawsMainWidget | ( | ) | [virtual] |
virtual void pawsMainWidget::ApplyWindowSettingsOnChildren | ( | pawsWidget * | caller, |
int | alphaMin, | ||
int | alphaMax, | ||
float | fadeSpeed, | ||
bool | fade, | ||
bool | scaleFont | ||
) | [virtual] |
bool pawsMainWidget::LoadGUIKeys | ( | const char * | fileName | ) | [protected] |
Manage mouse double click event.
Reimplemented from pawsWidget.
Reimplemented in psMainWidget.
virtual bool pawsMainWidget::OnKeyDown | ( | utf32_char | keyCode, |
utf32_char | keyChar, | ||
int | modifiers | ||
) | [virtual] |
Process keydown messages.
keyCode | The code for the pressed key. |
keyChar | The key pressed. |
modifiers | Used to modify tab behavior. |
Reimplemented from pawsWidget.
Reimplemented in psMainWidget.
Manage mouse down event to test for and apply window changes.
button | Type of button: 1 resizable or movable, 2 context menu or config window. |
modifiers | Used with PAWS_CONSTRUCTION. |
x | Used to test for resize. |
y | Used to test for resize. |
Reimplemented from pawsWidget.
Reimplemented in psMainWidget.
Manage mouse up event.
Reimplemented from pawsWidget.
Reimplemented in psMainWidget.
csPDelArray<pawsScriptKey> pawsMainWidget::keys [protected] |
Definition at line 66 of file pawsmainwidget.h.