From 7028cbe09c688437910a25623098762bf0fa592d Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Mon, 28 Mar 2016 22:28:34 +1000 Subject: Move Irrlicht to src/others. --- ...lassirr_1_1gui_1_1_i_g_u_i_element_factory.html | 329 +++++++++++++++++++++ 1 file changed, 329 insertions(+) create mode 100644 src/others/irrlicht-1.8.1/doc/html/classirr_1_1gui_1_1_i_g_u_i_element_factory.html (limited to 'src/others/irrlicht-1.8.1/doc/html/classirr_1_1gui_1_1_i_g_u_i_element_factory.html') diff --git a/src/others/irrlicht-1.8.1/doc/html/classirr_1_1gui_1_1_i_g_u_i_element_factory.html b/src/others/irrlicht-1.8.1/doc/html/classirr_1_1gui_1_1_i_g_u_i_element_factory.html new file mode 100644 index 0000000..1975f4e --- /dev/null +++ b/src/others/irrlicht-1.8.1/doc/html/classirr_1_1gui_1_1_i_g_u_i_element_factory.html @@ -0,0 +1,329 @@ + + + + +Irrlicht 3D Engine: irr::gui::IGUIElementFactory Class Reference + + + + + + + + + + + + + + +
+ + +
+ + + + + + + + + + + + + + + + + +
+
Irrlicht 3D Engine + +
+ +
+ + + + + + +
+
+
+ + + + +
+
+ +
+
+
+ +
+
+ +
+
irr::gui::IGUIElementFactory Class Reference
+
+
+ +

Interface making it possible to dynamically create GUI elements. + More...

+ +

#include <IGUIElementFactory.h>

+
+ + Inheritance diagram for irr::gui::IGUIElementFactory:
+
+
+ + +

List of all members.

+

+Public Member Functions

+ +

Detailed Description

+

Interface making it possible to dynamically create GUI elements.

+

To be able to add custom elements to Irrlicht and to make it possible for the scene manager to save and load them, simply implement this interface and register it in your gui environment via IGUIEnvironment::registerGUIElementFactory. Note: When implementing your own element factory, don't call IGUIEnvironment::grab() to increase the reference counter of the environment. This is not necessary because the it will grab() the factory anyway, and otherwise cyclic references will be created.

+ +

Definition at line 26 of file IGUIElementFactory.h.

+

Member Function Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + +
virtual IGUIElement* irr::gui::IGUIElementFactory::addGUIElement (EGUI_ELEMENT_TYPE type,
IGUIElementparent = 0 
) [pure virtual]
+
+
+ +

adds an element to the gui environment based on its type id

+
Parameters:
+ + + +
type,:Type of the element to add.
parent,:Parent scene node of the new element, can be null to add to the root.
+
+
+
Returns:
Pointer to the new element or null if not successful.
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
virtual IGUIElement* irr::gui::IGUIElementFactory::addGUIElement (const c8typeName,
IGUIElementparent = 0 
) [pure virtual]
+
+
+ +

adds a GUI element to the GUI Environment based on its type name

+
Parameters:
+ + + +
typeName,:Type name of the element to add.
parent,:Parent scene node of the new element, can be null to add it to the root.
+
+
+
Returns:
Pointer to the new element or null if not successful.
+ +
+
+ +
+
+ + + + + + + +
virtual s32 irr::gui::IGUIElementFactory::getCreatableGUIElementTypeCount () const [pure virtual]
+
+
+ +

Get amount of GUI element types this factory is able to create.

+ +
+
+ +
+
+ + + + + + + + +
virtual EGUI_ELEMENT_TYPE irr::gui::IGUIElementFactory::getCreateableGUIElementType (s32 idx) const [pure virtual]
+
+
+ +

Get type of a createable element type.

+
Parameters:
+ + +
idx,:Index of the element type in this factory. Must be a value between 0 and getCreatableGUIElementTypeCount()
+
+
+ +
+
+ +
+
+ + + + + + + + +
virtual const c8* irr::gui::IGUIElementFactory::getCreateableGUIElementTypeName (s32 idx) const [pure virtual]
+
+
+ +

Get type name of a createable GUI element type by index.

+
Parameters:
+ + +
idx,:Index of the type in this factory. Must be a value between 0 and getCreatableGUIElementTypeCount()
+
+
+ +
+
+ +
+
+ + + + + + + + +
virtual const c8* irr::gui::IGUIElementFactory::getCreateableGUIElementTypeName (EGUI_ELEMENT_TYPE type) const [pure virtual]
+
+
+ +

returns type name of a createable GUI element

+
Parameters:
+ + +
type,:Type of GUI element.
+
+
+
Returns:
Name of the type if this factory can create the type, otherwise 0.
+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + + -- cgit v1.1