summaryrefslogtreecommitdiff
path: root/src/T2MsgWindow.h
diff options
context:
space:
mode:
authorAsh Wolf <ninji@wuffs.org>2023-07-05 19:04:06 +0100
committerAsh Wolf <ninji@wuffs.org>2023-07-05 19:04:06 +0100
commit5e61c1280c15ab9969b94cd360cafd4a11b2dd30 (patch)
tree1fdb60d771c4351b5aa5dcf1a43376c0558625a4 /src/T2MsgWindow.h
parentc2efba6907fab934a04959b9bb644cf7141cc955 (diff)
downloadt2win-5e61c1280c15ab9969b94cd360cafd4a11b2dd30.tar.gz
t2win-5e61c1280c15ab9969b94cd360cafd4a11b2dd30.zip
matched T2.exe
Diffstat (limited to '')
-rw-r--r--src/T2MsgWindow.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/T2MsgWindow.h b/src/T2MsgWindow.h
index fcaf1ff..0a703d6 100644
--- a/src/T2MsgWindow.h
+++ b/src/T2MsgWindow.h
@@ -1,3 +1,33 @@
#pragma once
#include "common.h"
+class T2MsgWindow : public CFrameWnd {
+ DECLARE_DYNCREATE(T2MsgWindow)
+ DECLARE_MESSAGE_MAP()
+
+public:
+ T2MsgWindow();
+ virtual ~T2MsgWindow();
+ void SetDocument(T2TowerDoc *inDoc);
+ virtual BOOL PreTranslateMessage(MSG *pMsg);
+
+protected:
+ afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
+ afx_msg BOOL OnQueryNewPalette();
+ afx_msg BOOL OnEraseBkgnd(CDC *pDC);
+ virtual BOOL OnNotify(WPARAM wParam, LPARAM lParam, LRESULT *pResult);
+ afx_msg void OnClose();
+
+protected:
+ CString mWndClass;
+ T2MWControl *mClockControl;
+ T2MWControl *mCalendarControl;
+ T2MWControl *mFundsControl;
+ T2MWControl *mPopulationControl;
+ T2MWControl *mMessageControl;
+ T2DlgItemAnimation *mGradeControl;
+ T2TowerDoc *mDocument;
+ T2WorldDef *mWorldDef;
+ CToolTipCtrl mToolTip;
+ BOOL mIsSetUp;
+};