Mercurial > mercurial > hgweb_mover2.cgi
diff include/myframe.h @ 0:7bf900d47e9e
start mover2
author | pyon@macmini |
---|---|
date | Sat, 15 Oct 2011 13:24:27 +0900 |
parents | |
children | b47bd4618c16 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/include/myframe.h Sat Oct 15 13:24:27 2011 +0900 @@ -0,0 +1,64 @@ +// Filename : myframe.h +// Last Change: 15-Oct-2011. +// + +#ifndef __myframe__ +#define __myframe__ + +#include "common.h" + +class MyFrame : public wxFrame +{ + DECLARE_EVENT_TABLE() + private: + wxImageList* m_imageList; + + protected: + wxMenuBar* m_menubarFile; + wxMenu* m_menuFile; + wxStatusBar* m_statusBar; + + wxStaticText* m_staticTextWork; + wxDirPickerCtrl* m_dirPickerWork; + wxStaticText* m_staticTextDrive; + wxComboBox* m_comboBoxDrive; + wxStaticText* m_staticTextDate; + wxDatePickerCtrl* m_datePicker; + wxStaticText* m_staticTextCcn; + wxComboBox* m_comboBoxCcn; + wxButton* m_buttonMkDir; + wxStaticText* m_staticTextDist; + wxTextCtrl* m_textCtrlDist; + + wxStaticText* m_staticTextName; + wxStaticBitmap* m_bitmapName; + wxStaticText* m_staticTextHhsno; + wxStaticBitmap* m_bitmapHHsno; + wxStaticText* m_staticTextGuess; + wxTextCtrl* m_textCtrlGuess; + + wxListCtrl* m_listCtrlView; + wxButton* m_buttonMove; + wxButton* m_buttonDel; + wxButton* m_buttonUndo; + + public: + 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 ); + ~MyFrame(); + + void SetDir(wxCommandEvent& event); + void MakeDir(wxCommandEvent& event); + void Do(wxCommandEvent& event); + void ReadyImage(void); + void MoveImage(void); + // $B0J2<!$Dj7?$b$N(B + void OnSize(wxSizeEvent& event); + void OnMove(wxMoveEvent& event); + void TellLocation( void ); + void OnQuit(wxCommandEvent& event); + void OnOpenAppDir(wxCommandEvent& event); + void SaveConfig(wxCloseEvent& event); +}; + +#endif // __myframe__ +