|
| | ScreenKeyboard (float percent_width, float percent_height, CGUIEditBox *edit_box) |
| | The screen keyboard constructor. More...
|
| |
|
| ~ScreenKeyboard () |
| | The screen keyboard destructor.
|
| |
|
void | setArea () |
| |
|
void | init () |
| | Screen keyboard initialization, needs to be called after new to take into account for runtime polymorphism.
|
| |
| virtual EventPropagation | processEvent (const std::string &eventSource) |
| | A function that handles buttons events. More...
|
| |
|
virtual void | onUpdate (float dt) |
| | Override to be notified of updates.
|
| |
| bool | onEvent (const SEvent &event) |
| | A function that handles irrlicht events. More...
|
| |
|
irr::gui::IGUIWindow * | getIrrlichtElement () |
| | Get irrlicht window used by the keyboard widget.
|
| |
| bool | isMyIrrChild (irr::gui::IGUIElement *widget) const |
| | Checks if the screen keyboard is a parent of the selected item. More...
|
| |
|
int | getWidth () |
| | Returns width of the screen keyboard.
|
| |
|
int | getHeight () |
| | Returns height of the screen keyboard.
|
| |
|
CGUIEditBox * | getEditBox () |
| | Returns assigned edit box.
|
| |
|
virtual KeyboardLayoutProportions | getKeyboardLayoutProportions () const |
| |
|
virtual KeyboardLayout * | getKeyboardLayout (ButtonsType bt) const |
| |
|
virtual ButtonsType | getDefaultButtonsType () const |
| |
|
virtual void | onResize () |
| |
| Widget * | getWidget (const char *name) |
| | This function returns a widget by name if that widget is found. More...
|
| |
| Widget * | getWidget (const int id) |
| | This function returns a widget by irrlicht ID if that widget is found. More...
|
| |
| template<typename T > |
| T * | getWidget (const char *name) |
| | This function searches and returns a widget by name, cast as specified type, if that widget is found and the type is correct. More...
|
| |
| Widget * | getFirstWidget (PtrVector< Widget > *within_vector=NULL) |
| | This function returns the first widget found in within_vector. More...
|
| |
| Widget * | getLastWidget (PtrVector< Widget > *within_vector=NULL) |
| | This function returns the last widget found in within_vector. More...
|
| |
| void | elementsWereDeleted (PtrVector< Widget > *within_vector=NULL) |
| | This function is called when screen is removed. More...
|
| |
| bool | isMyChild (Widget *widget) const |
| | This function checks if a widget is a child of the container. More...
|
| |
|
virtual bool | enableScreenPadding () const |
| |
|
|
float | m_percent_width |
| | A value in range of 0.0 to 1.0 that determines width of the screen that is used by the keyboard.
|
| |
|
float | m_percent_height |
| | A value in range of 0.0 to 1.0 that determines height of the screen that is used by the keyboard.
|
| |
|
unsigned int | m_repeat_time |
| | A time for repeat key feature.
|
| |
|
bool | m_back_button_pressed |
| | True if backspace button was pressed.
|
| |
|
bool | m_schedule_close |
| | True if screen keyboard is going to be closed.
|
| |
|
CGUIEditBox * | m_edit_box |
| | The edit box that is assigned to the keyboard.
|
| |
|
irr::gui::IGUIButton * | m_back_button |
| | A button that is used as backspace key.
|
| |
|
ButtonsType | m_buttons_type |
| | Remembers currently selected button type.
|
| |
|
irr::gui::IGUIWindow * | m_irrlicht_window |
| | Irrlicht window used by the keyboard widget.
|
| |
|
irr::core::rect< irr::s32 > | m_area |
| | Contains position and dimensions of the keyboard.
|
| |
|
std::vector< ButtonWidget * > | m_buttons |
| | Contans the pointers to all button widgets.
|
| |
|
InputManager::InputDriverMode | m_previous_mode |
| | Remembered input mode that was used before keyboard creation.
|
| |
|
|
int | m_skin_x |
| |
|
int | m_skin_y |
| |
|
int | m_skin_w |
| |
|
int | m_skin_h |
| |
|
bool | m_skin_dest_areas_inited |
| |
|
bool | m_skin_dest_areas_yflip_inited |
| |
|
int | m_skin_dest_x |
| |
|
int | m_skin_dest_y |
| |
|
int | m_skin_dest_x2 |
| |
|
int | m_skin_dest_y2 |
| |
|
core::rect< s32 > | m_skin_dest_area_left |
| |
|
core::rect< s32 > | m_skin_dest_area_center |
| |
|
core::rect< s32 > | m_skin_dest_area_right |
| |
|
core::rect< s32 > | m_skin_dest_area_top |
| |
|
core::rect< s32 > | m_skin_dest_area_bottom |
| |
|
core::rect< s32 > | m_skin_dest_area_top_left |
| |
|
core::rect< s32 > | m_skin_dest_area_top_right |
| |
|
core::rect< s32 > | m_skin_dest_area_bottom_left |
| |
|
core::rect< s32 > | m_skin_dest_area_bottom_right |
| |
|
core::rect< s32 > | m_skin_dest_area_left_yflip |
| |
|
core::rect< s32 > | m_skin_dest_area_center_yflip |
| |
|
core::rect< s32 > | m_skin_dest_area_right_yflip |
| |
|
core::rect< s32 > | m_skin_dest_area_top_yflip |
| |
|
core::rect< s32 > | m_skin_dest_area_bottom_yflip |
| |
|
core::rect< s32 > | m_skin_dest_area_top_left_yflip |
| |
|
core::rect< s32 > | m_skin_dest_area_top_right_yflip |
| |
|
core::rect< s32 > | m_skin_dest_area_bottom_left_yflip |
| |
|
core::rect< s32 > | m_skin_dest_area_bottom_right_yflip |
| |
|
short | m_skin_r |
| |
|
short | m_skin_g |
| |
|
short | m_skin_b |
| |
|
SkinWidgetContainer * | m_next |
| |
| void | addWidgetsRecursively (PtrVector< Widget > &widgets, Widget *parent=NULL) |
| | This function adds a list of widgets recursively, effectively creating the hierarchy of widgets. More...
|
| |
| void | resizeWidgetsRecursively (PtrVector< Widget > &widgets) |
| | This function invokes resize() of each widgets and its children. More...
|
| |
|
PtrVector< Widget, HOLD > | m_widgets |
| | the widgets in this screen
|
| |
| Widget * | m_first_widget |
| | AbstractTopLevelContainer is generally able to determine its first widget just fine, but in highly complex screens (e.g. More...
|
| |
| Widget * | m_last_widget |
| | AbstractTopLevelContainer is generally able to determine its last widget just fine, but in highly complex screens (e.g. More...
|
| |
Class representing a screen keyboard.
Only once instance at a time (if you create a 2nd the first will be destroyed). You can call static function 'dismiss' to simply close the keyboard (so you don't need to keep track of instances yourself)