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

class T2CtrlPalette : public CFrameWnd {
    DECLARE_MESSAGE_MAP()

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;

protected:
    afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
    afx_msg BOOL OnQueryNewPalette();
    afx_msg BOOL OnEraseBkgnd(CDC* pDC);
    afx_msg void OnClose();

    static int sUnknown;
};