X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=src%2Fviews.h;h=71efce20081a48f79fc7bc5ce942fce6825697c4;hp=3c29c77cf385dc7e6f4d3bd77dc1269cd18a12d8;hb=a05f3cb550877e94aa118cc04b361c0c8fdb3dc3;hpb=711cae0ee02e046370fdb4d6c6f440596ff71980 diff --git a/src/views.h b/src/views.h index 3c29c77..71efce2 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.6 2000/07/28 08:28:08 kevin Exp $ +** $Id: views.h,v 1.8 2000/08/31 08:38:58 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 @@ -54,6 +54,7 @@ private: bool m_bMaxSpecified; double m_dMinPixel; double m_dMaxPixel; + double m_dAutoScaleFactor; public: ImageFileView(void); @@ -64,8 +65,8 @@ public: void OnUpdate(wxView *sender, wxObject *hint = NULL); bool OnClose (bool deleteWindow = true); void OnProperties (wxCommandEvent& event); - void OnWindowAuto (wxCommandEvent& event); - void OnWindowMinMax (wxCommandEvent& event); + void OnScaleAuto (wxCommandEvent& event); + void OnScaleMinMax (wxCommandEvent& event); ImageFileDocument* GetDocument(void) { return dynamic_cast(wxView::GetDocument()); }