Emergency 20 Dokumentation  4.2.0
em5::ScalePlugin Class Reference

Librocket plugin. More...

#include <ScalePlugin.h>

Inheritance diagram for em5::ScalePlugin:

Public Member Functions

virtual ~ScalePlugin ()
 
virtual void OnElementCreate (Rocket::Core::Element *element) override
 Called when a new element is created. More...
 
virtual void OnDocumentLoad (Rocket::Core::ElementDocument *document) override
 Called when a document is successfully loaded from file or instanced, initialised and added to its context. This is called before the document's 'load' event. More...
 
virtual void OnInitialise () override
 Called when Rocket is initialised. More...
 
virtual void OnShutdown () override
 Called when Rocket shuts down. More...
 

Detailed Description

Librocket plugin.

Note
A plugin used to scale the height and width of Librocket documents and elements.

Constructor & Destructor Documentation

virtual em5::ScalePlugin::~ScalePlugin ( )
virtual

Member Function Documentation

virtual void em5::ScalePlugin::OnDocumentLoad ( Rocket::Core::ElementDocument *  document)
overridevirtual

Called when a document is successfully loaded from file or instanced, initialised and added to its context. This is called before the document's 'load' event.

virtual void em5::ScalePlugin::OnElementCreate ( Rocket::Core::Element *  element)
overridevirtual

Called when a new element is created.

virtual void em5::ScalePlugin::OnInitialise ( )
overridevirtual

Called when Rocket is initialised.

virtual void em5::ScalePlugin::OnShutdown ( )
overridevirtual

Called when Rocket shuts down.


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