60 static bool loadGUI(
const char* file,
CCanvas* canvas);
This class manages GUI components, including creating and deleting images and sprites.
Definition CCanvas.h:79
This is the base object class from which other GUIs inherit. It's an empty GUI and can contain child ...
Definition CGUIElement.h:51
This object class helps initialize GUI components for the CCanvas from files and data....
Definition CGUIImporter.h:50
static void reset(CCanvas *canvas)
Reset the canvas to default state after import (position, size, background color).
static void buildCanvas(CCanvas *canvas, io::IXMLReader *reader)
Build the initial canvas structure from XML reader.
static bool loadObjStep(CObjectSerializable *obj, CCanvas *canvas, io::IXMLReader *reader)
Internal loading step for a serializable object from XML reader.
static bool loadStep(CCanvas *canvas, io::IXMLReader *reader)
Internal loading step for canvas from XML reader.
static void loadGUIFromSerializable(CObjectSerializable *gui, CCanvas *canvas)
Initialize a canvas from a serializable GUI object.
static bool updateLoadGUI()
Perform one step in the GUI loading process. Used for asynchronous or progressive loading.
static float getLoadingPercent()
Get percent progress of the GUI loading process.
static CObjectSerializable * loadGUIToSerializable(const char *file, CCanvas *canvas)
Load a GUI layout from file into a serializable object structure.
static bool beginImport(const char *file, CCanvas *canvas)
Begin importing a GUI layout from file. Initializes structures for step-based loading.
static CObjectSerializable * getSerializableByPath(CObjectSerializable *obj, const char *path)
Find a serializable GUI object by its path in the hierarchy.
static CGUIElement * importGUI(CCanvas *canvas, CGUIElement *target, CObjectSerializable *obj, bool generateNewId=false)
Import a GUI element tree from a serializable object into the canvas.
static bool loadObjChilds(CObjectSerializable *obj, CCanvas *canvas, io::IXMLReader *reader)
Load all children for a serializable object from XML reader.
Definition CObjectSerializable.h:36
Everything in the Skylicht Engine. You can start by looking at the topics.
Definition AudioDebugLog.h:29
The gui namespace contains useful classes for easy creation of a graphical user interface.
Definition ICursorControl.h:15
IIrrXMLReader< wchar_t, IReferenceCounted > IXMLReader
An xml reader for wide characters, derived from IReferenceCounted.
Definition IXMLReader.h:19