diff include/custom.h @ 1:f40a65687079

small fix.
author pyon@macmini
date Mon, 10 Jun 2019 05:56:36 +0900
parents 2f5584f0d127
children
line wrap: on
line diff
--- a/include/custom.h	Sat Jun 08 16:21:40 2019 +0900
+++ b/include/custom.h	Mon Jun 10 05:56:36 2019 +0900
@@ -1,5 +1,5 @@
 // Filename   : custom.h
-// Last Change: 2019-06-07 ‹à 16:39:35.
+// Last Change: 2019-06-09 Sun 16:57:24.
 //
 #pragma once
 
@@ -9,7 +9,10 @@
 #include <wx/bitmap.h>
 #include <wx/image.h>
 #include <wx/spinctrl.h>
-#include "wx/dcclient.h"
+#include <wx/listctrl.h>
+#include <wx/dcclient.h>
+
+#include "util.h"
 
 class LookWindow : public wxWindow
 {
@@ -56,3 +59,21 @@
 		wxRect GetRealMask2Rect( void );
 };
 
+class ListThumbnail : public wxListView
+{
+    DECLARE_EVENT_TABLE()
+	private:
+        FileList    m_filelist;
+        wxImageList m_imageListZ1;
+        wxImageList m_imageListZ2;
+        wxImageList m_imageListZ3;
+
+    public:
+        ListThumbnail( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxLC_ICON );
+        ~ListThumbnail();
+
+        int Reload( void );
+        void SetDirectory( wxString dir ) { m_filelist.SetDirectory( dir ); };
+        //void OnDClick( wx);
+};
+