Mercurial > mercurial > hgweb_searcher03.cgi
diff 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 |
line wrap: on
line diff
--- a/include/preview.h Sun May 18 19:49:15 2014 +0900 +++ b/include/preview.h Sat May 24 10:25:13 2014 +0900 @@ -1,5 +1,5 @@ // Filename : preview.h -// Last Change: 16-May-2014. +// Last Change: 23-May-2014. // #ifndef __PREVIEW_H__ @@ -15,6 +15,7 @@ PreviewDialog* m_parent; wxArrayString m_imagefiles; wxArrayString m_cachefiles; + wxImageList m_imageList; protected: wxStaticBitmap* m_bitmap0; @@ -34,7 +35,8 @@ void OnClick3( wxMouseEvent& event ); void OnClick4( wxMouseEvent& event ); void OnClick5( wxMouseEvent& event ); - void SetFiles( wxArrayString imagefiles, wxArrayString cachefiles ); + void SetFiles( wxArrayString imagefiles, wxArrayString cachefiles, int select ); + void SetImageList( int selected ); void Preview( int n ); }; @@ -60,7 +62,7 @@ PreviewDialog( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ); ~PreviewDialog(); - void SetFiles( wxArrayString imagefiles, wxArrayString cachefiles ); + void SetFiles( wxArrayString imagefiles, wxArrayString cachefiles, int select ); void SetPreviewSize( void ); void SetPreviewImage( int n ); void OnPrint( wxCommandEvent& event );