Mercurial > mercurial > hgweb_searcher03.cgi
comparison include/mask.h @ 0:0c0701a935f8
Start Development.
| author | pyon@macmini |
|---|---|
| date | Sun, 21 Jul 2013 16:07:19 +0900 |
| parents | |
| children | 7b6dab24f4b8 |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:0c0701a935f8 |
|---|---|
| 1 // Filename : mask.h | |
| 2 // Last Change: 21-Jul-2013. | |
| 3 // | |
| 4 | |
| 5 #ifndef __MASK_H__ | |
| 6 #define __MASK_H__ | |
| 7 | |
| 8 #include "common.h" | |
| 9 #include "wx/config.h" | |
| 10 #include "wx/fileconf.h" | |
| 11 | |
| 12 class MaskDialog : public wxDialog | |
| 13 { | |
| 14 DECLARE_EVENT_TABLE() | |
| 15 private: | |
| 16 | |
| 17 protected: | |
| 18 wxStaticText* m_staticTextDummy0; | |
| 19 wxStaticText* m_staticTextX; | |
| 20 wxStaticText* m_staticTextY; | |
| 21 wxStaticText* m_staticTextW; | |
| 22 wxStaticText* m_staticTextH; | |
| 23 | |
| 24 wxStaticText* m_staticTextMask1; | |
| 25 wxTextCtrl* m_textCtrlM1x; | |
| 26 wxTextCtrl* m_textCtrlM1y; | |
| 27 wxTextCtrl* m_textCtrlM1w; | |
| 28 wxTextCtrl* m_textCtrlM1h; | |
| 29 | |
| 30 wxStaticText* m_staticTextMask2; | |
| 31 wxTextCtrl* m_textCtrlM2x; | |
| 32 wxTextCtrl* m_textCtrlM2y; | |
| 33 wxTextCtrl* m_textCtrlM2w; | |
| 34 wxTextCtrl* m_textCtrlM2h; | |
| 35 | |
| 36 wxStaticText* m_staticTextMask3; | |
| 37 wxTextCtrl* m_textCtrlM3x; | |
| 38 wxTextCtrl* m_textCtrlM3y; | |
| 39 wxTextCtrl* m_textCtrlM3w; | |
| 40 wxTextCtrl* m_textCtrlM3h; | |
| 41 | |
| 42 wxButton* m_buttonCancel; | |
| 43 wxButton* m_buttonSet; | |
| 44 | |
| 45 wxFileConfig *config; | |
| 46 wxString conf_file; | |
| 47 | |
| 48 public: | |
| 49 | |
| 50 MaskDialog( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ); | |
| 51 ~MaskDialog(); | |
| 52 | |
| 53 void GetParams( void ); | |
| 54 void SetParams( wxCommandEvent& WXUNUSED(event) ); | |
| 55 }; | |
| 56 | |
| 57 enum { | |
| 58 ID_SETPARAM = wxID_HIGHEST + 70, | |
| 59 }; | |
| 60 | |
| 61 #endif //__MASK_H__ | |
| 62 |
