Rebel Fork Framework
Urho3D::Detail::RmlSystem Class Reference
Inheritance diagram for Urho3D::Detail::RmlSystem:

Public Member Functions

 RmlSystem (Context *context)
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.
RefCountedoperator= (const RefCounted &rhs)=delete
 Prevent assignment.
int AddRef ()
int ReleaseRef ()
int Refs () const
int WeakRefs () const
RefCountRefCountPtr () 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< Contextcontext_
 Pointer to Urho3D context.
unsigned textInputActivatedFrame_ = 0
 Frame on which text input was activated. Used for managing input focus between multiple RmlUi contexts.

Member Function Documentation

◆ GetClipboardText()

void Urho3D::Detail::RmlSystem::GetClipboardText ( Rml::String &  text)

Get clipboard text.

[out]textRetrieved text from clipboard.

◆ LogMessage()

bool Urho3D::Detail::RmlSystem::LogMessage ( Rml::Log::Type  type,
const Rml::String &  message 

Log the specified message.

[in]typeType of log message, ERROR, WARNING, etc.
[in]messageMessage to log.
True to continue execution, false to break into the debugger.

◆ SetClipboardText()

void Urho3D::Detail::RmlSystem::SetClipboardText ( const Rml::String &  text)

Set clipboard text.

[in]textText to apply to clipboard.

◆ SetMouseCursor()

void Urho3D::Detail::RmlSystem::SetMouseCursor ( const Rml::String &  cursor_name)

Set mouse cursor.

[in]cursor_nameCursor name to activate.

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