135 lines
3.9 KiB
C
135 lines
3.9 KiB
C
|
/*
|
||
|
* Defaults for tkgframes, tkgbuttons, and tkgmenubuttons:
|
||
|
*/
|
||
|
|
||
|
#define LEFT "left"
|
||
|
#define RIGHT "right"
|
||
|
#define TOP "top"
|
||
|
#define BOTTOM "bottom"
|
||
|
#define BACKGROUND "background"
|
||
|
|
||
|
#define BLACK "Black"
|
||
|
#define WHITE "White"
|
||
|
|
||
|
#define NORMAL_BG "#d9d9d9"
|
||
|
#define ACTIVE_BG "#ececec"
|
||
|
#define SELECT_BG "#c3c3c3"
|
||
|
#define TROUGH "#c3c3c3"
|
||
|
#define INDICATOR "#b03060"
|
||
|
#define DISABLED "#a3a3a3"
|
||
|
|
||
|
#define DEF_BUTTON_ANCHOR "center"
|
||
|
#define DEF_BUTTON_ACTIVE_BG_COLOR ACTIVE_BG
|
||
|
#define DEF_BUTTON_ACTIVE_BG_MONO BLACK
|
||
|
#define DEF_BUTTON_ACTIVE_FG_COLOR BLACK
|
||
|
#define DEF_BUTTON_ACTIVE_FG_MONO WHITE
|
||
|
#define DEF_BUTTON_BG_COLOR NORMAL_BG
|
||
|
#define DEF_BUTTON_BG_MONO WHITE
|
||
|
#define DEF_BUTTON_BITMAP ""
|
||
|
#define DEF_BUTTON_BORDER_WIDTH "1"
|
||
|
#define DEF_BUTTON_CURSOR ""
|
||
|
#define DEF_BUTTON_COMMAND ""
|
||
|
#define DEF_BUTTON_DEFAULT "0"
|
||
|
#define DEF_BUTTON_DISABLED_FG_COLOR DISABLED
|
||
|
#define DEF_BUTTON_DISABLED_FG_MONO ""
|
||
|
#define DEF_BUTTON_EXEC ""
|
||
|
#define DEF_BUTTON_FG BLACK
|
||
|
#define DEF_BUTTON_FONT "Helvetica 12 bold"
|
||
|
#define DEF_BUTTON_HEIGHT "0"
|
||
|
#define DEF_BUTTON_HIGHLIGHT_BG NORMAL_BG
|
||
|
#define DEF_BUTTON_HIGHLIGHT BLACK
|
||
|
#define DEF_LABEL_HIGHLIGHT_WIDTH "0"
|
||
|
#define DEF_BUTTON_HIGHLIGHT_WIDTH "2"
|
||
|
#define DEF_BUTTON_ICONSIDE TOP
|
||
|
#define DEF_BUTTON_IMAGE (char *) NULL
|
||
|
#define DEF_BUTTON_INDICATOR "1"
|
||
|
#define DEF_BUTTON_JUSTIFY "center"
|
||
|
#define DEF_BUTTON_OFF_VALUE "0"
|
||
|
#define DEF_BUTTON_ON_VALUE "1"
|
||
|
#define DEF_BUTTON_PADX "3m"
|
||
|
#define DEF_BUTTON_PADY "1m"
|
||
|
#define DEF_BUTTON_RELIEF "raised"
|
||
|
#define DEF_LABCHKRAD_PADX "1"
|
||
|
#define DEF_LABCHKRAD_PADY "1"
|
||
|
#define DEF_LABCHKRAD_RELIEF "flat"
|
||
|
#define DEF_BUTTON_SELECT_COLOR INDICATOR
|
||
|
#define DEF_BUTTON_SELECT_MONO BLACK
|
||
|
#define DEF_BUTTON_SELECT_IMAGE (char *) NULL
|
||
|
#define DEF_BUTTON_SEP "2m"
|
||
|
#define DEF_BUTTON_STATE "normal"
|
||
|
#define DEF_BUTTON_STAYDOWN "1"
|
||
|
#define DEF_LABEL_TAKE_FOCUS "0"
|
||
|
#define DEF_BUTTON_TAKE_FOCUS (char *) NULL
|
||
|
#define DEF_BUTTON_TEXT ""
|
||
|
#define DEF_BUTTON_TEXT_VARIABLE ""
|
||
|
#define DEF_BUTTON_TILEIMAGE (char *) NULL
|
||
|
#define DEF_BUTTON_UNDERLINE "-1"
|
||
|
#define DEF_BUTTON_VALUE ""
|
||
|
#define DEF_BUTTON_WEIGHT "1"
|
||
|
#define DEF_BUTTON_WIDTH "0"
|
||
|
#define DEF_BUTTON_WINDOWNAME ""
|
||
|
#define DEF_BUTTON_WRAP_LENGTH "0"
|
||
|
#define DEF_RADIOBUTTON_VARIABLE "selectedButton"
|
||
|
#define DEF_CHECKBUTTON_VARIABLE ""
|
||
|
|
||
|
#define DEF_MENUBUTTON_MENU ""
|
||
|
|
||
|
|
||
|
/*
|
||
|
* Defaults for tkgframes:
|
||
|
*/
|
||
|
|
||
|
#define DEF_FRAME_BG_COLOR NORMAL_BG
|
||
|
#define DEF_FRAME_BG_MONO WHITE
|
||
|
#define DEF_FRAME_BORDER_WIDTH "0"
|
||
|
#define DEF_FRAME_CLASS "Tkgframe"
|
||
|
#define DEF_FRAME_COLORMAP ""
|
||
|
#define DEF_FRAME_CONTAINER "0"
|
||
|
#define DEF_FRAME_CURSOR ""
|
||
|
#define DEF_FRAME_HEIGHT "0"
|
||
|
#define DEF_FRAME_HIGHLIGHT_BG NORMAL_BG
|
||
|
#define DEF_FRAME_HIGHLIGHT BLACK
|
||
|
#define DEF_FRAME_HIGHLIGHT_WIDTH "0"
|
||
|
#define DEF_FRAME_RELIEF "flat"
|
||
|
#define DEF_FRAME_TAKE_FOCUS "0"
|
||
|
#define DEF_FRAME_TILEIMAGE (char *) NULL
|
||
|
#define DEF_FRAME_USE ""
|
||
|
#define DEF_FRAME_VISUAL ""
|
||
|
#define DEF_FRAME_WIDTH "0"
|
||
|
|
||
|
/*
|
||
|
* Defaults for toplevels (most of the defaults for frames also apply
|
||
|
* to toplevels):
|
||
|
*/
|
||
|
|
||
|
#define DEF_TOPLEVEL_CLASS "Toplevel"
|
||
|
#define DEF_TOPLEVEL_MENU ""
|
||
|
#define DEF_TOPLEVEL_SCREEN ""
|
||
|
|
||
|
/*
|
||
|
* Defaults for tkgmenus overall:
|
||
|
*/
|
||
|
|
||
|
#define DEF_MENU_ACTIVE_BG_COLOR ACTIVE_BG
|
||
|
#define DEF_MENU_ACTIVE_BG_MONO BLACK
|
||
|
#define DEF_MENU_ACTIVE_BORDER_WIDTH "1"
|
||
|
#define DEF_MENU_ACTIVE_FG_COLOR BLACK
|
||
|
#define DEF_MENU_ACTIVE_FG_MONO WHITE
|
||
|
#define DEF_MENU_BG_COLOR NORMAL_BG
|
||
|
#define DEF_MENU_BG_MONO WHITE
|
||
|
#define DEF_MENU_BORDER_WIDTH "1"
|
||
|
#define DEF_MENU_CURSOR "arrow"
|
||
|
#define DEF_MENU_DISABLED_FG_COLOR DISABLED
|
||
|
#define DEF_MENU_DISABLED_FG_MONO ""
|
||
|
#define DEF_MENU_FONT "Helvetica 12 bold"
|
||
|
#define DEF_MENU_FG BLACK
|
||
|
#define DEF_MENU_POST_COMMAND ""
|
||
|
#define DEF_MENU_RELIEF "raised"
|
||
|
#define DEF_MENU_SELECT_COLOR INDICATOR
|
||
|
#define DEF_MENU_SELECT_MONO BLACK
|
||
|
#define DEF_MENU_TAKE_FOCUS "0"
|
||
|
#define DEF_MENU_TEAROFF "1"
|
||
|
#define DEF_MENU_TEAROFF_CMD (char *) NULL
|
||
|
#define DEF_MENU_TRANSIENT "1"
|
||
|
#define DEF_MENU_TYPE "normal"
|