X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=src%2Fctsim.h;h=9093b9b2c4e9df3cb24cf3823d2f7e0fbddbf6f9;hb=c6cda8844a491b71759e5dd5edba830d0b809cfd;hp=e1055babb1c7872eec19c942ea61c90ca201ab21;hpb=23f5654dacb1952c15bda92c2606fae3a55e48ad;p=ctsim.git diff --git a/src/ctsim.h b/src/ctsim.h index e1055ba..9093b9b 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.21 2001/01/04 21:28:41 kevin Exp $ +** $Id: ctsim.h,v 1.22 2001/01/06 15:33:15 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,11 @@ #include #endif +#ifdef MSVC +// #define CTSIM_MDI 1 +#endif + + class wxMenu; class wxDocument; @@ -47,7 +52,11 @@ class ImageFileDocument; // Define a new frame for main window +#if CTSIM_MDI +class MainFrame: public wxMDIParentFrame +#else class MainFrame: public wxDocParentFrame +#endif { DECLARE_CLASS(MainFrame) private: @@ -156,14 +165,13 @@ extern class CTSimApp* theApp; enum { MAINMENU_HELP_ABOUT = 500, + MAINMENU_WINDOW_BASE, MAINMENU_HELP_CONTENTS, MAINMENU_FILE_CREATE_PHANTOM, MAINMENU_FILE_CREATE_FILTER, MAINMENU_FILE_EXIT, - IFMENU_FILE_PROPERTIES, - PJMENU_FILE_PROPERTIES, PJMENU_RECONSTRUCT_FBP, PJMENU_RECONSTRUCT_FOURIER, @@ -171,9 +179,12 @@ enum { PJMENU_CONVERT_FFT_POLAR, IFMENU_FILE_EXPORT, + IFMENU_FILE_PROPERTIES, IFMENU_PLOT_ROW, IFMENU_PLOT_COL, + IFMENU_PLOT_FFT_ROW, + IFMENU_PLOT_FFT_COL, IFMENU_PLOT_HISTOGRAM, IFMENU_VIEW_SCALE_AUTO, @@ -198,6 +209,10 @@ enum { IFMENU_FILTER_INVERSE_FOURIER, IFMENU_FILTER_FFT, IFMENU_FILTER_IFFT, + IFMENU_FILTER_FFT_ROWS, + IFMENU_FILTER_FFT_COLS, + IFMENU_FILTER_IFFT_ROWS, + IFMENU_FILTER_IFFT_COLS, IFMENU_FILTER_MAGNITUDE, IFMENU_FILTER_PHASE, IFMENU_FILTER_SHUFFLENATURALTOFOURIERORDER, @@ -210,7 +225,7 @@ enum { PLOTMENU_VIEW_SCALE_MINMAX, PLOTMENU_VIEW_SCALE_AUTO, PLOTMENU_VIEW_SCALE_FULL, - MAINMENU_WINDOW_BASE, + }; #endif