summaryrefslogtreecommitdiff
path: root/src/T2DLL/T2DlgItemText.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/T2DLL/T2DlgItemText.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/T2DLL/T2DlgItemText.h b/src/T2DLL/T2DlgItemText.h
new file mode 100644
index 0000000..83fa1f6
--- /dev/null
+++ b/src/T2DLL/T2DlgItemText.h
@@ -0,0 +1,21 @@
+#pragma once
+#include "common.h"
+
+class T2DlgItemText {
+public:
+ T2DlgItemText(T2TowerDoc*, T2ImageObj*, CPalette*);
+ void SetTextColor(unsigned long);
+ virtual void GetDescriptor(CString&) const;
+ virtual void SetDescriptor(const CString&);
+protected:
+ virtual int OnT2DlgItemEraseBkgnd(CDC*);
+ char GetJustification() const;
+ void GetContentText(CString&) const;
+public:
+ void InfoDialogMessage(CString&, long);
+protected:
+ virtual void OnT2Timer(unsigned int);
+
+public:
+ virtual ~T2DlgItemText() {}
+};