blob: c98c33125ea44771a5de29f8472ff8c4c707f26f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#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
|