annotate include/mainframe.h @ 0:2f5584f0d127

first commit.
author pyon@macmini
date Sat, 08 Jun 2019 16:21:40 +0900
parents
children f40a65687079
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
1 // Filename : mainframe.h
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
2 // Last Change: 2019-06-07 Fri 22:20:40.
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
3 //
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
4 #pragma once
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
5
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
6 #include <wx/artprov.h>
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
7 #include <wx/bitmap.h>
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
8 #include <wx/button.h>
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
9 #include <wx/collpane.h>
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
10 #include <wx/colour.h>
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
11 #include <wx/combobox.h>
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
12 #include <wx/datectrl.h>
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
13 #include <wx/dateevt.h>
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
14 #include <wx/dataview.h>
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
15 #include <wx/filepicker.h>
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
16 #include <wx/font.h>
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
17 #include <wx/frame.h>
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
18 #include <wx/gbsizer.h>
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
19 #include <wx/gdicmn.h>
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
20 #include <wx/gauge.h>
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
21 #include <wx/html/htmlwin.h>
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
22 #include <wx/html/htmprint.h>
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
23 #include <wx/icon.h>
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
24 #include <wx/image.h>
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
25 #include <wx/menu.h>
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
26 #include <wx/settings.h>
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
27 #include <wx/sizer.h>
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
28 #include <wx/slider.h>
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
29 #include <wx/spinctrl.h>
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
30 #include <wx/statbmp.h>
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
31 #include <wx/statbox.h>
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
32 #include <wx/statline.h>
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
33 #include <wx/stattext.h>
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
34 #include <wx/string.h>
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
35 #include <wx/textctrl.h>
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
36 #include <wx/xrc/xmlres.h>
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
37
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
38 #include "util.h"
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
39 #include "custom.h"
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
40
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
41 class MainFrame : public wxFrame
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
42 {
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
43 DECLARE_EVENT_TABLE()
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
44 private:
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
45 FileList *m_filelist;
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
46 wxString m_testpattern = "image/testpattern.jpg";
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
47
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
48 protected:
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
49 wxMenuBar* m_menubar;
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
50 wxMenu* m_menuFile;
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
51
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
52 wxStaticText *m_staticTextSpl, *m_staticTextOpn1, *m_staticTextOpn2;
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
53 wxStaticText *m_staticTextX, *m_staticTextY, *m_staticTextW, *m_staticTextH;
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
54 LookWindow *m_lookWindow1, *m_lookWindow2, *m_lookWindow3;
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
55 wxSpinCtrl *m_spinCtrlX1, *m_spinCtrlY1, *m_spinCtrlW1, *m_spinCtrlH1;
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
56 wxSpinCtrl *m_spinCtrlX2, *m_spinCtrlY2, *m_spinCtrlW2, *m_spinCtrlH2;
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
57 wxSpinCtrl *m_spinCtrlX3, *m_spinCtrlY3, *m_spinCtrlW3, *m_spinCtrlH3;
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
58 wxSpinCtrl *m_spinCtrlX4, *m_spinCtrlY4, *m_spinCtrlW4, *m_spinCtrlH4;
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
59 wxButton *m_buttonReset1, *m_buttonReset2, *m_buttonReset3, *m_buttonReset4;
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
60
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
61 wxButton* m_buttonMerge;
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
62 wxButton* m_buttonPrint;
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
63
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
64 wxStaticText* m_staticTextDate;
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
65 wxDatePickerCtrl* m_datePicker;
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
66 wxStaticText* m_staticTextCcn;
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
67 wxComboBox* m_comboBox;
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
68 wxStaticText* m_staticTextDrive;
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
69 //wxComboBox* m_comboBoxDrive2; // check list box
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
70 wxButton* m_buttonMkdir;
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
71
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
72 wxStaticLine* m_staticline;
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
73 wxCheckBox* m_checkBox;
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
74 wxButton* m_button30; // ?
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
75 wxButton* m_buttonFMove;
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
76
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
77 wxStaticText* m_staticTextNo;
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
78 wxStaticBitmap* m_bitmapNo;
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
79 wxTextCtrl* m_textCtrlNo;
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
80
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
81 wxStaticText* m_staticTextName;
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
82 wxStaticBitmap* m_bitmapName;
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
83 wxTextCtrl* m_textCtrlName;
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
84
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
85 wxGauge* m_gauge;
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
86 wxButton* m_buttonMove;
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
87
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
88 wxDataViewListCtrl* m_dataViewListCtrl;
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
89 wxDataViewColumn* m_dataViewListColumnNo;
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
90 wxDataViewColumn* m_dataViewListColumnHno;
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
91 wxDataViewColumn* m_dataViewListColumnName;
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
92 wxDataViewColumn* m_dataViewListColumnN;
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
93 wxDataViewColumn* m_dataViewListColumnDrv1;
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
94 wxDataViewColumn* m_dataViewListColumnDrv2;
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
95 wxDataViewColumn* m_dataViewListColumnDrv3;
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
96 wxDataViewColumn* m_dataViewListColumnEtc;
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
97
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
98 wxButton* m_buttonWork;
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
99 wxButton* m_buttonScan;
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
100
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
101 wxStaticText* m_staticTextWork;
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
102 wxDirPickerCtrl* m_dirPicker;
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
103 wxButton* m_buttonSelectAll;
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
104 wxButton* m_buttonDel;
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
105 wxSlider* m_slider;
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
106 wxButton* m_buttonUpdate;
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
107 //* m_customControl;
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
108
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
109 wxCollapsiblePane* m_collapsiblePane;
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
110 wxTextCtrl* m_textCtrlMsg;
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
111
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
112 public:
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
113 MainFrame( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxEmptyString, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 800,600 ), long style = wxDEFAULT_FRAME_STYLE|wxTAB_TRAVERSAL );
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
114 ~MainFrame();
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
115
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
116 void OnReset1( wxCommandEvent& event );
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
117 void OnReset2( wxCommandEvent& event );
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
118 void OnReset3( wxCommandEvent& event );
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
119 void OnReset4( wxCommandEvent& event );
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
120
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
121 void OnSpinX1( wxSpinEvent& event );
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
122 void OnSpinX2( wxSpinEvent& event );
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
123 void OnSpinX3( wxSpinEvent& event );
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
124 void OnSpinX4( wxSpinEvent& event );
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
125
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
126 void OnSpinY1( wxSpinEvent& event );
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
127 void OnSpinY2( wxSpinEvent& event );
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
128 void OnSpinY3( wxSpinEvent& event );
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
129 void OnSpinY4( wxSpinEvent& event );
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
130
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
131 void OnSpinW1( wxSpinEvent& event );
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
132 void OnSpinW2( wxSpinEvent& event );
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
133 void OnSpinW3( wxSpinEvent& event );
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
134 void OnSpinW4( wxSpinEvent& event );
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
135
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
136 void OnSpinH1( wxSpinEvent& event );
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
137 void OnSpinH2( wxSpinEvent& event );
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
138 void OnSpinH3( wxSpinEvent& event );
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
139 void OnSpinH4( wxSpinEvent& event );
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
140
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
141 void OnMakeDir( wxCommandEvent& event );
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
142 void OnPrint( wxCommandEvent& event );
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
143 void OnMove( wxCommandEvent& event );
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
144
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
145 void OnClose( wxCloseEvent& event );
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
146
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
147 void CreateControls( void );
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
148 void SetCanvas( void );
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
149 void LookMarksheet( wxString file );
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
150 void DoMask( wxString file, wxRect rect );
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
151 };
2f5584f0d127 first commit.
pyon@macmini
parents:
diff changeset
152