System interface implementation using engine's ospp systems.
More...
#include <RmlUi_SystemInterface.h>
System interface implementation using engine's ospp systems.
This class provides RmlUi with access to system-level functionality through the engine's existing ospp windowing and input systems.
Definition at line 33 of file RmlUi_SystemInterface.h.
◆ RmlUi_SystemInterface()
| unravel::RmlUi_SystemInterface::RmlUi_SystemInterface |
( |
| ) |
|
◆ ~RmlUi_SystemInterface()
| unravel::RmlUi_SystemInterface::~RmlUi_SystemInterface |
( |
| ) |
|
◆ ActivateKeyboard()
| void unravel::RmlUi_SystemInterface::ActivateKeyboard |
( |
Rml::Vector2f | caret_position, |
|
|
float | line_height ) |
|
override |
Activate virtual keyboard (for mobile/touch devices)
- Parameters
-
| caret_position | Position of text caret |
| line_height | Height of text line |
Definition at line 141 of file RmlUi_SystemInterface.cpp.
◆ DeactivateKeyboard()
| void unravel::RmlUi_SystemInterface::DeactivateKeyboard |
( |
| ) |
|
|
override |
◆ GetClipboardText()
| void unravel::RmlUi_SystemInterface::GetClipboardText |
( |
Rml::String & | text | ) |
|
|
override |
◆ GetElapsedTime()
| double unravel::RmlUi_SystemInterface::GetElapsedTime |
( |
| ) |
|
|
override |
◆ init()
| auto unravel::RmlUi_SystemInterface::init |
( |
rtti::context & | ctx | ) |
-> bool |
Initialize the system interface with engine context.
- Parameters
-
| ctx | Engine context for accessing systems |
- Returns
- True if initialization was successful
Definition at line 35 of file RmlUi_SystemInterface.cpp.
◆ LogMessage()
| auto unravel::RmlUi_SystemInterface::LogMessage |
( |
Rml::Log::Type | type, |
|
|
const Rml::String & | message ) |
|
override |
Log the specified message.
- Parameters
-
| [in] | type | Type of log message, ERROR, WARNING, etc. |
| [in] | message | Message to log. |
- Returns
- True to continue execution, false to break into the debugger.
Definition at line 167 of file RmlUi_SystemInterface.cpp.
◆ SetClipboardText()
| void unravel::RmlUi_SystemInterface::SetClipboardText |
( |
const Rml::String & | text | ) |
|
|
override |
◆ SetMouseCursor()
| void unravel::RmlUi_SystemInterface::SetMouseCursor |
( |
const Rml::String & | cursor_name | ) |
|
|
override |
◆ shutdown()
| void unravel::RmlUi_SystemInterface::shutdown |
( |
| ) |
|
◆ TranslateString()
| auto unravel::RmlUi_SystemInterface::TranslateString |
( |
Rml::String & | translated, |
|
|
const Rml::String & | input ) -> int |
|
override |
Translate the input string into the translated string.
- Parameters
-
| [out] | translated | Translated string ready for display. |
| [in] | input | String as received from XML. |
- Returns
- Number of translations that occured.
Definition at line 65 of file RmlUi_SystemInterface.cpp.
The documentation for this class was generated from the following files: