1 #ifndef VOGLEDITOR_STATETREETEXTUREITEM_H
2 #define VOGLEDITOR_STATETREETEXTUREITEM_H
4 #include "vogleditor_statetreeitem.h"
6 class vogl_texture_state;
8 class vogleditor_stateTreeTextureItem : public vogleditor_stateTreeItem
11 vogleditor_stateTreeTextureItem(QString name, QString value, vogleditor_stateTreeItem* parent, vogl_texture_state* pState, const vogl_context_info& info);
12 virtual ~vogleditor_stateTreeTextureItem()
15 m_pDiffBaseState = NULL;
18 virtual state_tree_type getStateType() const { return vogleditor_stateTreeItem::cTEXTURE; }
19 vogl_texture_state* get_texture_state() const { return m_pTexture; }
21 void set_diff_base_state(const vogl_texture_state* pBaseState);
24 vogl_texture_state* m_pTexture;
25 const vogl_texture_state* m_pDiffBaseState;
26 vogl::vector<vogleditor_stateTreeStateVecDiffableItem*> m_diffableItems;
28 #endif // VOGLEDITOR_STATETREETEXTUREITEM_H