#ifndef DEFAULT_H #define DEFAULT_H #include /* default width of a column (in "characters") */ #define DEF_COLUMNWIDTH 12 /* The number of vertical slices to divide a row into. Note that only integer multiples of this have any effect in console mode, but fteapot can save and respect non- integer multiples of this value */ #define ROWHEIGHT_DENOMINATOR 12 /* default height of a row, in units of ROWHEIGHT_DENOMINATOR, i.e. these should be equal to make the default height be one. */ #define DEF_ROWHEIGHT 12 /* default precision of a printed value */ /* Since the default format now counts significant figures rather than digits after the decimal, bumping this to 3 */ #define DEF_PRECISION 3 /* default is compact notation for floating point numbers */ #define DEF_FLOATFORM FLT_COMPACT /* character attribute for cell and row numbers */ #define DEF_NUMBER A_BOLD /* character attribute for cell cursor */ #define DEF_CELLCURSOR A_REVERSE /* character attribute for selected menu choice */ #define DEF_MENU A_REVERSE /* maximum number of sort keys */ #define MAX_SORTKEYS 8 /* maximum number of eval() nesting */ #define MAX_EVALNEST 32 /* define if testing with EletricFence */ #ifdef THE_ELECTRIC_FENCE #undef malloc #undef free #undef realloc #undef calloc #endif #endif