Loading...
Searching...
No Matches
IGUIElementFactory.h
Go to the documentation of this file.
// Copyright (C) 2002-2012 Nikolaus Gebhardt
// This file is part of the "Irrlicht Engine".
// For conditions of distribution and use, see copyright notice in irrlicht.h
#ifndef __I_GUI_ELEMENT_FACTORY_H_INCLUDED__
#define __I_GUI_ELEMENT_FACTORY_H_INCLUDED__
#include "IReferenceCounted.h"
#include "EGUIElementTypes.h"
namespace irr
{
namespace gui
{
class IGUIElement;
class IGUIElementFactory : public virtual IReferenceCounted
{
public:
virtual IGUIElement* addGUIElement(EGUI_ELEMENT_TYPE type, IGUIElement* parent=0) = 0;
virtual IGUIElement* addGUIElement(const c8* typeName, IGUIElement* parent=0) = 0;
virtual s32 getCreatableGUIElementTypeCount() const = 0;
virtual EGUI_ELEMENT_TYPE getCreateableGUIElementType(s32 idx) const = 0;
virtual const c8* getCreateableGUIElementTypeName(s32 idx) const = 0;
virtual const c8* getCreateableGUIElementTypeName(EGUI_ELEMENT_TYPE type) const = 0;
};
} // end namespace gui
} // end namespace irr
#endif // __I_GUI_ELEMENT_FACTORY_H_INCLUDED__
EGUIElementTypes.h
IReferenceCounted.h
irr::IReferenceCounted::IReferenceCounted
IReferenceCounted()
Constructor.
Definition IReferenceCounted.h:46
irr::gui::IGUIElementFactory
Interface making it possible to dynamically create GUI elements.
Definition IGUIElementFactory.h:27
irr::gui::IGUIElementFactory::addGUIElement
virtual IGUIElement * addGUIElement(const c8 *typeName, IGUIElement *parent=0)=0
adds a GUI element to the GUI Environment based on its type name
irr::gui::IGUIElementFactory::getCreateableGUIElementTypeName
virtual const c8 * getCreateableGUIElementTypeName(EGUI_ELEMENT_TYPE type) const =0
returns type name of a createable GUI element
irr::gui::IGUIElementFactory::getCreateableGUIElementType
virtual EGUI_ELEMENT_TYPE getCreateableGUIElementType(s32 idx) const =0
Get type of a createable element type.
irr::gui::IGUIElementFactory::getCreatableGUIElementTypeCount
virtual s32 getCreatableGUIElementTypeCount() const =0
Get amount of GUI element types this factory is able to create.
irr::gui::IGUIElementFactory::addGUIElement
virtual IGUIElement * addGUIElement(EGUI_ELEMENT_TYPE type, IGUIElement *parent=0)=0
adds an element to the gui environment based on its type id
irr::gui::IGUIElementFactory::getCreateableGUIElementTypeName
virtual const c8 * getCreateableGUIElementTypeName(s32 idx) const =0
Get type name of a createable GUI element type by index.
irr::gui::IGUIElement
Base class of all GUI elements.
Definition IGUIElement.h:26
irr::gui
The gui namespace contains useful classes for easy creation of a graphical user interface.
Definition EGUIAlignment.h:11
irr::gui::EGUI_ELEMENT_TYPE
EGUI_ELEMENT_TYPE
List of all basic Irrlicht GUI elements.
Definition EGUIElementTypes.h:18
irr
Everything in the Irrlicht Engine can be found in this namespace.
Definition aabbox3d.h:13
irr::c8
char c8
8 bit character variable.
Definition irrTypes.h:31
irr::s32
signed int s32
32 bit signed variable.
Definition irrTypes.h:66
- Irrlicht Engine Documentation © 2003-2012 by Nikolaus Gebhardt. Generated on for Irrlicht 3D Engine by Doxygen 1.15.0