summaryrefslogtreecommitdiff
path: root/src/T2DLL/T2DlgItem.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/T2DLL/T2DlgItem.h')
-rw-r--r--src/T2DLL/T2DlgItem.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/T2DLL/T2DlgItem.h b/src/T2DLL/T2DlgItem.h
index ee0ffdf..939ae9f 100644
--- a/src/T2DLL/T2DlgItem.h
+++ b/src/T2DLL/T2DlgItem.h
@@ -2,14 +2,13 @@
#include "common.h"
#include "LBroadcaster.h"
-class T2DlgItem : public CWnd, private LBroadcaster {
+class AFX_EXT_CLASS T2DlgItem : public CWnd, public LBroadcaster {
protected:
T2DlgItem();
public:
- T2DlgItem(T2TowerDoc*, T2ImageObj*, CPalette*);
+ T2DlgItem(T2TowerDoc* inDoc, T2ImageObj* inImageObj, CPalette* inPalette);
virtual ~T2DlgItem();
-public:
- virtual BOOL Create(const char* windowName, DWORD style, const RECT& rect, CWnd* parentWnd, UINT nId);
+ virtual BOOL Create(const char* inWindowName, DWORD inStyle, const RECT& inRect, CWnd* inParentWnd, UINT inID);
virtual void SetFont(HFONT font);
virtual void CreateSubItem(void*);
virtual void SetValue(int value);
@@ -19,9 +18,9 @@ public:
protected:
virtual void PostNcDestroy();
virtual void DestroySelf();
- virtual T2BitImage* GetObjectImage(RECT&, const char*, int, int, int, int) const;
+ virtual T2BitImage* GetObjectImage(RECT& outRect, const char* inName, int inPattern = -1, int inGrade = 0, int inSpan = 0, int inOffset = 255) const;
- virtual int OnT2DlgItemEraseBkgnd(CDC*);
+ virtual BOOL OnT2DlgItemEraseBkgnd(CDC* pDC);
virtual void OnT2DlgItemLButtonDown(UINT nFlags, CPoint pt);
virtual void OnT2DlgItemLButtonUp(UINT nFlags, CPoint pt);
virtual void OnT2DlgItemRButtonDown(UINT nFlags, CPoint pt);
@@ -35,7 +34,7 @@ protected:
virtual void OnT2Timer(UINT id);
virtual void OnT2Close();
- int OnEraseBkgnd(CDC*);
+ BOOL OnEraseBkgnd(CDC* pDC);
void OnLButtonDown(UINT nFlags, CPoint pt);
void OnLButtonUp(UINT nFlags, CPoint pt);
void OnRButtonDown(UINT nFlags, CPoint pt);