Commit f21b7b9c authored by cutealien's avatar cutealien

Reverting last changes - there is more stuff broken with generating...

Reverting last changes - there is more stuff broken with generating documentation, so I suspect the real troubles is the layout file.


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4747 dfc29bdd-3216-0410-991c-e03cc46cb475
parent 8133fef8
...@@ -69,7 +69,7 @@ public: ...@@ -69,7 +69,7 @@ public:
} }
//! Returns the position rectangle relative to it's parent //! Returns the relative rectangle of this element.
core::rect<s32> getRelativePosition() const core::rect<s32> getRelativePosition() const
{ {
return RelativeRect; return RelativeRect;
...@@ -717,8 +717,10 @@ public: ...@@ -717,8 +717,10 @@ public:
//! Returns the type of the gui element. //! Returns the type of the gui element.
/** If you wrote your own GUIElements, you need to set the type for your element as first parameter /** This is needed for the .NET wrapper but will be used
in the constructor of IGUIElement. For own (=unknown) elements, use ::EGUIET_ELEMENT as type */ later for serializing and deserializing.
If you wrote your own GUIElements, you need to set the type for your element as first parameter
in the constructor of IGUIElement. For own (=unknown) elements, simply use EGUIET_ELEMENT as type */
EGUI_ELEMENT_TYPE getType() const EGUI_ELEMENT_TYPE getType() const
{ {
return Type; return Type;
...@@ -740,8 +742,8 @@ public: ...@@ -740,8 +742,8 @@ public:
//! Returns the type name of the gui element. //! Returns the type name of the gui element.
/** This is needed for serializing elements. For serializing your own elements, override this function /** This is needed serializing elements. For serializing your own elements, override this function
and return your own type name which is created by your irr::gui::IGUIElementFactory */ and return your own type name which is created by your IGUIElementFactory */
virtual const c8* getTypeName() const virtual const c8* getTypeName() const
{ {
return GUIElementTypeNames[Type]; return GUIElementTypeNames[Type];
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment