summaryrefslogtreecommitdiff
path: root/src/T2CtrlPalette.h
blob: a400a3a14ecbb4435f7397ec90b26bffef613c26 (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
40
41
#pragma once
#include "common.h"

class T2CtrlPalette : public CFrameWnd {
public:
    T2CtrlPalette();
    virtual ~T2CtrlPalette();

    virtual void SetDocument(T2TowerDoc *inDoc);
    virtual void vf100(int inViewMode);
    virtual void vf104(int inViewMode);
    virtual void vf108(int what) {}

    T2MWControl *mPauseControl;
    T2MWControl *mInViewControl;
    T2MWControl *mOutViewControl;
    T2MWControl *mMaintControl;
    T2MWControl *mEvalControl;
    T2MWControl *mTransControl;
    T2MWControl *mPriceControl;
    T2MWControl *mSliderControl;
    CString mE0;
    CString mE4;
    T2TowerDoc *mDocument;
    T2WorldDef *mWorldDef;
    BOOL mIsSetUp;

    //{{AFX_VIRTUAL(T2CtrlPalette)
    //}}AFX_VIRTUAL

protected:
    //{{AFX_MSG(T2CtrlPalette)
    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()

    static int sUnknown;
};