forked from tcobbs/ldview
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ExportOptionsDialog.h
41 lines (33 loc) · 1.01 KB
/
ExportOptionsDialog.h
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
38
39
40
41
#ifndef __ExportOptionsDialog_H__
#define __ExportOptionsDialog_H__
#include <CUI/CUIDialog.h>
#include <LDExporter/LDExporter.h>
#include <CommCtrl.h>
class CUIWindowResizer;
class OptionsCanvas;
class OptionsScroller;
class ExportOptionsDialog: public CUIDialog
{
public:
ExportOptionsDialog(HINSTANCE hInstance, LDExporter *exporter);
INT_PTR doModal(HWND hWndParent);
protected:
virtual ~ExportOptionsDialog(void);
virtual void dealloc(void);
virtual BOOL doInitDialog(HWND /*hKbControl*/);
virtual LRESULT doSize(WPARAM sizeType, int newWidth, int newHeight);
virtual LRESULT doMouseWheel(short keyFlags, short zDelta, int xPos,
int yPos);
virtual LRESULT doCommand(int notifyCode, int commandId,
HWND control);
virtual LRESULT doReset(void);
virtual void doOK(void);
void initCanvas(void);
void initCanvasOptions(void);
void canvasSizeChanged(void);
LDExporter *m_exporter;
CUIWindowResizer *m_resizer;
OptionsScroller *m_scroller;
OptionsCanvas *m_canvas;
};
#endif // __ExportOptionsDialog_H__