diff include/bprint.h @ 5:bc2e2b304095

Clean up code.
author pyon@macmini
date Sat, 14 Sep 2013 08:54:47 +0900
parents c066fde99517
children 76db82822e73
line wrap: on
line diff
--- a/include/bprint.h	Wed Sep 11 19:09:14 2013 +0900
+++ b/include/bprint.h	Sat Sep 14 08:54:47 2013 +0900
@@ -1,5 +1,5 @@
 // Filename   : bprint.h
-// Last Change: 23-Aug-2013.
+// Last Change: 13-Sep-2013.
 //
 #ifndef __BPRINT_H__
 #define __BPRINT_H__
@@ -16,6 +16,8 @@
         wxRect        m_mask1old;
         wxRect        m_mask2old;
         wxRect        m_mask3old;
+        long          m_lmin, m_lmax;
+        double        m_zmin, m_zmax;
 	
 	protected:
 		wxGrid*     m_grid;
@@ -31,6 +33,7 @@
         void OnInput( wxGridEvent& event );
         void OnClear( wxCommandEvent& WXUNUSED(event) );
         void OnPrint( wxCommandEvent& WXUNUSED(event) );
+        void SetMark( long lmin, long lmax, double zmin, double zmax ) { m_lmin = lmin; m_lmax = lmax; m_zmin = zmin; m_zmax = zmax; }
 
         // Accessor
         void SetMask1( wxRect rect ) { m_mask1 = rect; }