5#ifndef JPP_I_GUI_ELEMENT_FACTORY_HPP_INCLUDED
6#define JPP_I_GUI_ELEMENT_FACTORY_HPP_INCLUDED
8#include <jimcpp/core/engine/IReferenceCounted.hpp>
9#include <jimcpp/core/engine/EGUIElementTypes.hpp>
Base class of most objects of the Jimcpp Engine.
Definition IReferenceCounted.hpp:46
Interface making it possible to dynamically create GUI elements.
Definition IGUIElementFactory.hpp:27
virtual s32 getCreatableGUIElementTypeCount() const =0
Get amount of GUI element types this factory is able to create.
virtual const c8 * getCreateableGUIElementTypeName(s32 idx) const =0
Get type name of a creatable GUI element type by index.
virtual IGUIElement * addGUIElement(const c8 *typeName, IGUIElement *parent=0)=0
adds a GUI element to the GUI Environment based on its type name
virtual IGUIElement * addGUIElement(EGUI_ELEMENT_TYPE type, IGUIElement *parent=0)=0
adds an element to the gui environment based on its type id
virtual const c8 * getCreateableGUIElementTypeName(EGUI_ELEMENT_TYPE type) const =0
returns type name of a creatable GUI element
virtual EGUI_ELEMENT_TYPE getCreateableGUIElementType(s32 idx) const =0
Get type of a creatable element type.
Base class of all GUI elements.
Definition IGUIElement.hpp:24
EGUI_ELEMENT_TYPE
List of all basic Jimcpp GUI elements.
Definition EGUIElementTypes.hpp:18
As of Jimcpp 1.6, position2d is a synonym for vector2d.
Definition vector3d.hpp:11
signed int s32
32 bit signed variable.
Definition irrTypes.hpp:72
char c8
8 bit character variable.
Definition irrTypes.hpp:37