LEGOIslandRebuilder/ext/PropertyGrid/test/RectItem.h
2022-03-31 11:38:16 -07:00

19 lines
338 B
C++

#pragma once
#include "..\CustomItem.h"
class CRectItem : public ICustomItem
{
public:
CRectItem(void);
~CRectItem(void);
virtual CPropertyGrid::EEditMode GetEditMode();
virtual void DrawItem(CDC& dc, CRect rc, bool focused);
virtual bool OnEditItem();
protected:
int m_left;
int m_top;
int m_right;
int m_bottom;
};