Mercurial > mercurial > hgweb_mover2.cgi
view include/myframe.h @ 23:a2dd16b70c08 v2.2dev
apply vivid-coloured image for selected item.
author | pyon@macmini |
---|---|
date | Tue, 01 Nov 2011 22:26:41 +0900 |
parents | c540dc3eabe5 |
children | 5a934c8e1b95 |
line wrap: on
line source
// Filename : myframe.h // Last Change: 01-Nov-2011. // #ifndef __myframe__ #define __myframe__ #include "common.h" #include "cache.h" WX_DECLARE_HASH_MAP( wxString, CacheItem*, wxStringHash, wxStringEqual, CacheHash ); class MyFrame : public wxFrame { DECLARE_EVENT_TABLE() private: wxImageList* m_imageList; wxArrayString m_undo; wxTimer m_timer; CacheHash CH; 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; wxButton* m_buttonNextThu; 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; wxListCtrl* m_listCtrlDir; wxButton* m_buttonDetect; 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 OnParam(wxCommandEvent& event); void OnNextThursday(wxCommandEvent& event); void OnMakeDir(wxCommandEvent& event); void OnItemSelected(wxListEvent& event); void OnItemDeselected(wxListEvent& event); void ViewLarge(wxListEvent& event); void OnDetect(wxCommandEvent& event); void OnMove(wxCommandEvent& event); void OnMoveAndDetect(wxCommandEvent& event); void OnDelete(wxCommandEvent& event); void OnUndo(wxCommandEvent& event); void UpdateListImage(void); void UpdateCache(void); void OnOpenHhsDir(wxListEvent& event); // $B0J2<!$Dj7?$b$N(B void OnTimer(wxTimerEvent& event); void OnIdle(wxIdleEvent& event); void OnWinSize(wxSizeEvent& event); void OnWinMove(wxMoveEvent& event); void TellLocation( void ); void OnOpenAppDir(wxCommandEvent& event); void OnQuit(wxCommandEvent& event); void SaveConfig(wxCloseEvent& event); }; #endif // __myframe__