Rebel Fork Framework
|
Public Member Functions | |
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. | |
Public Member Functions inherited from Urho3D::RefCounted | |
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. | |
Private Attributes | |
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. | |
|
override |
Get clipboard text.
[out] | text | Retrieved text from clipboard. |
|
override |
Log the specified message.
[in] | type | Type of log message, ERROR, WARNING, etc. |
[in] | message | Message to log. |
|
override |
Set clipboard text.
[in] | text | Text to apply to clipboard. |
|
override |
Set mouse cursor.
[in] | cursor_name | Cursor name to activate. |