X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;ds=sidebyside;f=src%2Fctsim.h;h=bbd7f83d55b4b2a59ffbc351da00538fc6f86e6c;hb=5c6b29ab4885308cc3381af6e0a68f4804956d2e;hp=8367f21a9056b263c311f1c13a50e664241d71a8;hpb=98f894fe74f1a532f5e6d69cca0404d9a58893e7;p=ctsim.git diff --git a/src/ctsim.h b/src/ctsim.h index 8367f21..bbd7f83 100644 --- a/src/ctsim.h +++ b/src/ctsim.h @@ -9,7 +9,7 @@ ** This is part of the CTSim program ** Copyright (C) 1983-2000 Kevin Rosenberg ** -** $Id: ctsim.h,v 1.6 2000/09/07 01:28:33 kevin Exp $ +** $Id: ctsim.h,v 1.14 2000/12/29 15:45: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 @@ -28,7 +28,6 @@ #ifndef __CTSIMH__ #define __CTSIMH__ -#include "wx/docview.h" #ifdef HAVE_CONFIG_H #include "config.h" #endif @@ -37,7 +36,11 @@ #endif class wxMenu; -class wxDocument; +class wxDocument; +class ImageFileDocument; +#include + +#include "wx/docview.h" // Define a new frame for main window class MainFrame: public wxDocParentFrame @@ -47,7 +50,7 @@ private: wxTextCtrl* m_pLog; wxMenu* m_pWindowMenu; - static const int MAX_WINDOW_MENUITEMS = 20; + enum { MAX_WINDOW_MENUITEMS = 20 }; wxMenuItem* m_apWindowMenuItems[MAX_WINDOW_MENUITEMS]; wxDocument* m_apWindowMenuData[MAX_WINDOW_MENUITEMS]; @@ -106,6 +109,11 @@ public: { return m_docManager; } wxString getUntitledFilename(); + + void getCompatibleImages (const ImageFileDocument* pIFDoc, std::vector& vecIF); + + bool getSetModifyNewDocs() const + { return false; } private: wxDocManager* m_docManager; @@ -131,11 +139,25 @@ enum { IFMENU_FILE_PROPERTIES, PJMENU_FILE_PROPERTIES, PHMMENU_FILE_PROPERTIES, - PJMENU_PROCESS_RECONSTRUCT, + PJMENU_PROCESS_RECONSTRUCT, + IFMENU_PLOT_ROW, + IFMENU_PLOT_COL, IFMENU_VIEW_SCALE_AUTO, - IFMENU_VIEW_SCALE_MINMAX, + IFMENU_VIEW_SCALE_MINMAX, + IFMENU_COMPARE_IMAGES, + IFMENU_COMPARE_ROW, + IFMENU_COMPARE_COL, + IFMENU_PROCESS_INVERTVALUES, + IFMENU_PROCESS_SQRT, + IFMENU_PROCESS_SQUARE, + IFMENU_PROCESS_LOG, + IFMENU_PROCESS_EXP, + IFMENU_PROCESS_FFT_MAGNITUDE, + IFMENU_PROCESS_FFT_PHASE, PHMMENU_PROCESS_RASTERIZE, - PHMMENU_PROCESS_PROJECTIONS, + PHMMENU_PROCESS_PROJECTIONS, + PLOTMENU_VIEW_SCALE_MINMAX, + PLOTMENU_VIEW_SCALE_AUTO, MAINMENU_WINDOW_BASE, };