diff include/param.h @ 5:bc2e2b304095

Clean up code.
author pyon@macmini
date Sat, 14 Sep 2013 08:54:47 +0900
parents fdba695b99f1
children
line wrap: on
line diff
--- a/include/param.h	Wed Sep 11 19:09:14 2013 +0900
+++ b/include/param.h	Sat Sep 14 08:54:47 2013 +0900
@@ -1,5 +1,5 @@
 // Filename   : param.h
-// Last Change: 11-Sep-2013.
+// Last Change: 13-Sep-2013.
 //
 
 #ifndef __PARAM_H__
@@ -20,6 +20,8 @@
         wxRect        m_mask1old;
         wxRect        m_mask2old;
         wxRect        m_mask3old;
+        long          m_lmin, m_lmax;
+        double        m_zmin, m_zmax;
 	
 	protected:
 		wxNotebook*   m_notebook;
@@ -84,7 +86,7 @@
 
 		wxTextCtrl*   m_textCtrlZMin;
 		wxStaticText* m_staticTextZ;
-		wxTextCtrl*   m_textCtrlZmax;
+		wxTextCtrl*   m_textCtrlZMax;
 
         //
 		wxButton*     m_buttonCancel;
@@ -105,12 +107,18 @@
         void SetMask1Old( wxRect rect ) { m_mask1old = rect; }
         void SetMask2Old( wxRect rect ) { m_mask2old = rect; }
         void SetMask3Old( wxRect rect ) { m_mask3old = rect; }
+        void SetMark( long lmin, long lmax, double zmin, double zmax ) { m_lmin = lmin; m_lmax = lmax; m_zmin = zmin; m_zmax = zmax; }
         wxRect GetMask1() const { return m_mask1; }
         wxRect GetMask2() const { return m_mask2; }
         wxRect GetMask3() const { return m_mask3; }
         wxRect GetMask1Old() const { return m_mask1old; }
         wxRect GetMask2Old() const { return m_mask2old; }
         wxRect GetMask3Old() const { return m_mask3old; }
+        long GetLmin() const { return m_lmin; }
+        long GetLmax() const { return m_lmax; }
+        double GetZmin() const { return m_zmin; }
+        double GetZmax() const { return m_zmax; }
+        void SelectTAb( int n ) { m_notebook->ChangeSelection( n ); }
 };
 
 enum {