summaryrefslogtreecommitdiff
path: root/src/T2CtrlPalette.h
blob: 78a2806137319619c9eaee268b0d6e30aec7ece1 (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 Setup(T2TowerDoc *inDoc);
    virtual void vf100(int which);
    virtual void vf104(int which);
    virtual void vf108(int what); // SetViewModeInternally?

    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;
};