r154: *** empty log message ***
[ctsim.git] / src / views.h
index ee3fdda86342e36807de290c4b4077a34516a61c..43751338e6ea68c031241c70d379154c114335ee 100644 (file)
@@ -9,7 +9,7 @@
 **  This is part of the CTSim program
 **  Copyright (C) 1983-2000 Kevin Rosenberg
 **
-**  $Id: views.h,v 1.2 2000/07/15 08:36:13 kevin Exp $
+**  $Id: views.h,v 1.5 2000/07/18 16:20:53 kevin Exp $
 **
 **  This program is free software; you can redistribute it and/or modify
 **  it under the terms of the GNU General Public License (version 2) as
@@ -52,12 +52,12 @@ private:
     wxFrame *m_frame;
     bool m_bMinSpecified;
     bool m_bMaxSpecified;
-    double m_minPixel;
-    double m_maxPixel;
+    double m_dMinPixel;
+    double m_dMaxPixel;
 
 public:
     ImageFileView(void);
-    ~ImageFileView(void);
+    virtual ~ImageFileView(void);
 
     bool OnCreate(wxDocument *doc, long flags);
     void OnDraw(wxDC* dc);
@@ -65,6 +65,7 @@ public:
     bool OnClose (bool deleteWindow = true);
     void OnProperties (wxCommandEvent& event);
     void OnWindowAuto (wxCommandEvent& event);
+    void OnWindowMinMax (wxCommandEvent& event);
 
     ImageFileDocument* GetDocument(void) 
        { return dynamic_cast<ImageFileDocument*>(wxView::GetDocument()); }
@@ -102,7 +103,7 @@ private:
 
 public:
     ProjectionFileView(void);
-    ~ProjectionFileView(void);
+    virtual ~ProjectionFileView(void);
 
     bool OnCreate(wxDocument *doc, long flags);
     void OnDraw(wxDC* dc);
@@ -140,7 +141,7 @@ private:
 
 public:
     PhantomView(void);
-    ~PhantomView(void);
+    virtual ~PhantomView(void);
 
     bool OnCreate(wxDocument *doc, long flags);
     void OnDraw(wxDC* dc);
@@ -156,7 +157,7 @@ public:
     DECLARE_EVENT_TABLE()
 };
 
-class PhantomCanvas: public wxScrolledWindow
+class PhantomCanvas: public wxPanel
 {
 public:
     PhantomView* m_pView;