Mercurial > mercurial > hgweb_searcher03.cgi
comparison include/bprint.h @ 12:52958cd4a073
Implement Force Mask button in Batch Print Mode.
author | pyon@macmini |
---|---|
date | Sun, 18 May 2014 19:49:15 +0900 |
parents | 76db82822e73 |
children | 92188f60323d |
comparison
equal
deleted
inserted
replaced
11:dfcf8c973219 | 12:52958cd4a073 |
---|---|
1 // Filename : bprint.h | 1 // Filename : bprint.h |
2 // Last Change: 18-Sep-2013. | 2 // Last Change: 16-May-2014. |
3 // | 3 // |
4 #ifndef __BPRINT_H__ | 4 #ifndef __BPRINT_H__ |
5 #define __BPRINT_H__ | 5 #define __BPRINT_H__ |
6 | 6 |
7 #include "common.h" | 7 #include "common.h" |
21 | 21 |
22 protected: | 22 protected: |
23 wxGrid* m_grid; | 23 wxGrid* m_grid; |
24 wxButton* m_buttonClear; | 24 wxButton* m_buttonClear; |
25 wxButton* m_buttonPrint; | 25 wxButton* m_buttonPrint; |
26 wxButton* m_buttonMaskPrint; | |
27 wxButton* m_buttonLdLog; | |
26 wxButton* m_buttonClose; | 28 wxButton* m_buttonClose; |
27 | 29 |
28 public: | 30 public: |
29 FrameBatchPrint( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ); | 31 FrameBatchPrint( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ); |
30 ~FrameBatchPrint(); | 32 ~FrameBatchPrint(); |
32 void SetGridReadOnly( void ); | 34 void SetGridReadOnly( void ); |
33 void WriteLog( wxArrayString logline ); | 35 void WriteLog( wxArrayString logline ); |
34 void OnInput( wxGridEvent& event ); | 36 void OnInput( wxGridEvent& event ); |
35 void OnClear( wxCommandEvent& WXUNUSED(event) ); | 37 void OnClear( wxCommandEvent& WXUNUSED(event) ); |
36 void OnPrint( wxCommandEvent& WXUNUSED(event) ); | 38 void OnPrint( wxCommandEvent& WXUNUSED(event) ); |
39 void OnMaskPrint( wxCommandEvent& WXUNUSED(event) ); | |
40 void OnLoadLog( wxCommandEvent& WXUNUSED(event) ); | |
37 void SetMark( long lmin, long lmax, double zmin, double zmax ) { m_lmin = lmin; m_lmax = lmax; m_zmin = zmin; m_zmax = zmax; } | 41 void SetMark( long lmin, long lmax, double zmin, double zmax ) { m_lmin = lmin; m_lmax = lmax; m_zmin = zmin; m_zmax = zmax; } |
38 | 42 |
39 // Accessor | 43 // Accessor |
40 void SetMask1( wxRect rect ) { m_mask1 = rect; } | 44 void SetMask1( wxRect rect ) { m_mask1 = rect; } |
41 void SetMask2( wxRect rect ) { m_mask2 = rect; } | 45 void SetMask2( wxRect rect ) { m_mask2 = rect; } |
47 | 51 |
48 enum | 52 enum |
49 { | 53 { |
50 ID_BPCLEAR = wxID_HIGHEST + 50, | 54 ID_BPCLEAR = wxID_HIGHEST + 50, |
51 ID_BPPRINT, | 55 ID_BPPRINT, |
56 ID_BPFFMP, | |
57 ID_BPLDLOG, | |
52 }; | 58 }; |
53 | 59 |
54 #endif //__BPRINT_H__ | 60 #endif //__BPRINT_H__ |
55 | 61 |