#include <keyboardnavigation.hpp>
MWGui::KeyboardNavigation::KeyboardNavigation |
( |
| ) |
|
MWGui::KeyboardNavigation::~KeyboardNavigation |
( |
| ) |
|
void MWGui::KeyboardNavigation::_unlinkWidget |
( |
MyGUI::Widget * |
widget | ) |
|
bool MWGui::KeyboardNavigation::accept |
( |
| ) |
|
|
private |
Send button press event to focused button.
bool MWGui::KeyboardNavigation::injectKeyPress |
( |
MyGUI::KeyCode |
key, |
|
|
unsigned int |
text, |
|
|
bool |
repeat |
|
) |
| |
- Returns
- Was the key handled by this class?
void MWGui::KeyboardNavigation::onFrame |
( |
| ) |
|
void MWGui::KeyboardNavigation::restoreFocus |
( |
int |
mode | ) |
|
void MWGui::KeyboardNavigation::saveFocus |
( |
int |
mode | ) |
|
bool MWGui::KeyboardNavigation::selectFirstWidget |
( |
| ) |
|
|
private |
void MWGui::KeyboardNavigation::setDefaultFocus |
( |
MyGUI::Widget * |
window, |
|
|
MyGUI::Widget * |
defaultFocus |
|
) |
| |
Set a key focus widget for this window, if one isn't already set.
void MWGui::KeyboardNavigation::setEnabled |
( |
bool |
enabled | ) |
|
void MWGui::KeyboardNavigation::setModalWindow |
( |
MyGUI::Widget * |
window | ) |
|
bool MWGui::KeyboardNavigation::switchFocus |
( |
int |
direction, |
|
|
bool |
wrap |
|
) |
| |
|
private |
MyGUI::Widget* MWGui::KeyboardNavigation::mCurrentFocus |
|
private |
bool MWGui::KeyboardNavigation::mEnabled |
|
private |
std::map<int, MyGUI::Widget*> MWGui::KeyboardNavigation::mKeyFocus |
|
private |
MyGUI::Widget* MWGui::KeyboardNavigation::mModalWindow |
|
private |
The documentation for this class was generated from the following files: