summaryrefslogtreecommitdiff
path: root/src/T2OpenSelectDlg.h
blob: e65486a5f36c73326a9ffa6cc9e9253162f3b18f (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"
#include "T2Dialog.h"

class Bitmap;

class T2OpenSelectDlg : public T2Dialog {
public:
    T2OpenSelectDlg(T2TowerDoc *inDoc);
    virtual ~T2OpenSelectDlg();

    void Setup();
    int ShowOpenSelectDialog();
    virtual void ListenToMessage(unsigned int msg, void *data);

protected:
    virtual BOOL OnT2DialogCommand(WPARAM inWParam, LPARAM inLParam);
    virtual BOOL OnT2EraseBkgnd(CDC *pDC);
    virtual void vfF4();
    virtual void vfF8(int unk1, int unk2);

    CPalette mPalette1;
    T2TowerDoc *mTowerDoc;
    CPalette mPalette2;
    T2BitImage *mImage;
    T2ImageObj *mImageObj;
    int _114;
    short *mPal1;
    short *mPal2;
    Bitmap *mBitmap;
};