Rebel Fork Framework
RmlUI.h File Reference
#include "../Core/Object.h"
#include "../Core/Signal.h"
#include "../Graphics/Texture2D.h"
#include "../Math/Vector2.h"
#include <EASTL/vector.h>
#include <EASTL/string.h>
#include <RmlUi/Core/ElementDocument.h>
#include <RmlUi/Core/EventListener.h>
#include <RmlUi/Core/Context.h>
#include <RmlUi/Core/DataTypeRegister.h>

Classes

struct  Urho3D::RmlCanvasResizedArgs
 
struct  Urho3D::RmlDocumentReloadedArgs
 
class  Urho3D::RmlUI
 UI subsystem. Manages the graphical user interface. More...
 
class  Urho3D::Detail::RmlContext
 For internal use only! Helper class used to associate instance of RmlUI with Rml::Context. More...
 

Functions

void Urho3D::RegisterVariantDefinition (Rml::DataTypeRegister *typeRegister)
 Register Urho3D Variant* types in the RmlUI type registry.
 
void Urho3D::RegisterRmlUILibrary (Context *context)
 Register UI library objects.
 
bool Urho3D::FromRmlUi (const Rml::Variant &src, Variant &dst)
 Try to convert variant from RmlUI to Urho3D.
 
bool Urho3D::ToRmlUi (const Variant &src, Rml::Variant &dst)
 Try to convert variant from Urho3D to RmlUI.
 
Rml::Vector2f Urho3D::ToRmlUi (const Vector2 &value)
 
Rml::Vector3f Urho3D::ToRmlUi (const Vector3 &value)
 
Rml::Vector4f Urho3D::ToRmlUi (const Vector4 &value)
 
Rml::Colourf Urho3D::ToRmlUi (const Color &value)
 
Rml::Vector2i Urho3D::ToRmlUi (const IntVector2 &value)
 
bool Urho3D::ToRmlUi (const Variant &src, Rml::Variant &dst)
 Try to convert variant from Urho3D to RmlUI.
 
Vector2 Urho3D::ToVector2 (const Rml::Vector2f &value)
 
Vector3 Urho3D::ToVector3 (const Rml::Vector3f &value)
 
Vector4 Urho3D::ToVector4 (const Rml::Vector4f &value)
 
Color Urho3D::ToColor (const Rml::Colourf &value)
 
Color Urho3D::ToColor (const Rml::Colourb &value)
 
IntVector2 Urho3D::ToIntVector2 (const Rml::Vector2i &value)
 
bool Urho3D::FromRmlUi (const Rml::Variant &src, Variant &dst)
 Try to convert variant from RmlUI to Urho3D.
 
bool Urho3D::FromRmlUi (const Rml::Variant &src, Variant &dst)
 Try to convert variant from RmlUI to Urho3D.
 
bool Urho3D::ToRmlUi (const Variant &src, Rml::Variant &dst)
 Try to convert variant from Urho3D to RmlUI.
 
Rml::Vector2f Urho3D::ToRmlUi (const Vector2 &value)
 
Rml::Vector3f Urho3D::ToRmlUi (const Vector3 &value)
 
Rml::Vector4f Urho3D::ToRmlUi (const Vector4 &value)
 
Rml::Colourf Urho3D::ToRmlUi (const Color &value)
 
Rml::Vector2i Urho3D::ToRmlUi (const IntVector2 &value)
 
Vector2 Urho3D::ToVector2 (const Rml::Vector2f &value)
 
Vector3 Urho3D::ToVector3 (const Rml::Vector3f &value)
 
Vector4 Urho3D::ToVector4 (const Rml::Vector4f &value)
 
Color Urho3D::ToColor (const Rml::Colourf &value)
 
Color Urho3D::ToColor (const Rml::Colourb &value)
 
IntVector2 Urho3D::ToIntVector2 (const Rml::Vector2i &value)
 

Function Documentation

◆ ToRmlUi()

Rml::Vector2f Urho3D::ToRmlUi ( const Vector2 value)
inline

Convert math types and Variant from/to RmlUI