Mercurial > mercurial > hgweb_searcher03.cgi
diff include/preview.h @ 15:de222bc84e48
Implement Mouse Gesture in Preview Dialog.
author | pyon@macmini |
---|---|
date | Sun, 15 Jun 2014 16:45:52 +0900 |
parents | ac17a73e39b3 |
children | 92188f60323d |
line wrap: on
line diff
--- a/include/preview.h Thu Jun 05 04:19:03 2014 +0900 +++ b/include/preview.h Sun Jun 15 16:45:52 2014 +0900 @@ -1,5 +1,5 @@ // Filename : preview.h -// Last Change: 04-Jun-2014. +// Last Change: 09-Jun-2014. // #ifndef __PREVIEW_H__ @@ -45,10 +45,11 @@ { DECLARE_EVENT_TABLE() private: - wxString m_preview; + int m_preview; wxArrayString m_imagefiles; wxArrayString m_cachefiles; float m_zoom; + int cx, cy; protected: wxScrolledWindow* m_scrolledWindow; @@ -68,6 +69,8 @@ void SetPreviewImage( int n ); void OnWheel( wxMouseEvent& event ); void OnDClick( wxMouseEvent& WXUNUSED(event) ); + void OnStartRGesture( wxMouseEvent& event ); + void OnEndRGesture( wxMouseEvent& event ); void OnPrint( wxCommandEvent& WXUNUSED(event) ); };