-
Notifications
You must be signed in to change notification settings - Fork 17
/
MpdDialog.h
43 lines (35 loc) · 1004 Bytes
/
MpdDialog.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
42
43
#ifndef __MPDDIALOG_H__
#define __MPDDIALOG_H__
class LDLMainModel;
class ModelWindow;
class TCAlert;
class LDrawModelViewer;
class CUIWindowResizer;
#include <CUI/CUIDialog.h>
class MpdDialog: public CUIDialog
{
public:
MpdDialog(HINSTANCE hInstance);
void show(ModelWindow *modelWindow);
protected:
virtual LRESULT doClose(void);
virtual ~MpdDialog(void);
virtual void dealloc(void);
virtual BOOL doInitDialog(HWND /*hKbControl*/);
virtual LRESULT doSize(WPARAM sizeType, int newWidth, int newHeight);
virtual LRESULT doCommand(int notifyCode, int commandId,
HWND control);
virtual void doOK(void);
virtual void doCancel(void);
void modelAlertCallback(TCAlert *alert);
void setModel(LDLMainModel *model);
void setModelWindow(ModelWindow *modelWindow);
void updateData(void);
void showMpdModel(int index);
LDrawModelViewer *getModelViewer(void);
ModelWindow *m_modelWindow;
LDLMainModel *m_model;
CUIWindowResizer *m_resizer;
bool m_okPressed;
};
#endif // __MPDDIALOG_H__