Mercurial > mercurial > hgweb_searcher2.cgi
comparison include/preview.h @ 5:0f566397974e
add Edit button.
author | pyon@macmini |
---|---|
date | Wed, 13 Apr 2011 18:30:41 +0900 |
parents | d924b09ea2f3 |
children |
comparison
equal
deleted
inserted
replaced
4:d924b09ea2f3 | 5:0f566397974e |
---|---|
1 // Filename : hhsdb.h | 1 // Filename : hhsdb.h |
2 // Last Change: 09-Apr-2011. | 2 // Last Change: 13-Apr-2011. |
3 // | 3 // |
4 #ifndef __PREVIEW__ | 4 #ifndef __PREVIEW__ |
5 #define __PREVIEW__ | 5 #define __PREVIEW__ |
6 | 6 |
7 #include "common.h" | 7 #include "common.h" |
43 wxStaticText* m_staticText; | 43 wxStaticText* m_staticText; |
44 wxTextCtrl* m_textCtrl; | 44 wxTextCtrl* m_textCtrl; |
45 wxStaticText* m_staticTextLarge; | 45 wxStaticText* m_staticTextLarge; |
46 wxSlider* m_slider; | 46 wxSlider* m_slider; |
47 wxStaticText* m_staticTextSmall; | 47 wxStaticText* m_staticTextSmall; |
48 wxButton* m_buttonEdit; | |
49 wxButton* m_buttonMask; | |
48 wxButton* m_buttonPrint; | 50 wxButton* m_buttonPrint; |
49 wxButton* m_buttonPrintAll; | 51 wxButton* m_buttonPrintAll; |
50 wxButton* m_buttonClose; | 52 wxButton* m_buttonClose; |
51 | 53 |
52 public: | 54 public: |
53 | |
54 FramePreview( 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 ); | 55 FramePreview( 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 ); |
55 ~FramePreview(); | 56 ~FramePreview(); |
56 | 57 |
57 void CloseFrame(wxCommandEvent&); | 58 void CloseFrame(wxCommandEvent&); |
59 void ChageImage(wxCommandEvent&); | |
58 void LoadImages(wxString); | 60 void LoadImages(wxString); |
59 }; | 61 }; |
60 | 62 |
61 #endif //__PREVIEW__ | 63 #endif //__PREVIEW__ |
62 | 64 |