SuperTuxKart
Loading...
Searching...
No Matches
Public Member Functions | List of all members
GUIEngine::EmojiKeyboard Class Reference
Inheritance diagram for GUIEngine::EmojiKeyboard:
Inheritance graph
[legend]

Public Member Functions

 EmojiKeyboard (float percent_width, float percent_height, CGUIEditBox *edit_box)
 
virtual KeyboardLayoutProportions getKeyboardLayoutProportions () const OVERRIDE
 
virtual KeyboardLayout * getKeyboardLayout (ButtonsType bt) const OVERRIDE
 
virtual ButtonsType getDefaultButtonsType () const OVERRIDE
 
- Public Member Functions inherited from GUIEngine::ScreenKeyboard
 ScreenKeyboard (float percent_width, float percent_height, CGUIEditBox *edit_box)
 The screen keyboard constructor.
 
 ~ScreenKeyboard ()
 The screen keyboard destructor.
 
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.
 
virtual void onUpdate (float dt)
 Override to be notified of updates.
 
bool onEvent (const SEvent &event)
 A function that handles irrlicht events.
 
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.
 
int getWidth ()
 Returns width of the screen keyboard.
 
int getHeight ()
 Returns height of the screen keyboard.
 
CGUIEditBoxgetEditBox ()
 Returns assigned edit box.
 
virtual KeyboardLayoutProportions getKeyboardLayoutProportions () const
 
virtual KeyboardLayout * getKeyboardLayout (ButtonsType bt) const
 
virtual ButtonsType getDefaultButtonsType () const
 
- Public Member Functions inherited from GUIEngine::AbstractTopLevelContainer
virtual int getWidth ()=0
 
virtual int getHeight ()=0
 
WidgetgetWidget (const char *name)
 This function returns a widget by name if that widget is found.
 
WidgetgetWidget (const int id)
 This function returns a widget by irrlicht ID if that widget is found.
 
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.
 
WidgetgetFirstWidget (PtrVector< Widget > *within_vector=NULL)
 This function returns the first widget found in within_vector.
 
WidgetgetLastWidget (PtrVector< Widget > *within_vector=NULL)
 This function returns the last widget found in within_vector.
 
void elementsWereDeleted (PtrVector< Widget > *within_vector=NULL)
 This function is called when screen is removed.
 
bool isMyChild (Widget *widget) const
 This function checks if a widget is a child of the container.
 
virtual bool enableScreenPadding () const
 

Additional Inherited Members

- Static Public Member Functions inherited from GUIEngine::ScreenKeyboard
static void dismiss ()
 A function that closes the keyboard.
 
static bool onEscapePressed ()
 A function that handles escape pressed event.
 
static ScreenKeyboardgetCurrent ()
 Returns pointer to the created keyboard or NULL if keyboard was not created.
 
static bool isActive ()
 Returns true if keyboard is created.
 
static bool shouldUseScreenKeyboard ()
 A function that determines if (native) screen keyboard should be activated.
 
static bool hasSystemScreenKeyboard ()
 Returns true if system screen keyboard is available.
 
- Static Public Member Functions inherited from GUIEngine::AbstractTopLevelContainer
static WidgetgetWidget (const char *name, PtrVector< Widget > *within_vector)
 This function returns a widget by name if that widget is found in within_vector.
 
static WidgetgetWidget (const int id, PtrVector< Widget > *within_vector)
 This function returns a widget by irrlicht ID if that widget is found.
 
- Public Attributes inherited from GUIEngine::SkinWidgetContainer
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
 
- Protected Types inherited from GUIEngine::ScreenKeyboard
enum  ButtonsType {
  BUTTONS_NONE , BUTTONS_LOWER , BUTTONS_UPPER , BUTTONS_DIGITS ,
  BUTTONS_DIGITS2 , BUTTONS_EMOJI
}
 
typedef std::vector< std::vector< std::string > > KeyboardLayout
 
typedef std::vector< std::vector< int > > KeyboardLayoutProportions
 
- Protected Member Functions inherited from GUIEngine::AbstractTopLevelContainer
void addWidgetsRecursively (PtrVector< Widget > &widgets, Widget *parent=NULL)
 This function adds a list of widgets recursively, effectively creating the hierarchy of widgets.
 
- Protected Attributes inherited from GUIEngine::AbstractTopLevelContainer
PtrVector< Widget, HOLD > m_widgets
 the widgets in this screen
 
Widgetm_first_widget
 AbstractTopLevelContainer is generally able to determine its first widget just fine, but in highly complex screens (e.g.
 
Widgetm_last_widget
 AbstractTopLevelContainer is generally able to determine its last widget just fine, but in highly complex screens (e.g.
 

Member Function Documentation

◆ getDefaultButtonsType()

virtual ButtonsType GUIEngine::EmojiKeyboard::getDefaultButtonsType ( ) const
inlinevirtual

Reimplemented from GUIEngine::ScreenKeyboard.

◆ getKeyboardLayout()

ScreenKeyboard::KeyboardLayout * EmojiKeyboard::getKeyboardLayout ( ButtonsType  bt) const
virtual

Reimplemented from GUIEngine::ScreenKeyboard.

◆ getKeyboardLayoutProportions()

ScreenKeyboard::KeyboardLayoutProportions EmojiKeyboard::getKeyboardLayoutProportions ( ) const
virtual

Reimplemented from GUIEngine::ScreenKeyboard.


The documentation for this class was generated from the following files: