|
| RmlSystem (Context *context) |
| Construct.
|
|
double | GetElapsedTime () override |
| Get the number of seconds elapsed since the start of the application.
|
|
int | TranslateString (Rml::String &translated, const Rml::String &input) override |
| Translate the input string into the translated string.
|
|
bool | LogMessage (Rml::Log::Type type, const Rml::String &message) override |
|
void | SetMouseCursor (const Rml::String &cursor_name) override |
|
void | SetClipboardText (const Rml::String &text) override |
|
void | GetClipboardText (Rml::String &text) override |
|
void | ActivateKeyboard (Rml::Vector2f caret_position, float line_height) override |
| Activate keyboard (for touchscreen devices)
|
|
void | DeactivateKeyboard () override |
| Deactivate keyboard (for touchscreen devices)
|
|
bool | TextInputActivatedThisFrame () const |
| Return true if text input activation was requested on this frame.
|
|
| RefCounted () |
| Construct. Allocate the reference count structure and set an initial self weak reference.
|
|
virtual | ~RefCounted () |
| Destruct. Mark as expired and also delete the reference count structure if no outside weak references exist.
|
|
| RefCounted (const RefCounted &rhs)=delete |
| Prevent copy construction.
|
|
RefCounted & | operator= (const RefCounted &rhs)=delete |
| Prevent assignment.
|
|
int | AddRef () |
|
int | ReleaseRef () |
|
int | Refs () const |
|
int | WeakRefs () const |
|
RefCount * | RefCountPtr () const |
| Return pointer to the reference count structure.
|
|
bool | HasScriptObject () const |
| Return true if script runtime object wrapping this native object exists.
|
|
bool | IsScriptStrongRef () const |
| Return true if script reference is strong.
|
|
|
WeakPtr< Context > | context_ |
| Pointer to Urho3D context.
|
|
unsigned | textInputActivatedFrame_ = 0 |
| Frame on which text input was activated. Used for managing input focus between multiple RmlUi contexts.
|
|
◆ GetClipboardText()
void Urho3D::Detail::RmlSystem::GetClipboardText |
( |
Rml::String & |
text | ) |
|
|
override |
Get clipboard text.
- Parameters
-
[out] | text | Retrieved text from clipboard. |
◆ LogMessage()
bool Urho3D::Detail::RmlSystem::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.
◆ SetClipboardText()
void Urho3D::Detail::RmlSystem::SetClipboardText |
( |
const Rml::String & |
text | ) |
|
|
override |
Set clipboard text.
- Parameters
-
[in] | text | Text to apply to clipboard. |
◆ SetMouseCursor()
void Urho3D::Detail::RmlSystem::SetMouseCursor |
( |
const Rml::String & |
cursor_name | ) |
|
|
override |
Set mouse cursor.
- Parameters
-
[in] | cursor_name | Cursor name to activate. |
The documentation for this class was generated from the following files:
- Urho3D/RmlUI/RmlSystem.h
- Urho3D/RmlUI/RmlSystem.cpp