diff options
Diffstat (limited to 'src/T2DLL/T2DlgItemText.h')
-rw-r--r-- | src/T2DLL/T2DlgItemText.h | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/src/T2DLL/T2DlgItemText.h b/src/T2DLL/T2DlgItemText.h index 83fa1f6..687e5a8 100644 --- a/src/T2DLL/T2DlgItemText.h +++ b/src/T2DLL/T2DlgItemText.h @@ -1,21 +1,23 @@ #pragma once #include "common.h" +#include "T2DlgItem.h" -class T2DlgItemText { +class AFX_EXT_CLASS T2DlgItemText : public T2DlgItem { public: - T2DlgItemText(T2TowerDoc*, T2ImageObj*, CPalette*); - void SetTextColor(unsigned long); + T2DlgItemText(T2TowerDoc* inDoc, T2ImageObj* inImageObj, CPalette* inPalette); virtual void GetDescriptor(CString&) const; virtual void SetDescriptor(const CString&); + void SetTextColor(COLORREF); + void InfoDialogMessage(CString&, long); + protected: - virtual int OnT2DlgItemEraseBkgnd(CDC*); + virtual BOOL OnT2DlgItemEraseBkgnd(CDC*); + virtual void OnT2Timer(UINT); char GetJustification() const; void GetContentText(CString&) const; -public: - void InfoDialogMessage(CString&, long); -protected: - virtual void OnT2Timer(unsigned int); -public: - virtual ~T2DlgItemText() {} + BOOL mHasTextColor; + COLORREF mTextColor; + CString mPreviousString; + UINT mTimerID; }; |