diff include/myframe.h @ 10:29021e6e1ebe

Implement thumbnail list in PreviewDialog.
author pyon@macmini
date Mon, 28 Apr 2014 18:14:04 +0900
parents b455f2d8aac9
children dfcf8c973219
line wrap: on
line diff
--- a/include/myframe.h	Thu Apr 24 18:31:39 2014 +0900
+++ b/include/myframe.h	Mon Apr 28 18:14:04 2014 +0900
@@ -1,5 +1,5 @@
 // Filename   : myframe.h
-// Last Change: 23-Apr-2014.
+// Last Change: 28-Apr-2014.
 //
 #ifndef __MYFRAME_H__
 #define __MYFRAME_H__
@@ -30,6 +30,7 @@
 {
 	private:
         wxArrayString m_imagefiles;
+        wxArrayString m_cachefiles;
 	
 	protected:
 		wxStaticBitmap* m_bitmap0;
@@ -49,8 +50,8 @@
         void OnDClick3( wxMouseEvent& event );
         void OnDClick4( wxMouseEvent& event );
         void OnDClick5( wxMouseEvent& event );
-        void SetImages( wxString dirpath );	
-        void Preview( int n );
+        void SetCacheImages( wxString dirpath );	
+        void DoPreview( int n );
 };
 
 ///////////////////////////////////////////////////////////////
@@ -129,17 +130,9 @@
     ID_MNABOUT,
 
     ID_LIST,
-
     ID_THUMB,
-    ID_THBMP0,
-    ID_THBMP1,
-    ID_THBMP2,
-    ID_THBMP3,
-    ID_THBMP4,
-    ID_THBMP5,
 
     ID_SEARCH,
-
     ID_KANA,
     ID_HIST,
 };