From 959831f4ef5a3e797f576c3de08cd65032c997ad Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Sun, 13 Jan 2013 18:54:10 +1000 Subject: Remove damned ancient DOS line endings from Irrlicht. Hopefully I did not go overboard. --- .../tools/GUIEditor/CGUIAttributeEditor.h | 108 ++++++++++----------- 1 file changed, 54 insertions(+), 54 deletions(-) (limited to 'libraries/irrlicht-1.8/tools/GUIEditor/CGUIAttributeEditor.h') diff --git a/libraries/irrlicht-1.8/tools/GUIEditor/CGUIAttributeEditor.h b/libraries/irrlicht-1.8/tools/GUIEditor/CGUIAttributeEditor.h index 0bcdab5..551fdfd 100644 --- a/libraries/irrlicht-1.8/tools/GUIEditor/CGUIAttributeEditor.h +++ b/libraries/irrlicht-1.8/tools/GUIEditor/CGUIAttributeEditor.h @@ -1,54 +1,54 @@ -#ifndef __C_GUI_ATTRIBUTE_EDITOR_H_INCLUDED__ -#define __C_GUI_ATTRIBUTE_EDITOR_H_INCLUDED__ - -#include "IGUIElement.h" -#include "CGUIPanel.h" -#include "irrArray.h" -#include "IAttributes.h" -#include "EGUIEditTypes.h" - -namespace irr -{ -namespace gui -{ - - class CGUIAttribute; - - - class CGUIAttributeEditor : public CGUIPanel - { - public: - - //! constructor - CGUIAttributeEditor(IGUIEnvironment* environment, s32 id, IGUIElement *parent=0); - - //! destructor - ~CGUIAttributeEditor(); - - // gets the current attributes list - virtual io::IAttributes* getAttribs(); - - // update the attribute list after making a change - void refreshAttribs(); - - // save the attributes - void updateAttribs(); - - //! Returns the type name of the gui element. - virtual const c8* getTypeName() const - { - return GUIEditElementTypeNames[EGUIEDIT_ATTRIBUTEEDITOR]; - } - - private: - - core::array AttribList; // attributes editing controls - io::IAttributes* Attribs; // current attributes - CGUIPanel* Panel; - }; - -} // end namespace gui -} // end namespace irr - -#endif // __C_GUI_ATTRIBUTE_EDITOR_H_INCLUDED__ - +#ifndef __C_GUI_ATTRIBUTE_EDITOR_H_INCLUDED__ +#define __C_GUI_ATTRIBUTE_EDITOR_H_INCLUDED__ + +#include "IGUIElement.h" +#include "CGUIPanel.h" +#include "irrArray.h" +#include "IAttributes.h" +#include "EGUIEditTypes.h" + +namespace irr +{ +namespace gui +{ + + class CGUIAttribute; + + + class CGUIAttributeEditor : public CGUIPanel + { + public: + + //! constructor + CGUIAttributeEditor(IGUIEnvironment* environment, s32 id, IGUIElement *parent=0); + + //! destructor + ~CGUIAttributeEditor(); + + // gets the current attributes list + virtual io::IAttributes* getAttribs(); + + // update the attribute list after making a change + void refreshAttribs(); + + // save the attributes + void updateAttribs(); + + //! Returns the type name of the gui element. + virtual const c8* getTypeName() const + { + return GUIEditElementTypeNames[EGUIEDIT_ATTRIBUTEEDITOR]; + } + + private: + + core::array AttribList; // attributes editing controls + io::IAttributes* Attribs; // current attributes + CGUIPanel* Panel; + }; + +} // end namespace gui +} // end namespace irr + +#endif // __C_GUI_ATTRIBUTE_EDITOR_H_INCLUDED__ + -- cgit v1.1