X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=src%2Fviews.h;h=99ae2756280488f801487289ccd98f180c1f90bc;hb=16d093f9366acfccee0f701f736840bcd47c0709;hp=ee3fdda86342e36807de290c4b4077a34516a61c;hpb=e4c1f7f8eb87558c3abf3bf1d20732361f425351;p=ctsim.git diff --git a/src/views.h b/src/views.h index ee3fdda..99ae275 100644 --- a/src/views.h +++ b/src/views.h @@ -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.4 2000/07/18 14:51:06 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,8 +52,8 @@ 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); @@ -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(wxView::GetDocument()); } @@ -156,7 +157,7 @@ public: DECLARE_EVENT_TABLE() }; -class PhantomCanvas: public wxScrolledWindow +class PhantomCanvas: public wxPanel { public: PhantomView* m_pView;