Class InputInterface¶
Defined in File input_interface.h
Class Documentation¶
-
class
InputInterface
¶ Provides an interface to pass user input into RmlUi.
Public Functions
-
bool
initialise
()¶
-
void
processWindowsEvent
(UINT message, WPARAM wParam, LPARAM lParam)¶ Process the Windows message.
-
void
setContext
(Rml::Context *context)¶
-
Rml::Character
getCharacterCode
(Rml::Input::KeyIdentifier keyIdentifier, int keyModifier_state)¶
Public Members
-
bool
m_IsMouseOver
= false¶
-
bool
m_IsEnabled
= true¶
-
float
m_ScaleX
= 1.0f¶
-
float
m_ScaleY
= 1.0f¶
-
int
m_Left
= 0¶
-
int
m_Right
= 0¶
-
int
m_Top
= 0¶
-
int
m_Bottom
= 0¶
Public Static Functions
-
static InputInterface *
GetSingleton
()¶
Protected Attributes
-
Rml::Context *
m_Context
= nullptr¶
-
bool