#ifndef T2DLL_T2DLGITEMTEXT_H #define T2DLL_T2DLGITEMTEXT_H #include "../common.h" #include "T2DlgItem.h" class AFX_CLASS_EXPORT T2DlgItemText : public T2DlgItem { public: 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 BOOL OnT2DlgItemEraseBkgnd(CDC*); virtual void OnT2Timer(UINT); char GetJustification() const; void GetContentText(CString&) const; BOOL mHasTextColor; COLORREF mTextColor; CString mPreviousString; UINT mTimerID; }; #endif