Mercurial > mercurial > hgweb_searcher03.cgi
comparison include/preview.h @ 13:bbd65edf71d4
Implement Hhs DB update dialog.
| author | pyon@macmini |
|---|---|
| date | Sat, 24 May 2014 10:25:13 +0900 |
| parents | 52958cd4a073 |
| children | ac17a73e39b3 |
comparison
equal
deleted
inserted
replaced
| 12:52958cd4a073 | 13:bbd65edf71d4 |
|---|---|
| 1 // Filename : preview.h | 1 // Filename : preview.h |
| 2 // Last Change: 16-May-2014. | 2 // Last Change: 23-May-2014. |
| 3 // | 3 // |
| 4 | 4 |
| 5 #ifndef __PREVIEW_H__ | 5 #ifndef __PREVIEW_H__ |
| 6 #define __PREVIEW_H__ | 6 #define __PREVIEW_H__ |
| 7 | 7 |
| 13 { | 13 { |
| 14 private: | 14 private: |
| 15 PreviewDialog* m_parent; | 15 PreviewDialog* m_parent; |
| 16 wxArrayString m_imagefiles; | 16 wxArrayString m_imagefiles; |
| 17 wxArrayString m_cachefiles; | 17 wxArrayString m_cachefiles; |
| 18 wxImageList m_imageList; | |
| 18 | 19 |
| 19 protected: | 20 protected: |
| 20 wxStaticBitmap* m_bitmap0; | 21 wxStaticBitmap* m_bitmap0; |
| 21 wxStaticBitmap* m_bitmap1; | 22 wxStaticBitmap* m_bitmap1; |
| 22 wxStaticBitmap* m_bitmap2; | 23 wxStaticBitmap* m_bitmap2; |
| 32 void OnClick1( wxMouseEvent& event ); | 33 void OnClick1( wxMouseEvent& event ); |
| 33 void OnClick2( wxMouseEvent& event ); | 34 void OnClick2( wxMouseEvent& event ); |
| 34 void OnClick3( wxMouseEvent& event ); | 35 void OnClick3( wxMouseEvent& event ); |
| 35 void OnClick4( wxMouseEvent& event ); | 36 void OnClick4( wxMouseEvent& event ); |
| 36 void OnClick5( wxMouseEvent& event ); | 37 void OnClick5( wxMouseEvent& event ); |
| 37 void SetFiles( wxArrayString imagefiles, wxArrayString cachefiles ); | 38 void SetFiles( wxArrayString imagefiles, wxArrayString cachefiles, int select ); |
| 39 void SetImageList( int selected ); | |
| 38 void Preview( int n ); | 40 void Preview( int n ); |
| 39 }; | 41 }; |
| 40 | 42 |
| 41 // プレビューダイアログ | 43 // プレビューダイアログ |
| 42 class PreviewDialog : public wxDialog | 44 class PreviewDialog : public wxDialog |
| 58 | 60 |
| 59 public: | 61 public: |
| 60 PreviewDialog( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ); | 62 PreviewDialog( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ); |
| 61 ~PreviewDialog(); | 63 ~PreviewDialog(); |
| 62 | 64 |
| 63 void SetFiles( wxArrayString imagefiles, wxArrayString cachefiles ); | 65 void SetFiles( wxArrayString imagefiles, wxArrayString cachefiles, int select ); |
| 64 void SetPreviewSize( void ); | 66 void SetPreviewSize( void ); |
| 65 void SetPreviewImage( int n ); | 67 void SetPreviewImage( int n ); |
| 66 void OnPrint( wxCommandEvent& event ); | 68 void OnPrint( wxCommandEvent& event ); |
| 67 }; | 69 }; |
| 68 | 70 |
