1
|
1 // Filename : hhsdb.h
|
|
2 // Last Change: 07-Apr-2011.
|
|
3 //
|
|
4 #ifndef __PREVIEW__
|
|
5 #define __PREVIEW__
|
|
6
|
|
7 #include "common.h"
|
|
8
|
|
9 #include <wx/string.h>
|
|
10 #include <wx/stattext.h>
|
|
11 #include <wx/gdicmn.h>
|
|
12 #include <wx/font.h>
|
|
13 #include <wx/colour.h>
|
|
14 #include <wx/settings.h>
|
|
15 #include <wx/bitmap.h>
|
|
16 #include <wx/image.h>
|
|
17 #include <wx/icon.h>
|
|
18 #include <wx/statbmp.h>
|
|
19 #include <wx/sizer.h>
|
|
20 #include <wx/scrolwin.h>
|
|
21 #include <wx/textctrl.h>
|
|
22 #include <wx/slider.h>
|
|
23 #include <wx/button.h>
|
|
24 #include <wx/frame.h>
|
|
25
|
|
26 ///////////////////////////////////////////////////////////////////////////////
|
|
27 /// Class MyFramePreview
|
|
28 ///////////////////////////////////////////////////////////////////////////////
|
|
29 class MyFramePreview : public wxFrame
|
|
30 {
|
|
31 private:
|
|
32
|
|
33 protected:
|
|
34 wxStaticText* m_staticText1;
|
|
35 wxStaticBitmap* m_bitmap1;
|
|
36 wxStaticText* m_staticText2;
|
|
37 wxStaticBitmap* m_bitmap2;
|
|
38 wxStaticText* m_staticText3;
|
|
39 wxStaticBitmap* m_bitmap3;
|
|
40 wxStaticText* m_staticText4;
|
|
41 wxStaticBitmap* m_bitmap4;
|
|
42 wxStaticText* m_staticText5;
|
|
43 wxStaticBitmap* m_bitmap5;
|
|
44 wxScrolledWindow* m_scrolledWindow;
|
|
45 wxStaticBitmap* m_bitmap;
|
|
46 wxStaticText* m_staticText;
|
|
47 wxTextCtrl* m_textCtrl;
|
|
48 wxStaticText* m_staticTextLarge;
|
|
49 wxSlider* m_slider;
|
|
50 wxStaticText* m_staticTextSmall;
|
|
51
|
|
52 wxButton* m_buttonPrint;
|
|
53 wxButton* m_buttonPrintAll;
|
|
54 wxButton* m_buttonClose;
|
|
55
|
|
56 public:
|
|
57
|
|
58 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 );
|
|
59 ~MyFramePreview();
|
|
60
|
|
61 };
|
|
62
|
|
63 #endif //__PREVIEW__
|
|
64
|