summaryrefslogtreecommitdiff
path: root/src/T2MsgWindow.h
blob: 81c60e01de26b6afee0aa05488ddc7a17eb47a27 (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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#pragma once
#include "common.h"

class T2MsgWindow : public CFrameWnd {
    DECLARE_DYNCREATE(T2MsgWindow)

public:
    T2MsgWindow();
    virtual ~T2MsgWindow();
    void SetDocument(T2TowerDoc *inDoc);

    CString mWndClass;
    T2MWControl *mClockControl;
    T2MWControl *mCalendarControl;
    T2MWControl *mFundsControl;
    T2MWControl *mPopulationControl;
    T2MWControl *mMessageControl;
    T2DlgItemAnimation *mGradeControl;
    T2TowerDoc *mDocument;
    T2WorldDef *mWorldDef;
    CToolTipCtrl mToolTip;
    BOOL mIsSetUp;

    //{{AFX_VIRTUAL(T2MsgWindow)
    public:
    virtual BOOL PreTranslateMessage(MSG *pMsg);
    protected:
    virtual BOOL OnNotify(WPARAM wParam, LPARAM lParam, LRESULT *pResult);
    //}}AFX_VIRTUAL

protected:
    //{{AFX_MSG(T2MsgWindow)
    afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
    afx_msg BOOL OnQueryNewPalette();
    afx_msg BOOL OnEraseBkgnd(CDC *pDC);
    afx_msg void OnClose();
    //}}AFX_MSG
    DECLARE_MESSAGE_MAP()
};