Plasma Engine  2.0
Loading...
Searching...
No Matches
plRmlUiContext Class Referencefinal
Inheritance diagram for plRmlUiContext:

Public Types

using EventHandler = plDelegate<void(Rml::Event&)>
 

Public Member Functions

 plRmlUiContext (const Rml::String &sName)
 
plResult LoadDocumentFromResource (const plRmlUiResourceHandle &hResource)
 
plResult LoadDocumentFromString (const plStringView &sContent)
 
void UnloadDocument ()
 
plResult ReloadDocumentFromResource (const plRmlUiResourceHandle &hResource)
 
void ShowDocument ()
 
void HideDocument ()
 
void UpdateInput (const plVec2 &vMousePos)
 
bool WantsInput () const
 
void SetOffset (const plVec2I32 &vOffset)
 
void SetSize (const plVec2U32 &vSize)
 
void SetDpiScale (float fScale)
 
void RegisterEventHandler (const char *szIdentifier, EventHandler handler)
 
void DeregisterEventHandler (const char *szIdentifier)
 

Friends

class plRmlUi
 
class plRmlUiInternal::EventListener
 

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