-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathFlip.h
150 lines (121 loc) · 4.17 KB
/
Flip.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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
///////////////////////////////////////////////////////////////////////////
// C++ code generated with wxFormBuilder (version 4.2.1-0-g80c4cb6)
// http://www.wxformbuilder.org/
//
// PLEASE DO *NOT* EDIT THIS FILE!
///////////////////////////////////////////////////////////////////////////
#pragma once
#include <wx/artprov.h>
#include <wx/xrc/xmlres.h>
#include <wx/intl.h>
#include <wx/string.h>
#include <wx/stattext.h>
#include <wx/gdicmn.h>
#include <wx/font.h>
#include <wx/colour.h>
#include <wx/settings.h>
#include <wx/filepicker.h>
#include <wx/checkbox.h>
#include <wx/textctrl.h>
#include <wx/gbsizer.h>
#include <wx/sizer.h>
#include <wx/statbox.h>
#include <wx/choice.h>
#include <wx/button.h>
#include <wx/bitmap.h>
#include <wx/image.h>
#include <wx/icon.h>
#include <wx/menu.h>
#include <wx/statusbr.h>
#include <wx/frame.h>
#include <wx/spinbutt.h>
///////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
/// Class Main
///////////////////////////////////////////////////////////////////////////////
class Main : public wxFrame
{
private:
protected:
enum
{
ID_FLP_INPUTFILE = 6000,
ID_FLP_OUTPUTFILE,
flipID_MAIN_BTN_LAUNCH,
ID_MENU_FILE_ABOUT,
ID_MENU_FILE_DATAVIEWER,
ID_MENU_FILE_TEMPLATEEDITOR,
ID_MENU_FILE_QUIT,
ID_MENU_LOG_PROGRAMLOG,
};
wxGridBagSizer* m_mainFrameSizer;
wxStaticText* m_lblInput;
wxFilePickerCtrl* m_inputFile;
wxCheckBox* m_switchDBP;
wxCheckBox* m_switchSWS;
wxStaticText* m_lblProcessPages;
wxTextCtrl* m_ProcessPages;
wxStaticText* m_lblOutput;
wxFilePickerCtrl* m_outputFile;
wxStaticText* m_lblUseTemplate;
wxButton* m_btnLaunch;
wxMenuBar* m_menuBar;
wxMenu* m_menuFile;
wxMenu* m_menuLog;
wxStatusBar* m_statusBar;
public:
wxChoice* m_useTemplate;
Main( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Flip"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 410,339 ), long style = wxDEFAULT_FRAME_STYLE|wxTAB_TRAVERSAL );
~Main();
};
///////////////////////////////////////////////////////////////////////////////
/// Class ProgramLog
///////////////////////////////////////////////////////////////////////////////
class ProgramLog : public wxFrame
{
private:
protected:
wxTextCtrl* wxtextCtrl_programLog;
public:
ProgramLog( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Flip :: Program Log"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 500,300 ), long style = wxDEFAULT_FRAME_STYLE|wxTAB_TRAVERSAL );
~ProgramLog();
};
///////////////////////////////////////////////////////////////////////////////
/// Class TemplateEditor
///////////////////////////////////////////////////////////////////////////////
class TemplateEditor : public wxFrame
{
private:
protected:
wxFilePickerCtrl* m_filePickerAddNew;
wxButton* m_btnAddTemplate;
wxChoice* m_templatesExisting;
wxButton* m_btnRemoveTemplate;
wxTextCtrl* m_templateEditor;
wxStatusBar* m_templateEditorStatusBar;
public:
TemplateEditor( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Flip :: Template Editor"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 456,300 ), long style = wxDEFAULT_FRAME_STYLE|wxTAB_TRAVERSAL );
~TemplateEditor();
};
///////////////////////////////////////////////////////////////////////////////
/// Class DataViewer
///////////////////////////////////////////////////////////////////////////////
class DataViewer : public wxFrame
{
private:
protected:
wxGridBagSizer* m_dataviewerSizer;
wxStaticText* m_lblDataBefore;
wxStaticText* m_lblDataAfter;
wxStaticText* m_lblSpinPages;
wxTextCtrl* m_dataBefore;
wxTextCtrl* m_dataAfter;
wxSpinButton* m_spinPages;
wxButton* m_btnContinueProcessing;
wxButton* m_btnFinishProcessing;
wxChoice* m_saveFormat;
wxButton* m_btnSave;
public:
DataViewer( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Flip :: Data Viewer"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 500,300 ), long style = wxDEFAULT_FRAME_STYLE|wxTAB_TRAVERSAL );
~DataViewer();
};