mirror of
https://github.com/isledecomp/LEGOIslandRebuilder.git
synced 2024-11-30 10:57:49 -05:00
22 lines
397 B
C
22 lines
397 B
C
|
#pragma once
|
||
|
#include "..\customitem.h"
|
||
|
#include "CustomTreeCtrl.h"
|
||
|
|
||
|
class CTreeItem :
|
||
|
public ICustomItem
|
||
|
{
|
||
|
public:
|
||
|
CTreeItem(void);
|
||
|
~CTreeItem(void);
|
||
|
|
||
|
virtual CPropertyGrid::EEditMode GetEditMode();
|
||
|
virtual void DrawItem(CDC& dc, CRect rc, bool focused);
|
||
|
virtual void ShowDropDown(CRect rc);
|
||
|
|
||
|
void SetValue(string value);
|
||
|
|
||
|
protected:
|
||
|
string m_value;
|
||
|
CCustomTreeCtrl* m_tree;
|
||
|
};
|