summaryrefslogtreecommitdiff
path: root/src/T2DLL/SpeedDlg.h
blob: 751fdc21b3be93aaea721e1b202723a7b55548e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#pragma once
#include "common.h"
#include "T2Dialog.h"

class SpeedDlg : public T2Dialog {
public:
    SpeedDlg();
    virtual ~SpeedDlg();
    void Setup(T2TowerDoc *inDoc, HINSTANCE inInstance, CWnd *inParentWnd, const POINT &inPt, T2ImageObj *inImageObj);
    void Revert();
    void Save();

protected:
    virtual BOOL OnT2DialogCommand(WPARAM inWParam, LPARAM inLParam);
    virtual void OnT2Create();

    T2TowerDoc *mDocument;
    int mCurrentSpeed;
    int mCurrentIndex;
};