1
0

Merging r5975 through r6036 from trunk to ogl-es branch.

GLES drivers adapted, but only did make compile-tests.


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@6038 dfc29bdd-3216-0410-991c-e03cc46cb475
This commit is contained in:
cutealien
2020-01-03 19:05:16 +00:00
commit 2ae2a551a6
2007 changed files with 635880 additions and 0 deletions

View File

@@ -0,0 +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<CGUIAttribute*> AttribList; // attributes editing controls
io::IAttributes* Attribs; // current attributes
CGUIPanel* Panel;
};
} // end namespace gui
} // end namespace irr
#endif // __C_GUI_ATTRIBUTE_EDITOR_H_INCLUDED__