diff 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
line wrap: on
line diff
--- a/include/myframe.h	Thu Nov 03 15:47:25 2011 +0900
+++ b/include/myframe.h	Thu Nov 03 15:48:26 2011 +0900
@@ -1,5 +1,5 @@
 // Filename   : myframe.h
-// Last Change: 01-Nov-2011.
+// Last Change: 03-Nov-2011.
 //
 
 #ifndef __myframe__
@@ -16,6 +16,7 @@
         wxImageList*      m_imageList;
         wxArrayString     m_undo;
         wxTimer           m_timer;
+        wxArrayString     m_hhsList;
         CacheHash         CH;
     
     protected:
@@ -45,7 +46,7 @@
 
         wxListCtrl*       m_listCtrlView;
 
-        wxListCtrl*       m_listCtrlDir;
+        wxListCtrl*       m_listCtrlHhsDir;
         wxButton*         m_buttonDetect;
         wxButton*         m_buttonMove;
         wxButton*         m_buttonDel;
@@ -63,14 +64,18 @@
         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 ListHhsDir(void);
+        void MoveImages(void);
         void OnOpenHhsDir(wxListEvent& event);
         // $B0J2<!$Dj7?$b$N(B
         void OnTimer(wxTimerEvent& event);
+        void OnChar(wxKeyEvent& event);
+        void F5_Shortcut(void);
+        void F7_Shortcut(void);
         void OnIdle(wxIdleEvent& event);
         void OnWinSize(wxSizeEvent& event);
         void OnWinMove(wxMoveEvent& event);