Mercurial > mercurial > hgweb_lesearcher.cgi
view include/preview.h @ 0:615a15029602 default tip
first commit.
author | pyon@macmini |
---|---|
date | Sun, 10 Nov 2019 08:39:41 +0900 |
parents | |
children |
line wrap: on
line source
/* Filename : preview.h Last Change: 2019-11-08 金 14:18:50. by Takayuki Mutoh */ #pragma once #include <wx/frame.h> #include <wx/dataview.h> #include <wx/button.h> #include <wx/scrolwin.h> #include <wx/choice.h> #include <wx/spinctrl.h> #include <wx/slider.h> #include <wx/statbmp.h> #include <wx/gbsizer.h> class PreviewFrame : public wxFrame { private: protected: enum { ID_PRV_DATE = 1000, ID_PRV_PRIV, ID_PRV_NEXT, ID_PRV_ZOOM, ID_PRV_MASK, ID_PRV_PRINT }; wxScrolledWindow* m_scrolledWindowCanvas; wxChoice* m_choiceDate; wxButton* m_buttonPriv; wxButton* m_buttonNext; wxSlider* m_sliderZoom; wxChoice* m_choiceMask; wxChoice* m_choicePage; wxSpinCtrl* m_spinCtrlPZoom; wxButton* m_buttonPrint; // Virtual event handlers, overide them in your derived class virtual void OnPriv( wxCommandEvent& event ) { event.Skip(); } virtual void OnNext( wxCommandEvent& event ) { event.Skip(); } virtual void OnScroll( wxScrollEvent& event ) { event.Skip(); } virtual void OnMaskChoice( wxCommandEvent& event ) { event.Skip(); } virtual void OnPageChoice( wxCommandEvent& event ) { event.Skip(); } virtual void OnPrint( wxCommandEvent& event ) { event.Skip(); } public: PreviewFrame( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("プレビュー"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 500,700 ), long style = wxDEFAULT_FRAME_STYLE|wxTAB_TRAVERSAL ); ~PreviewFrame(); };