Mercurial > mercurial > hgweb_rsearcher.cgi
diff include/rsearcher.h @ 4:06342fc544e4
mouse gesture.
author | pyon@macmini |
---|---|
date | Mon, 15 Oct 2018 20:07:38 +0900 |
parents | db4813125eb8 |
children | e3b10fb860b3 |
line wrap: on
line diff
--- a/include/rsearcher.h Thu Oct 11 22:11:09 2018 +0900 +++ b/include/rsearcher.h Mon Oct 15 20:07:38 2018 +0900 @@ -1,5 +1,5 @@ // Filename : rsearcher.h -// Last Change: 2018-10-11 –Ø 18:29:13. +// Last Change: 2018-10-12 ‹à 16:16:26. // #ifndef __RSEARCH_H__ @@ -48,6 +48,7 @@ int m_zoom = 0; wxBitmap m_bmp[5]; wxScrolledWindow* m_parent; + int select_tab = 0; public: MyStaticBitmap( wxScrolledWindow *parent, wxWindowID id, const wxBitmap &label, const wxPoint &pos, const wxSize &size, long style, const wxString &name ); @@ -61,6 +62,7 @@ void OnWheel( wxMouseEvent& event ); void SetImage( int i, wxBitmap bmp ) { m_bmp[i] = bmp; }; void SetZoom( int m_zoom ); + void ChangeBook( int i ); }; class MainFrame : public wxFrame @@ -75,16 +77,6 @@ wxTimer m_timer; protected: - enum { - ID_SEARCH = wxID_HIGHEST + 100, - ID_LIST, - ID_NBOOK, - ID_SLDR, - ID_TIMER, - ID_LOGOUT, - ID_TEST, - }; - MySearchCtrl* m_searchCtrl; MyStaticBitmap* m_staticBitmap1; MyStaticBitmap* m_staticBitmap2; @@ -140,6 +132,5 @@ void OnTestButton( wxCommandEvent& event ); }; - #endif // __RSEARCH_H__