|
Planeshift
|
Class pawsFingeringWindow is a small dialog box that ask the user to press a key combination that will be bound to some action. More...
#include <pawsconfigkeys.h>
Public Member Functions | |
| virtual bool | GetFocusOverridesControls () const |
| Test if the widget should intercept all key presses. | |
| virtual void | Hide () |
| Makes widget invisible and removes focus if widget has current focus. | |
| virtual bool | OnButtonPressed (int mouseButton, int keyModifier, pawsWidget *widget) |
| Called whenever a button is pressed. | |
| virtual bool | OnKeyDown (utf32_char keyCode, utf32_char keyChar, 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. | |
| pawsFingeringWindow () | |
| virtual bool | PostSetup () |
| This is called after the widget and all of it's children have been created. | |
| void | SetCollisionInfo (const char *action) |
| Shows string describing collision with key combination 'event' associated with 'command'. | |
| void | SetNotify (pawsFingeringReceiver *widget) |
| Sets widget that should be notified the result. | |
| void | SetupGUIForDetection (const csString &cmdName) |
| void | ShowDialog (pawsFingeringReceiver *receiver, const char *editedCmd) |
Class pawsFingeringWindow is a small dialog box that ask the user to press a key combination that will be bound to some action.
Definition at line 125 of file pawsconfigkeys.h.
| pawsFingeringWindow::pawsFingeringWindow | ( | ) |
| virtual bool pawsFingeringWindow::GetFocusOverridesControls | ( | ) | const [inline, virtual] |
Test if the widget should intercept all key presses.
Reimplemented from pawsWidget.
Definition at line 151 of file pawsconfigkeys.h.
| virtual void pawsFingeringWindow::Hide | ( | ) | [virtual] |
Makes widget invisible and removes focus if widget has current focus.
Sets visible FALSE, hides border if present and then if focused when called it calls SetCurrentFocusedWidget(NULL).
Reimplemented from pawsWidget.
| virtual bool pawsFingeringWindow::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 pawsFingeringWindow::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.
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.
| virtual bool pawsFingeringWindow::PostSetup | ( | ) | [virtual] |
This is called after the widget and all of it's children have been created.
Reimplemented from pawsWidget.
| void pawsFingeringWindow::SetCollisionInfo | ( | const char * | action | ) |
Shows string describing collision with key combination 'event' associated with 'command'.
| void pawsFingeringWindow::SetNotify | ( | pawsFingeringReceiver * | widget | ) |
Sets widget that should be notified the result.
| void pawsFingeringWindow::SetupGUIForDetection | ( | const csString & | cmdName | ) |
| void pawsFingeringWindow::ShowDialog | ( | pawsFingeringReceiver * | receiver, |
| const char * | editedCmd | ||
| ) |
1.7.3