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

class T2MWControl : public CWnd {
    DECLARE_DYNCREATE(T2MWControl)

public:
    T2MWControl();
    virtual ~T2MWControl();

    T2TowerDoc *mDocument;
    T2WorldDef *mWorldDef;
    int mData;

    virtual void Setup(T2TowerDoc *inDoc);
    virtual void SetData(int data); // type?
    virtual int GetData() const; // type?

    //{{AFX_VIRTUAL(T2MWControl)
    //}}AFX_VIRTUAL

protected:
    //{{AFX_MSG(T2MWControl
    afx_msg BOOL OnEraseBkgnd(CDC* pDC);
    afx_msg BOOL OnQueryNewPalette();
    afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
    afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
    afx_msg void OnMouseMove(UINT nFlags, CPoint point);
    //}}AFX_MSG
    DECLARE_MESSAGE_MAP()
};