comparison include/custom.h @ 1:f40a65687079

small fix.
author pyon@macmini
date Mon, 10 Jun 2019 05:56:36 +0900
parents 2f5584f0d127
children
comparison
equal deleted inserted replaced
0:2f5584f0d127 1:f40a65687079
1 // Filename : custom.h 1 // Filename : custom.h
2 // Last Change: 2019-06-07 ‹à 16:39:35. 2 // Last Change: 2019-06-09 Sun 16:57:24.
3 // 3 //
4 #pragma once 4 #pragma once
5 5
6 #include <wx/wx.h> 6 #include <wx/wx.h>
7 #include <wx/colour.h> 7 #include <wx/colour.h>
8 #include <wx/font.h> 8 #include <wx/font.h>
9 #include <wx/bitmap.h> 9 #include <wx/bitmap.h>
10 #include <wx/image.h> 10 #include <wx/image.h>
11 #include <wx/spinctrl.h> 11 #include <wx/spinctrl.h>
12 #include "wx/dcclient.h" 12 #include <wx/listctrl.h>
13 #include <wx/dcclient.h>
14
15 #include "util.h"
13 16
14 class LookWindow : public wxWindow 17 class LookWindow : public wxWindow
15 { 18 {
16 DECLARE_EVENT_TABLE() 19 DECLARE_EVENT_TABLE()
17 private: 20 private:
54 void DoMask2( void ); 57 void DoMask2( void );
55 wxRect GetRealMask1Rect( void ); 58 wxRect GetRealMask1Rect( void );
56 wxRect GetRealMask2Rect( void ); 59 wxRect GetRealMask2Rect( void );
57 }; 60 };
58 61
62 class ListThumbnail : public wxListView
63 {
64 DECLARE_EVENT_TABLE()
65 private:
66 FileList m_filelist;
67 wxImageList m_imageListZ1;
68 wxImageList m_imageListZ2;
69 wxImageList m_imageListZ3;
70
71 public:
72 ListThumbnail( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxLC_ICON );
73 ~ListThumbnail();
74
75 int Reload( void );
76 void SetDirectory( wxString dir ) { m_filelist.SetDirectory( dir ); };
77 //void OnDClick( wx);
78 };
79