-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathExportToImg.h
59 lines (48 loc) · 1.24 KB
/
ExportToImg.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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
#ifndef EXPORTTOIMG_H
#define EXPORTTOIMG_H
//(*Headers(ExportToImg)
#include <wx/stattext.h>
#include <wx/textctrl.h>
#include <wx/checkbox.h>
#include <wx/panel.h>
#include <wx/button.h>
#include <wx/dialog.h>
//*)
class ExportToImg: public wxDialog
{
public:
ExportToImg(wxWindow* parent,wxWindowID id=wxID_ANY,const wxPoint& pos=wxDefaultPosition,const wxSize& size=wxDefaultSize);
virtual ~ExportToImg();
private:
//(*Declarations(ExportToImg)
wxButton* Button1;
wxPanel* Panel1;
wxStaticText* StaticText1;
wxCheckBox* m_cbReverse;
wxButton* Button2;
wxTextCtrl* TextCtrl_FilePrefix;
//*)
protected:
//(*Identifiers(ExportToImg)
static const long ID_STATICTEXT1;
static const long ID_BUTTON1;
static const long ID_BUTTON2;
static const long ID_TEXTCTRL1;
static const long ID_CHECKBOX1;
static const long ID_PANEL1;
//*)
public:
//(*Handlers(ExportToImg)
void OnButton1Click(wxCommandEvent& event);
void OnButton2Click(wxCommandEvent& event);
//*)
wxString nameprefix;
wxString GetNamePrefix(){return nameprefix;}
void SetNamePrix(const wxString namepre)
{
TextCtrl_FilePrefix->SetValue(namepre);
}
bool IsReverse(){return m_cbReverse->IsChecked();}
DECLARE_EVENT_TABLE()
};
#endif