diff include/mask.h @ 0:0c0701a935f8

Start Development.
author pyon@macmini
date Sun, 21 Jul 2013 16:07:19 +0900
parents
children 7b6dab24f4b8
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/include/mask.h	Sun Jul 21 16:07:19 2013 +0900
@@ -0,0 +1,62 @@
+// Filename   : mask.h
+// Last Change: 21-Jul-2013.
+//
+
+#ifndef __MASK_H__
+#define __MASK_H__
+
+#include "common.h"
+#include "wx/config.h"
+#include "wx/fileconf.h"
+
+class MaskDialog : public wxDialog 
+{
+    DECLARE_EVENT_TABLE()
+	private:
+	
+	protected:
+		wxStaticText* m_staticTextDummy0;
+		wxStaticText* m_staticTextX;
+		wxStaticText* m_staticTextY;
+		wxStaticText* m_staticTextW;
+		wxStaticText* m_staticTextH;
+
+		wxStaticText* m_staticTextMask1;
+		wxTextCtrl*   m_textCtrlM1x;
+		wxTextCtrl*   m_textCtrlM1y;
+		wxTextCtrl*   m_textCtrlM1w;
+		wxTextCtrl*   m_textCtrlM1h;
+
+		wxStaticText* m_staticTextMask2;
+		wxTextCtrl*   m_textCtrlM2x;
+		wxTextCtrl*   m_textCtrlM2y;
+		wxTextCtrl*   m_textCtrlM2w;
+		wxTextCtrl*   m_textCtrlM2h;
+
+		wxStaticText* m_staticTextMask3;
+		wxTextCtrl*   m_textCtrlM3x;
+		wxTextCtrl*   m_textCtrlM3y;
+		wxTextCtrl*   m_textCtrlM3w;
+		wxTextCtrl*   m_textCtrlM3h;
+
+		wxButton*     m_buttonCancel;
+		wxButton*     m_buttonSet;
+	
+        wxFileConfig *config;
+        wxString      conf_file;
+
+	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) );
+};
+
+enum {
+    ID_SETPARAM = wxID_HIGHEST + 70,
+};
+
+#endif //__MASK_H__
+