Mercurial > mercurial > hgweb_mover2.cgi
comparison include/myframe.h @ 0:7bf900d47e9e
start mover2
| author | pyon@macmini |
|---|---|
| date | Sat, 15 Oct 2011 13:24:27 +0900 |
| parents | |
| children | b47bd4618c16 |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:7bf900d47e9e |
|---|---|
| 1 // Filename : myframe.h | |
| 2 // Last Change: 15-Oct-2011. | |
| 3 // | |
| 4 | |
| 5 #ifndef __myframe__ | |
| 6 #define __myframe__ | |
| 7 | |
| 8 #include "common.h" | |
| 9 | |
| 10 class MyFrame : public wxFrame | |
| 11 { | |
| 12 DECLARE_EVENT_TABLE() | |
| 13 private: | |
| 14 wxImageList* m_imageList; | |
| 15 | |
| 16 protected: | |
| 17 wxMenuBar* m_menubarFile; | |
| 18 wxMenu* m_menuFile; | |
| 19 wxStatusBar* m_statusBar; | |
| 20 | |
| 21 wxStaticText* m_staticTextWork; | |
| 22 wxDirPickerCtrl* m_dirPickerWork; | |
| 23 wxStaticText* m_staticTextDrive; | |
| 24 wxComboBox* m_comboBoxDrive; | |
| 25 wxStaticText* m_staticTextDate; | |
| 26 wxDatePickerCtrl* m_datePicker; | |
| 27 wxStaticText* m_staticTextCcn; | |
| 28 wxComboBox* m_comboBoxCcn; | |
| 29 wxButton* m_buttonMkDir; | |
| 30 wxStaticText* m_staticTextDist; | |
| 31 wxTextCtrl* m_textCtrlDist; | |
| 32 | |
| 33 wxStaticText* m_staticTextName; | |
| 34 wxStaticBitmap* m_bitmapName; | |
| 35 wxStaticText* m_staticTextHhsno; | |
| 36 wxStaticBitmap* m_bitmapHHsno; | |
| 37 wxStaticText* m_staticTextGuess; | |
| 38 wxTextCtrl* m_textCtrlGuess; | |
| 39 | |
| 40 wxListCtrl* m_listCtrlView; | |
| 41 wxButton* m_buttonMove; | |
| 42 wxButton* m_buttonDel; | |
| 43 wxButton* m_buttonUndo; | |
| 44 | |
| 45 public: | |
| 46 MyFrame( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxEmptyString, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxDEFAULT_FRAME_STYLE|wxTAB_TRAVERSAL ); | |
| 47 ~MyFrame(); | |
| 48 | |
| 49 void SetDir(wxCommandEvent& event); | |
| 50 void MakeDir(wxCommandEvent& event); | |
| 51 void Do(wxCommandEvent& event); | |
| 52 void ReadyImage(void); | |
| 53 void MoveImage(void); | |
| 54 // $B0J2<!$Dj7?$b$N(B | |
| 55 void OnSize(wxSizeEvent& event); | |
| 56 void OnMove(wxMoveEvent& event); | |
| 57 void TellLocation( void ); | |
| 58 void OnQuit(wxCommandEvent& event); | |
| 59 void OnOpenAppDir(wxCommandEvent& event); | |
| 60 void SaveConfig(wxCloseEvent& event); | |
| 61 }; | |
| 62 | |
| 63 #endif // __myframe__ | |
| 64 |
