gxsm_menudef.h File Reference

#include "xsmmath.h"

Go to the source code of this file.

Defines

#define GXSM_MENU_F_D_S(L, T, CB, D, PX)
#define GXSM_FILTER_ENTRY(L, T, CB, MF)
#define GXSM_SLD_ENTRY(L, T, CB, ID)
#define GXSM_TOOLBAR_ENTRY(L, T, CB, D, PX)

Variables

static GnomeUIInfo f_scan_import_submenu []
static GnomeUIInfo f_scan_export_submenu []
static GnomeUIInfo file_menu []
static GnomeUIInfo edit_menu []
static GnomeUIInfo action_menu []
static GnomeUIInfo view_menu []
static GnomeUIInfo math_bg_menu []
static GnomeUIInfo math_f1d_menu []
static GnomeUIInfo math_f2d_menu []
static GnomeUIInfo math_cv_menu []
static GnomeUIInfo math_ar_menu []
static GnomeUIInfo math_tr_menu []
static GnomeUIInfo math_st_menu []
static GnomeUIInfo math_misc_menu []
static GnomeUIInfo math_probe_menu []
static GnomeUIInfo math_menu []
static GnomeUIInfo windows_menu []
static GnomeUIInfo tools_menu []
static GnomeUIInfo settings_save_preferences_menu []
static GnomeUIInfo settings_load_preferences_menu []
static GnomeUIInfo settings_save_values_menu []
static GnomeUIInfo settings_load_values_menu []
static GnomeUIInfo settings_menu []
static GnomeUIInfo help_menu []
static GnomeUIInfo main_menu []
static GnomeUIInfo main_toolbar []


Define Documentation

#define GXSM_FILTER_ENTRY L,
T,
CB,
MF   ) 
 

Value:

{ \
          GNOME_APP_UI_ITEM, \
          L, T, (gpointer) CB, (gpointer) MF, \
          NULL, GNOME_APP_PIXMAP_STOCK, GNOME_STOCK_MENU_BLANK, \
          0, GDK_CONTROL_MASK, NULL }

Definition at line 127 of file gxsm_menudef.h.

#define GXSM_MENU_F_D_S L,
T,
CB,
D,
PX   ) 
 

Value:

{ \
          GNOME_APP_UI_ITEM, \
          N_(L), N_(T), (gpointer) CB, (gpointer) D, \
          NULL, GNOME_APP_PIXMAP_STOCK, PX, \
          0, GDK_CONTROL_MASK, NULL }

Definition at line 79 of file gxsm_menudef.h.

#define GXSM_SLD_ENTRY L,
T,
CB,
ID   ) 
 

Value:

{ \
          GNOME_APP_UI_ITEM, \
          L, T, (gpointer) CB, (gpointer) ID, \
          NULL, GNOME_APP_PIXMAP_STOCK, GNOME_STOCK_MENU_BLANK, \
          0, GDK_CONTROL_MASK, NULL }

Definition at line 133 of file gxsm_menudef.h.

#define GXSM_TOOLBAR_ENTRY L,
T,
CB,
D,
PX   ) 
 

Value:

{ \
          GNOME_APP_UI_ITEM, \
          N_(L), N_(T), (gpointer) CB, (gpointer) D, \
          NULL, GNOME_APP_PIXMAP_STOCK, PX, \
          0, GDK_CONTROL_MASK, NULL }

Definition at line 353 of file gxsm_menudef.h.


Variable Documentation

GnomeUIInfo action_menu[] [static]
 

Initial value:

 {
  GXSM_MENU_F_D_S(N_("_Start Scan"), N_("Start scanning the Surface"), 
                  App::action_toolbar_callback, "Toolbar_Scan_Start",
                  GNOME_STOCK_MENU_EXEC),
  GXSM_MENU_F_D_S(N_("Start _Movie"), N_("Start Scanning the Surface periodically"), 
                  App::action_toolbar_callback, "Toolbar_Scan_Movie",
                  GNOME_STOCK_MENU_TIMER),
  GXSM_MENU_F_D_S(N_("Sto_p Scan"), N_("Stop a running Scan"), 
                  App::action_toolbar_callback, "Toolbar_Scan_Stop",
                  GNOME_STOCK_MENU_STOP),
  GXSM_MENU_F_D_S(N_("_Add Scan"), N_("Start a Scan in Data-Add-Mode"), 
                  App::action_toolbar_callback, "Toolbar_Scan_Start_Add",
                  GNOME_STOCK_MENU_EXEC),
  GXSM_MENU_F_D_S(N_("Add Movie"), N_("Start a Movie in Data-Add-Mode"), 
                  App::action_toolbar_callback, "Toolbar_Scan_Movie_Add",
                  GNOME_STOCK_MENU_EXEC),
  GNOMEUIINFO_END
}

Definition at line 85 of file gxsm_menudef.h.

GnomeUIInfo edit_menu[] [static]
 

Initial value:

 {
  GNOMEUIINFO_ITEM_STOCK(N_("Cro_p"), N_("Crop the selection to new scan"), 
                         (gpointer) App::edit_crop_callback, GNOME_STOCK_MENU_CUT),
  GNOMEUIINFO_ITEM_STOCK(N_("_Copy"), N_("Copy the scan to new channel"), 
                         (gpointer) App::edit_copy_callback, GNOME_STOCK_MENU_COPY),
  GNOMEUIINFO_END
}

Definition at line 69 of file gxsm_menudef.h.

GnomeUIInfo f_scan_export_submenu[] [static]
 

Initial value:

 {
  GNOMEUIINFO_END
}

Definition at line 37 of file gxsm_menudef.h.

GnomeUIInfo f_scan_import_submenu[] [static]
 

Initial value:

 {
  GNOMEUIINFO_END
}

Definition at line 33 of file gxsm_menudef.h.

GnomeUIInfo file_menu[] [static]
 

Initial value:

 {
  GNOMEUIINFO_ITEM_STOCK(N_("_Open ..."), N_("Open an existing scan"), 
                         (gpointer) App::file_open_callback, GNOME_STOCK_MENU_OPEN),
  GNOMEUIINFO_ITEM_STOCK(N_("Open to free _Channel ..."), N_("Open an existing scan and put it in a free Channel"), 
                         (gpointer) App::file_open_in_new_window_callback, GNOME_STOCK_MENU_OPEN),
  GNOMEUIINFO_ITEM_STOCK(N_("_Browse ..."), N_("Open scans with browser"), 
                         (gpointer) App::file_browse_callback, GNOME_STOCK_MENU_OPEN),
  GNOMEUIINFO_ITEM_STOCK(N_("_Save"), N_("Save scans with automatically generated names"), 
                         (gpointer) App::file_save_callback, GNOME_STOCK_MENU_SAVE),
  GNOMEUIINFO_ITEM_STOCK(N_("Save _as..."), N_("Save the active scan with a new name"), 
                         (gpointer) App::file_save_as_callback, GNOME_STOCK_MENU_SAVE_AS),
  
  GNOMEUIINFO_SEPARATOR,
  GNOMEUIINFO_SUBTREE (N_("_Import"), f_scan_import_submenu),
  GNOMEUIINFO_SUBTREE (N_("_Export"), f_scan_export_submenu),
  GNOMEUIINFO_SEPARATOR,
  
  GNOMEUIINFO_MENU_PRINT_ITEM( (gpointer) App::file_print_callback, NULL),
  GNOMEUIINFO_SEPARATOR,
  GNOMEUIINFO_ITEM_STOCK(N_("_Close"), N_("Close aktive scan"), 
                         (gpointer) App::file_close_callback, GNOME_STOCK_MENU_CLOSE),
  GNOMEUIINFO_ITEM_STOCK(N_("E_xit"), N_("Exit the GXSM"), 
                         (gpointer) App::file_exit_callback, GNOME_STOCK_MENU_QUIT),
  GNOMEUIINFO_END
}

Definition at line 41 of file gxsm_menudef.h.

GnomeUIInfo help_menu[] [static]
 

Initial value:

 {
  
  GNOMEUIINFO_ITEM_STOCK(N_("License"), N_("Show GXSM License terms (GPL)"), 
                         (gpointer) App::help_license_callback, GNOME_STOCK_MENU_BLANK),
  GNOMEUIINFO_ITEM_STOCK(N_("Manual"), N_("Show GXSM Manual"), 
                         (gpointer) App::help_manual_callback, GNOME_STOCK_MENU_BOOK_OPEN),
  GNOMEUIINFO_ITEM_STOCK(N_("Home"), N_("Show GXSM Homepage"), 
                         (gpointer) App::help_home_callback, GNOME_STOCK_PIXMAP_HELP),
  GNOMEUIINFO_ITEM_STOCK(N_("Show tip, take a tour"), N_("Show tip of the day, and/or take a tour to GXSM!"), 
                         (gpointer) App::help_tip_callback, GNOME_STOCK_MENU_BLANK),
  GNOMEUIINFO_TOGGLEITEM(N_("Enable Remote Tips"), N_("Enable showing of remote command tooltips for all entry fields."), 
                         (gpointer) App::help_remote_tt_callback,  NULL),
  GNOMEUIINFO_MENU_ABOUT_ITEM((gpointer) App::help_about_callback, NULL),
  GNOMEUIINFO_END
}

Definition at line 319 of file gxsm_menudef.h.

GnomeUIInfo main_menu[] [static]
 

Initial value:

 {
  GNOMEUIINFO_SUBTREE (N_("_File"), file_menu),
  GNOMEUIINFO_SUBTREE (N_("_Edit"), edit_menu),
  GNOMEUIINFO_SUBTREE (N_("_Action"), action_menu),
  GNOMEUIINFO_SUBTREE (N_("_View"), view_menu),
  GNOMEUIINFO_SUBTREE (N_("_Math"), math_menu),
  GNOMEUIINFO_SUBTREE (N_("_Windows"), windows_menu),
  GNOMEUIINFO_SUBTREE (N_("_Tools"), tools_menu),
  GNOMEUIINFO_SUBTREE (N_("_Settings"), settings_menu),
  GNOMEUIINFO_SUBTREE (N_("_Help"), help_menu),
  GNOMEUIINFO_END
}

Definition at line 337 of file gxsm_menudef.h.

GnomeUIInfo main_toolbar[] [static]
 

Initial value:

 {
        GXSM_TOOLBAR_ENTRY (N_("Scan"), N_("Start scanning the surface"),
                            App::action_toolbar_callback, "Toolbar_Scan_Start",
                            GNOME_STOCK_MENU_EXEC),
        GXSM_TOOLBAR_ENTRY (N_("Movie"), N_("Repeat scanning the surface..."),
                            App::action_toolbar_callback, "Toolbar_Scan_Movie",
                            GNOME_STOCK_MENU_TIMER),
        GXSM_TOOLBAR_ENTRY (N_("Stop"), N_("Stop a running scan"),
                            App::action_toolbar_callback, "Toolbar_Scan_Stop",
                            GNOME_STOCK_MENU_STOP),
        GNOMEUIINFO_ITEM_STOCK(N_("Open"), N_("Open an existing scan"), 
                               (gpointer) App::file_open_callback, GNOME_STOCK_MENU_OPEN),
        GNOMEUIINFO_ITEM_STOCK(N_("Save"), N_("Save scans with automatically generated names"), 
                               (gpointer) App::file_save_callback, GNOME_STOCK_MENU_SAVE),
  
  
        GNOMEUIINFO_ITEM_STOCK(N_("AutoDisp"), N_("Autoscale active view, use rectange for subregion!"), 
                               (gpointer) App::view_autodisp_callback, GNOME_STOCK_MENU_REFRESH),
        GNOMEUIINFO_ITEM_STOCK(N_("Exit"), N_("Exit the GXSM"), 
                               (gpointer) App::file_exit_callback, GNOME_STOCK_MENU_QUIT),
        GNOMEUIINFO_END
}

Definition at line 360 of file gxsm_menudef.h.

GnomeUIInfo math_ar_menu[] [static]
 

Initial value:

 {
        GNOMEUIINFO_END
}

Definition at line 203 of file gxsm_menudef.h.

GnomeUIInfo math_bg_menu[] [static]
 

Initial value:

 {
  GNOMEUIINFO_SEPARATOR,
  GXSM_FILTER_ENTRY(N_("Line Regress"),N_("do linear line regression"), (gpointer) App::math_onearg_callback, BgLin1DScan),
  GXSM_FILTER_ENTRY(N_("E Regression"),N_("plane regression (need rect. area)"), (gpointer) App::math_onearg_callback, BgERegress),
  GXSM_FILTER_ENTRY(N_("Paraboloid"),N_("do 2D parabolic regression"), (gpointer) App::math_onearg_callback, BgParabolRegress),
  
  
  GNOMEUIINFO_END
}

Definition at line 151 of file gxsm_menudef.h.

GnomeUIInfo math_cv_menu[] [static]
 

Initial value:

 {
        GNOMEUIINFO_END
}

Definition at line 199 of file gxsm_menudef.h.

GnomeUIInfo math_f1d_menu[] [static]
 

Initial value:

 {
  GXSM_FILTER_ENTRY(N_("Despike"),N_("despike lines"), (gpointer) App::math_onearg_callback, F1D_Despike),
  GNOMEUIINFO_SEPARATOR,
  GXSM_FILTER_ENTRY(N_("Power Spectrum"),N_("calc power spectrum for each line"), 
                    (gpointer) App::math_onearg_callback, F1D_LogPowerSpec),
  GXSM_FILTER_ENTRY(N_("FT Window"),N_("do inverse FT of by X masked FT of scan"), 
                    (gpointer) App::math_twoarg_callback, F1D_FT_Window),
  GXSM_FILTER_ENTRY(N_("FT Gaus Stop"),N_("IFT of 1D-Gaus (X) masked stop band of FT from scan"), 
                    (gpointer) App::math_twoarg_callback, F1D_FT_GaussStop),
  GXSM_FILTER_ENTRY(N_("FT Gaus Pass"),N_("IFT of 1D-Gaus (X) masked pass band of FT from scan"), 
                    (gpointer) App::math_twoarg_callback, F1D_FT_GaussPass),
  
  
  
  GNOMEUIINFO_END
}

Definition at line 161 of file gxsm_menudef.h.

GnomeUIInfo math_f2d_menu[] [static]
 

Initial value:

 {
  GXSM_FILTER_ENTRY(N_("Despike"),N_("do 2D despike"), (gpointer) App::math_onearg_callback, F2D_Despike),
  GXSM_FILTER_ENTRY(N_("Remove Rect"),N_("Remove 'bad' area"), (gpointer) App::math_onearg_callback, F2D_RemoveRect),
  GXSM_FILTER_ENTRY(N_("Line Shifts"),N_("Line Shifts correction"), (gpointer) App::math_onearg_callback, F2D_LineShifts),
  GXSM_FILTER_ENTRY(N_("Line Interpol"),N_("interpolate marked line"), (gpointer) App::math_onearg_callback, F2D_LineInterpol),
  
  GNOMEUIINFO_SEPARATOR,
  GXSM_FILTER_ENTRY(N_("Auto Correlation"),N_("do auto correlation"), (gpointer) App::math_onearg_callback, F2D_AutoCorr),
  GXSM_FILTER_ENTRY(N_("Power Spectrum"),N_("calc 2D power spektrum"), 
                    (gpointer) App::math_onearg_callback, F2D_LogPowerSpec),
  GNOMEUIINFO_SEPARATOR,
  GXSM_FILTER_ENTRY(N_("IFT(X*(FT()))"),N_("do inverse FT of by X masked FT of scan"), 
                    (gpointer) App::math_twoarg_callback, F2D_iftXft),
  GXSM_FILTER_ENTRY(N_("FT Gaus Stop"),N_("IFT of 2D-Gaus (X) masked stop band of FT from scan"), 
                    (gpointer) App::math_twoarg_callback, F2D_FT_GaussStop),
  GXSM_FILTER_ENTRY(N_("FT Gaus Pass"),N_("IFT of 2D-Gaus (X) masked pass band of FT from scan"), 
                    (gpointer) App::math_twoarg_callback, F2D_FT_GaussPass),
  
  GNOMEUIINFO_END
}

Definition at line 178 of file gxsm_menudef.h.

GnomeUIInfo math_menu[] [static]
 

Initial value:

 {
  GNOMEUIINFO_SUBTREE (N_("_Convert"), math_cv_menu),
  GNOMEUIINFO_SUBTREE (N_("_Arithmetic"), math_ar_menu),
  GNOMEUIINFO_SUBTREE (N_("_Background"), math_bg_menu),
  GNOMEUIINFO_SUBTREE (N_("Filter _1D"), math_f1d_menu),
  GNOMEUIINFO_SUBTREE (N_("Filter _2D"), math_f2d_menu),
  GNOMEUIINFO_SUBTREE (N_("_Transformations"), math_tr_menu),
  GNOMEUIINFO_SUBTREE (N_("_Statistics"), math_st_menu),
  GNOMEUIINFO_SUBTREE (N_("_Misc"), math_misc_menu),
  GNOMEUIINFO_SUBTREE (N_("_Probe"), math_probe_menu),
  
  
  GNOMEUIINFO_END
}

Definition at line 223 of file gxsm_menudef.h.

GnomeUIInfo math_misc_menu[] [static]
 

Initial value:

 {
        GNOMEUIINFO_END
}

Definition at line 215 of file gxsm_menudef.h.

GnomeUIInfo math_probe_menu[] [static]
 

Initial value:

 {
        GNOMEUIINFO_END
}

Definition at line 219 of file gxsm_menudef.h.

GnomeUIInfo math_st_menu[] [static]
 

Initial value:

 {
        GNOMEUIINFO_END
}

Definition at line 211 of file gxsm_menudef.h.

GnomeUIInfo math_tr_menu[] [static]
 

Initial value:

 {
        GNOMEUIINFO_END
}

Definition at line 207 of file gxsm_menudef.h.

GnomeUIInfo settings_load_preferences_menu[] [static]
 

Initial value:

 {
  GNOMEUIINFO_END
}

Definition at line 267 of file gxsm_menudef.h.

GnomeUIInfo settings_load_values_menu[] [static]
 

Initial value:

 {
  GXSM_SLD_ENTRY (N_("_Default"), N_("Load GXSM default values"), 
                  (gpointer) App::options_load_values_callback, "default"),
  GXSM_SLD_ENTRY (N_("_Test"), N_("Load GXSM TEST values"), 
                  (gpointer) App::options_load_values_callback, "test"),
  GXSM_SLD_ENTRY (N_("_STM"), N_("Load GXSM TEST values"), 
                  (gpointer) App::options_load_values_callback, "STM"),
  GXSM_SLD_ENTRY (N_("_Contact-AFM"), N_("Load GXSM TEST values"), 
                  (gpointer) App::options_load_values_callback, "Contact-AFM"),
  GXSM_SLD_ENTRY (N_("_Dynamic-AFM"), N_("Load GXSM TEST values"), 
                  (gpointer) App::options_load_values_callback, "Dynamic-AFM"),
  GNOMEUIINFO_END
}

Definition at line 287 of file gxsm_menudef.h.

GnomeUIInfo settings_menu[] [static]
 

Initial value:

 {
  GNOMEUIINFO_ITEM_STOCK(N_("_Preferences"), N_("Edit GXSM preferences"), 
                         (gpointer) App::options_preferences_callback, GNOME_STOCK_MENU_PREF),
  GNOMEUIINFO_SUBTREE (N_("_Save Preferences"), settings_save_preferences_menu),
  GNOMEUIINFO_SUBTREE (N_("_Load Preferences"), settings_load_preferences_menu),
  GNOMEUIINFO_SEPARATOR,
  GNOMEUIINFO_SUBTREE (N_("_Save Values"), settings_save_values_menu),
  GNOMEUIINFO_SUBTREE (N_("_Load Values"), settings_load_values_menu),



  GNOMEUIINFO_END
}

Definition at line 303 of file gxsm_menudef.h.

GnomeUIInfo settings_save_preferences_menu[] [static]
 

Initial value:

 {
  GNOMEUIINFO_END
}

Definition at line 263 of file gxsm_menudef.h.

GnomeUIInfo settings_save_values_menu[] [static]
 

Initial value:

 {
  GXSM_SLD_ENTRY (N_("_Default"), N_("Save GXSM default values"), 
                  (gpointer) App::options_save_values_callback, "default"),
  GXSM_SLD_ENTRY (N_("_Test"), N_("Save GXSM TEST values"), 
                  (gpointer) App::options_save_values_callback, "test"),
  GXSM_SLD_ENTRY (N_("_STM"), N_("Save GXSM TEST values"), 
                  (gpointer) App::options_save_values_callback, "STM"),
  GXSM_SLD_ENTRY (N_("_Contact-AFM"), N_("Save GXSM TEST values"), 
                  (gpointer) App::options_save_values_callback, "Contact-AFM"),
  GXSM_SLD_ENTRY (N_("_Dynamic-AFM"), N_("Save GXSM TEST values"), 
                  (gpointer) App::options_save_values_callback, "Dynamic-AFM"),
  GNOMEUIINFO_END
}

Definition at line 273 of file gxsm_menudef.h.

GnomeUIInfo tools_menu[] [static]
 

Initial value:

 {
  GNOMEUIINFO_ITEM_STOCK(N_("Make Icons..."), N_("Generate Iconpages"), 
                         (gpointer) App::tools_mkicons_callback, GNOME_STOCK_MENU_PRINT),
  GNOMEUIINFO_ITEM_STOCK(N_("Reload Plugins"), N_("Reload Plugins"), 
                         (gpointer) App::tools_plugin_reload_callback, GNOME_STOCK_MENU_REFRESH),
  GNOMEUIINFO_ITEM_STOCK(N_("Plugin Info"), N_("Show GXSM Plugin Info"), 
                         (gpointer) App::tools_plugin_info_callback, GNOME_STOCK_MENU_INDEX),

  GNOMEUIINFO_END
}

Definition at line 252 of file gxsm_menudef.h.

GnomeUIInfo view_menu[] [static]
 

Initial value:

 {
  GNOMEUIINFO_ITEM_STOCK(N_("Auto _Display"), N_("Set Display Values from Region Min/Max"), 
                         (gpointer) App::view_autodisp_callback, GNOME_STOCK_MENU_REFRESH),
  GNOMEUIINFO_TOGGLEITEM(N_("Autozoom"), N_("enable/disable autozoom/quench"), 
                         (gpointer) App::view_autozoom_callback, NULL),
  GNOMEUIINFO_TOGGLEITEM(N_("_Tolerant Auto Display"), N_("enable/disable intelligent auto scaling"), 
                         (gpointer) App::view_tolerant_callback, NULL),
  GNOMEUIINFO_TOGGLEITEM(N_("_Palette"), N_("Enable Color Palette Mode"), 
                         (gpointer) App::view_palette_callback,  NULL),
  GNOMEUIINFO_SEPARATOR,
  GNOMEUIINFO_ITEM_STOCK(N_("Zoom _in"), N_("Zoom into rectangular Area"), 
                         (gpointer) App::view_zoom_in_callback, GTK_STOCK_ZOOM_IN),
  GNOMEUIINFO_ITEM_STOCK(N_("Zoom _out"), N_("Zoom out - put whole image into rectangular Area"), 
                         (gpointer) App::view_zoom_out_callback, GTK_STOCK_ZOOM_OUT),
  GNOMEUIINFO_END
}

Definition at line 106 of file gxsm_menudef.h.

GnomeUIInfo windows_menu[] [static]
 

Initial value:

 {
  GNOMEUIINFO_ITEM_STOCK(N_("Channelselector"), N_("Open the Channelselector Window"), 
                         (gpointer) App::tools_chanselwin_callback, GNOME_STOCK_MENU_BLANK),
  GNOMEUIINFO_SEPARATOR,
  GNOMEUIINFO_ITEM_STOCK(N_("Monitor"), N_("View the Logging Table"), 
                         (gpointer) App::tools_monitor_callback, GNOME_STOCK_MENU_BLANK),

  GNOMEUIINFO_END
}

Definition at line 240 of file gxsm_menudef.h.


Generated on Sat Apr 1 09:04:37 2006 for GXSM by  doxygen 1.4.6