Mercurial > mercurial > hgweb_searcher03.cgi
diff include/mask.h @ 1:7b6dab24f4b8
Gui parts complete.
author | pyon@macmini |
---|---|
date | Sun, 04 Aug 2013 21:42:49 +0900 |
parents | 0c0701a935f8 |
children | c066fde99517 |
line wrap: on
line diff
--- a/include/mask.h Sun Jul 21 16:07:19 2013 +0900 +++ b/include/mask.h Sun Aug 04 21:42:49 2013 +0900 @@ -1,5 +1,5 @@ // Filename : mask.h -// Last Change: 21-Jul-2013. +// Last Change: 04-Aug-2013. // #ifndef __MASK_H__ @@ -42,16 +42,26 @@ wxButton* m_buttonCancel; wxButton* m_buttonSet; - wxFileConfig *config; - wxString conf_file; + long x, y, w, h; + wxRect m_mask1; + wxRect m_mask2; + wxRect m_mask3; public: MaskDialog( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ); ~MaskDialog(); - void GetParams( void ); - void SetParams( wxCommandEvent& WXUNUSED(event) ); + void OnSet( wxCommandEvent& WXUNUSED(event) ); + void LoadParams( void ); + + // Accessor + void SetMask1( wxRect rect ) { m_mask1 = rect; } + void SetMask2( wxRect rect ) { m_mask2 = rect; } + void SetMask3( wxRect rect ) { m_mask3 = rect; } + wxRect GetMask1() const { return m_mask1; } + wxRect GetMask2() const { return m_mask2; } + wxRect GetMask3() const { return m_mask3; } }; enum {