X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=src%2Fviews.h;h=88f0e2145bbea15a4f231883d2565fcee329a041;hb=31a835d9aebd8acb367a033cc92efb4c944a7b4d;hp=1abe90d59f900cad484bf7bd48230fa35908ec7a;hpb=9646a9addabd213c5a810dad21ea8ca810698420;p=ctsim.git diff --git a/src/views.h b/src/views.h index 1abe90d..88f0e21 100644 --- a/src/views.h +++ b/src/views.h @@ -9,7 +9,7 @@ ** This is part of the CTSim program ** Copyright (c) 1983-2001 Kevin Rosenberg ** -** $Id: views.h,v 1.39 2001/01/30 01:21:37 kevin Exp $ +** $Id: views.h,v 1.43 2001/01/30 10:58:14 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 @@ -35,6 +35,7 @@ #include "wx/wx.h" #include "docs.h" #include "imagefile.h" +#include "graph3dview.h" class ImageFileCanvas; class ImageFileView : public wxView @@ -86,12 +87,12 @@ public: void OnUpdate(wxView *sender, wxObject *hint = NULL); bool OnClose (bool deleteWindow = true); - void OnScaleSize (wxCommandEvent& event); - void OnExport (wxCommandEvent& event); - + void OnRevert (wxCommandEvent& event); + void OnExport (wxCommandEvent& event); void OnProperties (wxCommandEvent& event); - void OnCompare (wxCommandEvent& event); - + + void OnCompare (wxCommandEvent& event); + void OnScaleSize (wxCommandEvent& event); void OnInvertValues (wxCommandEvent& event); void OnSquare (wxCommandEvent& event); void OnSquareRoot (wxCommandEvent& event); @@ -105,6 +106,7 @@ public: void OnInverseFourier (wxCommandEvent& event); void OnShuffleNaturalToFourierOrder (wxCommandEvent& event); void OnShuffleFourierToNaturalOrder (wxCommandEvent& event); + void OnConvert3d (wxCommandEvent& event); #ifdef HAVE_FFT void OnFFT (wxCommandEvent& event); @@ -447,6 +449,9 @@ public: void OnUpdate (wxView *sender, wxObject *hint = (wxObject *) NULL); bool OnClose (bool deleteWindow = TRUE); + TextFileDocument* GetDocument() + { return dynamic_cast(wxView::GetDocument()); } + TextFileCanvas* getTextCtrl() { return m_pCanvas; } wxMenu* getFileMenu() { return m_pFileMenu; } #if CTSIM_MDI