Mercurial > mercurial > hgweb_mover2.cgi
comparison include/myframe.h @ 26:5a934c8e1b95 v2.2dev
implement shorcutkeys & file count
| author | pyon@macmini |
|---|---|
| date | Thu, 03 Nov 2011 15:48:26 +0900 |
| parents | a2dd16b70c08 |
| children | d21de4693652 |
comparison
equal
deleted
inserted
replaced
| 25:b3b3b8e97b54 | 26:5a934c8e1b95 |
|---|---|
| 1 // Filename : myframe.h | 1 // Filename : myframe.h |
| 2 // Last Change: 01-Nov-2011. | 2 // Last Change: 03-Nov-2011. |
| 3 // | 3 // |
| 4 | 4 |
| 5 #ifndef __myframe__ | 5 #ifndef __myframe__ |
| 6 #define __myframe__ | 6 #define __myframe__ |
| 7 | 7 |
| 14 DECLARE_EVENT_TABLE() | 14 DECLARE_EVENT_TABLE() |
| 15 private: | 15 private: |
| 16 wxImageList* m_imageList; | 16 wxImageList* m_imageList; |
| 17 wxArrayString m_undo; | 17 wxArrayString m_undo; |
| 18 wxTimer m_timer; | 18 wxTimer m_timer; |
| 19 wxArrayString m_hhsList; | |
| 19 CacheHash CH; | 20 CacheHash CH; |
| 20 | 21 |
| 21 protected: | 22 protected: |
| 22 wxMenuBar* m_menubarFile; | 23 wxMenuBar* m_menubarFile; |
| 23 wxMenu* m_menuFile; | 24 wxMenu* m_menuFile; |
| 43 wxStaticText* m_staticTextGuess; | 44 wxStaticText* m_staticTextGuess; |
| 44 wxTextCtrl* m_textCtrlGuess; | 45 wxTextCtrl* m_textCtrlGuess; |
| 45 | 46 |
| 46 wxListCtrl* m_listCtrlView; | 47 wxListCtrl* m_listCtrlView; |
| 47 | 48 |
| 48 wxListCtrl* m_listCtrlDir; | 49 wxListCtrl* m_listCtrlHhsDir; |
| 49 wxButton* m_buttonDetect; | 50 wxButton* m_buttonDetect; |
| 50 wxButton* m_buttonMove; | 51 wxButton* m_buttonMove; |
| 51 wxButton* m_buttonDel; | 52 wxButton* m_buttonDel; |
| 52 wxButton* m_buttonUndo; | 53 wxButton* m_buttonUndo; |
| 53 | 54 |
| 61 void OnItemSelected(wxListEvent& event); | 62 void OnItemSelected(wxListEvent& event); |
| 62 void OnItemDeselected(wxListEvent& event); | 63 void OnItemDeselected(wxListEvent& event); |
| 63 void ViewLarge(wxListEvent& event); | 64 void ViewLarge(wxListEvent& event); |
| 64 void OnDetect(wxCommandEvent& event); | 65 void OnDetect(wxCommandEvent& event); |
| 65 void OnMove(wxCommandEvent& event); | 66 void OnMove(wxCommandEvent& event); |
| 66 void OnMoveAndDetect(wxCommandEvent& event); | |
| 67 void OnDelete(wxCommandEvent& event); | 67 void OnDelete(wxCommandEvent& event); |
| 68 void OnUndo(wxCommandEvent& event); | 68 void OnUndo(wxCommandEvent& event); |
| 69 void UpdateListImage(void); | 69 void UpdateListImage(void); |
| 70 void UpdateCache(void); | 70 void UpdateCache(void); |
| 71 void ListHhsDir(void); | |
| 72 void MoveImages(void); | |
| 71 void OnOpenHhsDir(wxListEvent& event); | 73 void OnOpenHhsDir(wxListEvent& event); |
| 72 // $B0J2<!$Dj7?$b$N(B | 74 // $B0J2<!$Dj7?$b$N(B |
| 73 void OnTimer(wxTimerEvent& event); | 75 void OnTimer(wxTimerEvent& event); |
| 76 void OnChar(wxKeyEvent& event); | |
| 77 void F5_Shortcut(void); | |
| 78 void F7_Shortcut(void); | |
| 74 void OnIdle(wxIdleEvent& event); | 79 void OnIdle(wxIdleEvent& event); |
| 75 void OnWinSize(wxSizeEvent& event); | 80 void OnWinSize(wxSizeEvent& event); |
| 76 void OnWinMove(wxMoveEvent& event); | 81 void OnWinMove(wxMoveEvent& event); |
| 77 void TellLocation( void ); | 82 void TellLocation( void ); |
| 78 void OnOpenAppDir(wxCommandEvent& event); | 83 void OnOpenAppDir(wxCommandEvent& event); |
