#include <UI_HotkeyHelper.h>
Classes | |
| struct | Entry |
Public Member Functions | |
| UI_HotkeyHelper (UI_Object *client) | |
| Default constructor. | |
| UI_HotkeyHelper (UI_Object *client, const Entry *hotkey_entries) | |
| Construct using an array of hotkey entries terminated by NULL mySymbol. | |
| virtual | ~UI_HotkeyHelper () |
| Destructor. | |
| void | addHotkeys (const Entry *hotkey_entries) |
| Adds an array of hotkey entries terminated by NULL mySymbol. | |
| void | addHotkey (const Entry &entry) |
| Add a single hotkey entry. | |
| void | removeHotkey (const char *symbol) |
| Remove a hotkey entry. | |
| bool | processHotkey (UI_Event *event) |
| bool | willProcessHotkey (UI_Event *event) |
| Will we handle the given UI hotkey symbol? | |
Definition at line 38 of file UI_HotkeyHelper.h.
| UI_HotkeyHelper::UI_HotkeyHelper | ( | UI_Object * | client | ) |
Default constructor.
Construct using an array of hotkey entries terminated by NULL mySymbol.
| virtual UI_HotkeyHelper::~UI_HotkeyHelper | ( | ) | [virtual] |
Destructor.
| void UI_HotkeyHelper::addHotkey | ( | const Entry & | entry | ) |
Add a single hotkey entry.
| void UI_HotkeyHelper::addHotkeys | ( | const Entry * | hotkey_entries | ) |
Adds an array of hotkey entries terminated by NULL mySymbol.
| bool UI_HotkeyHelper::processHotkey | ( | UI_Event * | event | ) |
Invoke the handler for the given UI hotkey event. Returns true if consumed, false otherwise.
| void UI_HotkeyHelper::removeHotkey | ( | const char * | symbol | ) |
Remove a hotkey entry.
| bool UI_HotkeyHelper::willProcessHotkey | ( | UI_Event * | event | ) |
Will we handle the given UI hotkey symbol?
1.5.9