mirror of
https://github.com/isledecomp/LEGOIslandRebuilder.git
synced 2024-11-27 09:35:41 -05:00
21 lines
494 B
C++
21 lines
494 B
C++
#pragma once
|
|
#include "..\CustomItem.h"
|
|
|
|
class CGradientItem :
|
|
public ICustomItem
|
|
{
|
|
public:
|
|
CGradientItem(void);
|
|
|
|
public:
|
|
virtual CPropertyGrid::EEditMode GetEditMode();
|
|
virtual void DrawItem(CDC& dc, CRect rc, bool focused);
|
|
virtual bool OnLButtonDown(CRect rc, CPoint pt);
|
|
virtual void OnMouseMove(CRect rc, CPoint pt);
|
|
virtual void OnLButtonUp(CRect rc, CPoint pt);
|
|
|
|
protected:
|
|
COLORREF m_clrLeft;
|
|
COLORREF m_clrRight;
|
|
int m_nButtonPushed; //0: none, 1: left, 2:right
|
|
};
|