Mercurial > mercurial > hgweb_searcher2.cgi
diff include/preview.h @ 1:e0cf49906039
start editing preview.cpp / preview.h
author | pyon@macmini |
---|---|
date | Thu, 07 Apr 2011 19:53:40 +0900 |
parents | |
children | 75fefb53d983 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/include/preview.h Thu Apr 07 19:53:40 2011 +0900 @@ -0,0 +1,64 @@ +// Filename : hhsdb.h +// Last Change: 07-Apr-2011. +// +#ifndef __PREVIEW__ +#define __PREVIEW__ + +#include "common.h" + +#include <wx/string.h> +#include <wx/stattext.h> +#include <wx/gdicmn.h> +#include <wx/font.h> +#include <wx/colour.h> +#include <wx/settings.h> +#include <wx/bitmap.h> +#include <wx/image.h> +#include <wx/icon.h> +#include <wx/statbmp.h> +#include <wx/sizer.h> +#include <wx/scrolwin.h> +#include <wx/textctrl.h> +#include <wx/slider.h> +#include <wx/button.h> +#include <wx/frame.h> + +/////////////////////////////////////////////////////////////////////////////// +/// Class MyFramePreview +/////////////////////////////////////////////////////////////////////////////// +class MyFramePreview : public wxFrame +{ + private: + + protected: + wxStaticText* m_staticText1; + wxStaticBitmap* m_bitmap1; + wxStaticText* m_staticText2; + wxStaticBitmap* m_bitmap2; + wxStaticText* m_staticText3; + wxStaticBitmap* m_bitmap3; + wxStaticText* m_staticText4; + wxStaticBitmap* m_bitmap4; + wxStaticText* m_staticText5; + wxStaticBitmap* m_bitmap5; + wxScrolledWindow* m_scrolledWindow; + wxStaticBitmap* m_bitmap; + wxStaticText* m_staticText; + wxTextCtrl* m_textCtrl; + wxStaticText* m_staticTextLarge; + wxSlider* m_slider; + wxStaticText* m_staticTextSmall; + + wxButton* m_buttonPrint; + wxButton* m_buttonPrintAll; + wxButton* m_buttonClose; + + public: + + MyFramePreview( wxWindow* parent, wxWindowID id = ID_IMGFRM, const wxString& title = wxEmptyString, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 512,394 ), long style = wxCAPTION|wxFRAME_NO_TASKBAR|wxMAXIMIZE_BOX|wxRESIZE_BORDER|wxTAB_TRAVERSAL ); + ~MyFramePreview(); + +}; + +#endif //__PREVIEW__ +