Mercurial > mercurial > hgweb_imcv.cgi
comparison myframe.h @ 4:3fadcf124bb4
add Percent.
author | pyon@macmini |
---|---|
date | Tue, 05 Jun 2018 22:09:21 +0900 |
parents | cc1f1fa544a4 |
children |
comparison
equal
deleted
inserted
replaced
3:cc1f1fa544a4 | 4:3fadcf124bb4 |
---|---|
1 // Filename : myframe.h | 1 // Filename : myframe.h |
2 // Last Change: 2016-11-27 Sun 14:19:57. | 2 // Last Change: 2018-06-05 Tue 21:56:57. |
3 // | 3 // |
4 #ifndef __MYFRAME_H__ | 4 #ifndef __MYFRAME_H__ |
5 #define __MYFRAME_H__ | 5 #define __MYFRAME_H__ |
6 | 6 |
7 #include <wx/artprov.h> | 7 #include <wx/artprov.h> |
27 /////////////////////////////////////////////////////////////////////////////// | 27 /////////////////////////////////////////////////////////////////////////////// |
28 class MyFrame : public wxFrame | 28 class MyFrame : public wxFrame |
29 { | 29 { |
30 DECLARE_EVENT_TABLE() | 30 DECLARE_EVENT_TABLE() |
31 private: | 31 private: |
32 long w, h; | 32 long w, h, s; |
33 int choice_type; | 33 int choice_type; |
34 wxString out_dir; | 34 wxString out_dir; |
35 | 35 |
36 protected: | 36 protected: |
37 wxStaticText* m_staticTextSource; | 37 wxStaticText* m_staticTextSource; |
42 wxStaticText* m_staticTextSize; | 42 wxStaticText* m_staticTextSize; |
43 wxStaticText* m_staticTextWidth; | 43 wxStaticText* m_staticTextWidth; |
44 wxTextCtrl* m_textCtrlWidth; | 44 wxTextCtrl* m_textCtrlWidth; |
45 wxStaticText* m_staticTextHeight; | 45 wxStaticText* m_staticTextHeight; |
46 wxTextCtrl* m_textCtrlHeight; | 46 wxTextCtrl* m_textCtrlHeight; |
47 wxStaticText* m_staticTextPercent; | |
48 wxTextCtrl* m_textCtrlPercent; | |
47 wxStaticText* m_staticTextOutput; | 49 wxStaticText* m_staticTextOutput; |
48 wxDirPickerCtrl* m_dirPicker; | 50 wxDirPickerCtrl* m_dirPicker; |
49 wxButton* m_buttonExec; | 51 wxButton* m_buttonExec; |
50 wxButton* m_buttonExit; | 52 wxButton* m_buttonExit; |
51 | 53 |