Select Git revision
Callbacks.cpp
Forked from
gmsh / gmsh
Source project has a limited visibility.
DefaultOptions.h 84.48 KiB
// Gmsh - Copyright (C) 1997-2009 C. Geuzaine, J.-F. Remacle
//
// See the LICENSE.txt file for license information. Please report all
// bugs and problems to <gmsh@geuz.org>.
#ifndef _DEFAULT_OPTIONS_H_
#define _DEFAULT_OPTIONS_H_
#include "GmshConfig.h"
#include "GmshDefines.h"
#include "Options.h"
// PLEASE RESPECT THE ALPHABETICAL ORDER WHEN
// INSERTING A NEW OPTION!
//
// Option Database (General, Geometry, Mesh, Post, View, Print), with
// default values. The first number defines the level of saving: O
// for the option file, S for the session file and F for the full
// listing:
#define S GMSH_SESSIONRC
#define O GMSH_OPTIONSRC
#define F GMSH_FULLRC
// STRINGS
StringXString GeneralOptions_String[] = {
{ F|O, "AxesFormatX" , opt_general_axes_format0 , "%.3g" ,
"Number format for X-axis (in standard C form)" },
{ F|O, "AxesFormatY" , opt_general_axes_format1 , "%.3g" ,
"Number format for Y-axis (in standard C form)" },
{ F|O, "AxesFormatZ" , opt_general_axes_format2 , "%.3g" ,
"Number format for Z-axis (in standard C form)" },
{ F|O, "AxesLabelX" , opt_general_axes_label0 , "" ,
"X-axis label" },
{ F|O, "AxesLabelY" , opt_general_axes_label1 , "" ,
"Y-axis label" },
{ F|O, "AxesLabelZ" , opt_general_axes_label2 , "" ,
"Z-axis label" },
{ F|O, "BackgroundImageFileName" , opt_general_background_image_filename , "" ,
"Background image file in JPEG or PNG format" },
{ F|O, "DefaultFileName" , opt_general_default_filename , "untitled.geo" ,
"Default project file name" },
{ F, "Display" , opt_general_display , "" ,
"X server to use (only for Unix versions)" },
{ F|O, "ErrorFileName" , opt_general_error_filename , ".gmsh-errors" ,
"File into which the log is saved if a fatal error occurs" },
{ F, "FileName" , opt_general_filename , "" ,
"Current project file name (read-only)" },
{ F|O, "FltkTheme" , opt_general_gui_theme , "" ,
"FLTK user interface theme (try e.g. plastic or gtk+)" },
{ F|O, "GraphicsFont" , opt_general_graphics_font , "Helvetica" ,
"Font used in the graphic window" },
{ F|S, "OptionsFileName" , opt_general_options_filename , ".gmsh-options" ,
"Option file created with `Tools->Options->Save'; automatically read on startup" },
{ 0, "SessionFileName" , opt_general_session_filename , ".gmshrc" ,
"Option file into which session specific information is saved; automatically read on startup" },
{ F|O, "TextEditor" , opt_general_editor ,
#if defined(WIN32)
"notepad.exe %s" ,
#elif defined(__APPLE__)
"open -t %s" ,