Mercurial > mercurial > hgweb_searcher03.cgi
comparison include/preview.h @ 11:dfcf8c973219
Implement Cache maker.
author | pyon@macmini |
---|---|
date | Wed, 07 May 2014 20:38:57 +0900 |
parents | 29021e6e1ebe |
children | 52958cd4a073 |
comparison
equal
deleted
inserted
replaced
10:29021e6e1ebe | 11:dfcf8c973219 |
---|---|
1 // Filename : preview.h | 1 // Filename : preview.h |
2 // Last Change: 28-Apr-2014. | 2 // Last Change: 01-May-2014. |
3 // | 3 // |
4 | 4 |
5 #ifndef __PREVIEW_H__ | 5 #ifndef __PREVIEW_H__ |
6 #define __PREVIEW_H__ | 6 #define __PREVIEW_H__ |
7 | 7 |
42 class PreviewDialog : public wxDialog | 42 class PreviewDialog : public wxDialog |
43 { | 43 { |
44 DECLARE_EVENT_TABLE() | 44 DECLARE_EVENT_TABLE() |
45 private: | 45 private: |
46 wxString m_preview; | 46 wxString m_preview; |
47 wxString m_dir; | |
48 wxArrayString m_imagefiles; | 47 wxArrayString m_imagefiles; |
49 wxArrayString m_cachefiles; | 48 wxArrayString m_cachefiles; |
50 | 49 |
51 protected: | 50 protected: |
52 wxScrolledWindow* m_scrolledWindow; | 51 wxScrolledWindow* m_scrolledWindow; |
58 public: | 57 public: |
59 PreviewDialog( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ); | 58 PreviewDialog( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ); |
60 ~PreviewDialog(); | 59 ~PreviewDialog(); |
61 | 60 |
62 void SetFiles( wxArrayString imagefiles, wxArrayString cachefiles ); | 61 void SetFiles( wxArrayString imagefiles, wxArrayString cachefiles ); |
62 void SetPreviewSize( void ); | |
63 void SetPreviewImage( int n ); | 63 void SetPreviewImage( int n ); |
64 void OnPrint( wxCommandEvent& event ); | 64 void OnPrint( wxCommandEvent& event ); |
65 }; | 65 }; |
66 | 66 |
67 enum { | 67 enum { |