1
#ifndef __C_GUI_ATTRIBUTE_EDITOR_H_INCLUDED__
2
#define __C_GUI_ATTRIBUTE_EDITOR_H_INCLUDED__
4
#include "IGUIElement.h"
7
#include "IAttributes.h"
8
#include "EGUIEditTypes.h"
18
class CGUIAttributeEditor : public CGUIPanel
23
CGUIAttributeEditor(IGUIEnvironment* environment, s32 id, IGUIElement *parent=0);
26
~CGUIAttributeEditor();
28
// gets the current attributes list
29
virtual io::IAttributes* getAttribs();
31
// update the attribute list after making a change
32
void refreshAttribs();
34
// save the attributes
37
//! Returns the type name of the gui element.
38
virtual const c8* getTypeName() const
40
return GUIEditElementTypeNames[EGUIEDIT_ATTRIBUTEEDITOR];
45
core::array<CGUIAttribute*> AttribList; // attributes editing controls
46
io::IAttributes* Attribs; // current attributes
50
} // end namespace gui
51
} // end namespace irr
53
#endif // __C_GUI_ATTRIBUTE_EDITOR_H_INCLUDED__