tkUnixDefault.h 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540
  1. /*
  2. * tkUnixDefault.h --
  3. *
  4. * This file defines the defaults for all options for all of
  5. * the Tk widgets.
  6. *
  7. * Copyright (c) 1991-1994 The Regents of the University of California.
  8. * Copyright (c) 1994-1997 Sun Microsystems, Inc.
  9. *
  10. * See the file "license.terms" for information on usage and redistribution
  11. * of this file, and for a DISCLAIMER OF ALL WARRANTIES.
  12. */
  13. #ifndef _TKUNIXDEFAULT
  14. #define _TKUNIXDEFAULT
  15. /*
  16. * The definitions below provide symbolic names for the default colors.
  17. * NORMAL_BG - Normal background color.
  18. * ACTIVE_BG - Background color when widget is active.
  19. * SELECT_BG - Background color for selected text.
  20. * TROUGH - Background color for troughs in scales and scrollbars.
  21. * INDICATOR - Color for indicator when button is selected.
  22. * DISABLED - Foreground color when widget is disabled.
  23. */
  24. #define BLACK "#000000"
  25. #define WHITE "#ffffff"
  26. #define NORMAL_BG "#d9d9d9"
  27. #define ACTIVE_BG "#ececec"
  28. #define SELECT_BG "#c3c3c3"
  29. #define TROUGH "#b3b3b3"
  30. #define INDICATOR WHITE
  31. #define DISABLED "#a3a3a3"
  32. /*
  33. * Defaults for labels, buttons, checkbuttons, and radiobuttons:
  34. */
  35. #define DEF_BUTTON_ANCHOR "center"
  36. #define DEF_BUTTON_ACTIVE_BG_COLOR ACTIVE_BG
  37. #define DEF_BUTTON_ACTIVE_BG_MONO BLACK
  38. #define DEF_BUTTON_ACTIVE_FG_COLOR BLACK
  39. #define DEF_CHKRAD_ACTIVE_FG_COLOR DEF_BUTTON_ACTIVE_FG_COLOR
  40. #define DEF_BUTTON_ACTIVE_FG_MONO WHITE
  41. #define DEF_BUTTON_BG_COLOR NORMAL_BG
  42. #define DEF_BUTTON_BG_MONO WHITE
  43. #define DEF_BUTTON_BITMAP ""
  44. #define DEF_BUTTON_BORDER_WIDTH "1"
  45. #define DEF_BUTTON_CURSOR ""
  46. #define DEF_BUTTON_COMPOUND "none"
  47. #define DEF_BUTTON_COMMAND ""
  48. #define DEF_BUTTON_DEFAULT "disabled"
  49. #define DEF_BUTTON_DISABLED_FG_COLOR DISABLED
  50. #define DEF_BUTTON_DISABLED_FG_MONO ""
  51. #define DEF_BUTTON_FG BLACK
  52. #define DEF_CHKRAD_FG DEF_BUTTON_FG
  53. #define DEF_BUTTON_FONT "TkDefaultFont"
  54. #define DEF_BUTTON_HEIGHT "0"
  55. #define DEF_BUTTON_HIGHLIGHT_BG_COLOR DEF_BUTTON_BG_COLOR
  56. #define DEF_BUTTON_HIGHLIGHT_BG_MONO DEF_BUTTON_BG_MONO
  57. #define DEF_BUTTON_HIGHLIGHT BLACK
  58. #define DEF_LABEL_HIGHLIGHT_WIDTH "0"
  59. #define DEF_BUTTON_HIGHLIGHT_WIDTH "1"
  60. #define DEF_BUTTON_IMAGE ((char *) NULL)
  61. #define DEF_BUTTON_INDICATOR "1"
  62. #define DEF_BUTTON_JUSTIFY "center"
  63. #define DEF_BUTTON_OFF_VALUE "0"
  64. #define DEF_BUTTON_ON_VALUE "1"
  65. #define DEF_BUTTON_TRISTATE_VALUE ""
  66. #define DEF_BUTTON_OVER_RELIEF ""
  67. #define DEF_BUTTON_PADX "3m"
  68. #define DEF_LABCHKRAD_PADX "1"
  69. #define DEF_BUTTON_PADY "1m"
  70. #define DEF_LABCHKRAD_PADY "1"
  71. #define DEF_BUTTON_RELIEF "raised"
  72. #define DEF_LABCHKRAD_RELIEF "flat"
  73. #define DEF_BUTTON_REPEAT_DELAY "0"
  74. #define DEF_BUTTON_REPEAT_INTERVAL "0"
  75. #define DEF_BUTTON_SELECT_COLOR INDICATOR
  76. #define DEF_BUTTON_SELECT_MONO BLACK
  77. #define DEF_BUTTON_SELECT_IMAGE ((char *) NULL)
  78. #define DEF_BUTTON_STATE "normal"
  79. #define DEF_LABEL_TAKE_FOCUS "0"
  80. #define DEF_BUTTON_TAKE_FOCUS ((char *) NULL)
  81. #define DEF_BUTTON_TEXT ""
  82. #define DEF_BUTTON_TEXT_VARIABLE ""
  83. #define DEF_BUTTON_UNDERLINE "-1"
  84. #define DEF_BUTTON_VALUE ""
  85. #define DEF_BUTTON_WIDTH "0"
  86. #define DEF_BUTTON_WRAP_LENGTH "0"
  87. #define DEF_RADIOBUTTON_VARIABLE "selectedButton"
  88. #define DEF_CHECKBUTTON_VARIABLE ""
  89. /*
  90. * Defaults for canvases:
  91. */
  92. #define DEF_CANVAS_BG_COLOR NORMAL_BG
  93. #define DEF_CANVAS_BG_MONO WHITE
  94. #define DEF_CANVAS_BORDER_WIDTH "0"
  95. #define DEF_CANVAS_CLOSE_ENOUGH "1"
  96. #define DEF_CANVAS_CONFINE "1"
  97. #define DEF_CANVAS_CURSOR ""
  98. #define DEF_CANVAS_HEIGHT "7c"
  99. #define DEF_CANVAS_HIGHLIGHT_BG NORMAL_BG
  100. #define DEF_CANVAS_HIGHLIGHT BLACK
  101. #define DEF_CANVAS_HIGHLIGHT_WIDTH "1"
  102. #define DEF_CANVAS_INSERT_BG BLACK
  103. #define DEF_CANVAS_INSERT_BD_COLOR "0"
  104. #define DEF_CANVAS_INSERT_BD_MONO "0"
  105. #define DEF_CANVAS_INSERT_OFF_TIME "300"
  106. #define DEF_CANVAS_INSERT_ON_TIME "600"
  107. #define DEF_CANVAS_INSERT_WIDTH "2"
  108. #define DEF_CANVAS_RELIEF "flat"
  109. #define DEF_CANVAS_SCROLL_REGION ""
  110. #define DEF_CANVAS_SELECT_COLOR SELECT_BG
  111. #define DEF_CANVAS_SELECT_MONO BLACK
  112. #define DEF_CANVAS_SELECT_BD_COLOR "1"
  113. #define DEF_CANVAS_SELECT_BD_MONO "0"
  114. #define DEF_CANVAS_SELECT_FG_COLOR BLACK
  115. #define DEF_CANVAS_SELECT_FG_MONO WHITE
  116. #define DEF_CANVAS_TAKE_FOCUS ((char *) NULL)
  117. #define DEF_CANVAS_WIDTH "10c"
  118. #define DEF_CANVAS_X_SCROLL_CMD ""
  119. #define DEF_CANVAS_X_SCROLL_INCREMENT "0"
  120. #define DEF_CANVAS_Y_SCROLL_CMD ""
  121. #define DEF_CANVAS_Y_SCROLL_INCREMENT "0"
  122. /*
  123. * Defaults for entries:
  124. */
  125. #define DEF_ENTRY_BG_COLOR WHITE
  126. #define DEF_ENTRY_BG_MONO WHITE
  127. #define DEF_ENTRY_BORDER_WIDTH "1"
  128. #define DEF_ENTRY_CURSOR "xterm"
  129. #define DEF_ENTRY_DISABLED_BG_COLOR NORMAL_BG
  130. #define DEF_ENTRY_DISABLED_BG_MONO WHITE
  131. #define DEF_ENTRY_DISABLED_FG DISABLED
  132. #define DEF_ENTRY_EXPORT_SELECTION "1"
  133. #define DEF_ENTRY_FONT "TkTextFont"
  134. #define DEF_ENTRY_FG BLACK
  135. #define DEF_ENTRY_HIGHLIGHT_BG NORMAL_BG
  136. #define DEF_ENTRY_HIGHLIGHT BLACK
  137. #define DEF_ENTRY_HIGHLIGHT_WIDTH "1"
  138. #define DEF_ENTRY_INSERT_BG BLACK
  139. #define DEF_ENTRY_INSERT_BD_COLOR "0"
  140. #define DEF_ENTRY_INSERT_BD_MONO "0"
  141. #define DEF_ENTRY_INSERT_OFF_TIME "300"
  142. #define DEF_ENTRY_INSERT_ON_TIME "600"
  143. #define DEF_ENTRY_INSERT_WIDTH "2"
  144. #define DEF_ENTRY_JUSTIFY "left"
  145. #define DEF_ENTRY_READONLY_BG_COLOR NORMAL_BG
  146. #define DEF_ENTRY_READONLY_BG_MONO WHITE
  147. #define DEF_ENTRY_RELIEF "sunken"
  148. #define DEF_ENTRY_SCROLL_COMMAND ""
  149. #define DEF_ENTRY_SELECT_COLOR SELECT_BG
  150. #define DEF_ENTRY_SELECT_MONO BLACK
  151. #define DEF_ENTRY_SELECT_BD_COLOR "0"
  152. #define DEF_ENTRY_SELECT_BD_MONO "0"
  153. #define DEF_ENTRY_SELECT_FG_COLOR BLACK
  154. #define DEF_ENTRY_SELECT_FG_MONO WHITE
  155. #define DEF_ENTRY_SHOW ((char *) NULL)
  156. #define DEF_ENTRY_STATE "normal"
  157. #define DEF_ENTRY_TAKE_FOCUS ((char *) NULL)
  158. #define DEF_ENTRY_TEXT_VARIABLE ""
  159. #define DEF_ENTRY_WIDTH "20"
  160. /*
  161. * Defaults for frames:
  162. */
  163. #define DEF_FRAME_BG_COLOR NORMAL_BG
  164. #define DEF_FRAME_BG_MONO WHITE
  165. #define DEF_FRAME_BORDER_WIDTH "0"
  166. #define DEF_FRAME_CLASS "Frame"
  167. #define DEF_FRAME_COLORMAP ""
  168. #define DEF_FRAME_CONTAINER "0"
  169. #define DEF_FRAME_CURSOR ""
  170. #define DEF_FRAME_HEIGHT "0"
  171. #define DEF_FRAME_HIGHLIGHT_BG NORMAL_BG
  172. #define DEF_FRAME_HIGHLIGHT BLACK
  173. #define DEF_FRAME_HIGHLIGHT_WIDTH "0"
  174. #define DEF_FRAME_LABEL ""
  175. #define DEF_FRAME_PADX "0"
  176. #define DEF_FRAME_PADY "0"
  177. #define DEF_FRAME_RELIEF "flat"
  178. #define DEF_FRAME_TAKE_FOCUS "0"
  179. #define DEF_FRAME_VISUAL ""
  180. #define DEF_FRAME_WIDTH "0"
  181. /*
  182. * Defaults for labelframes:
  183. */
  184. #define DEF_LABELFRAME_BORDER_WIDTH "2"
  185. #define DEF_LABELFRAME_CLASS "Labelframe"
  186. #define DEF_LABELFRAME_RELIEF "groove"
  187. #define DEF_LABELFRAME_FG BLACK
  188. #define DEF_LABELFRAME_FONT "TkDefaultFont"
  189. #define DEF_LABELFRAME_TEXT ""
  190. #define DEF_LABELFRAME_LABELANCHOR "nw"
  191. /*
  192. * Defaults for listboxes:
  193. */
  194. #define DEF_LISTBOX_ACTIVE_STYLE "dotbox"
  195. #define DEF_LISTBOX_BG_COLOR WHITE
  196. #define DEF_LISTBOX_BG_MONO WHITE
  197. #define DEF_LISTBOX_BORDER_WIDTH "1"
  198. #define DEF_LISTBOX_CURSOR ""
  199. #define DEF_LISTBOX_DISABLED_FG DISABLED
  200. #define DEF_LISTBOX_EXPORT_SELECTION "1"
  201. #define DEF_LISTBOX_FONT "TkDefaultFont"
  202. #define DEF_LISTBOX_FG BLACK
  203. #define DEF_LISTBOX_HEIGHT "10"
  204. #define DEF_LISTBOX_HIGHLIGHT_BG NORMAL_BG
  205. #define DEF_LISTBOX_HIGHLIGHT BLACK
  206. #define DEF_LISTBOX_HIGHLIGHT_WIDTH "1"
  207. #define DEF_LISTBOX_JUSTIFY "left"
  208. #define DEF_LISTBOX_RELIEF "sunken"
  209. #define DEF_LISTBOX_SCROLL_COMMAND ""
  210. #define DEF_LISTBOX_LIST_VARIABLE ""
  211. #define DEF_LISTBOX_SELECT_COLOR SELECT_BG
  212. #define DEF_LISTBOX_SELECT_MONO BLACK
  213. #define DEF_LISTBOX_SELECT_BD "0"
  214. #define DEF_LISTBOX_SELECT_FG_COLOR BLACK
  215. #define DEF_LISTBOX_SELECT_FG_MONO WHITE
  216. #define DEF_LISTBOX_SELECT_MODE "browse"
  217. #define DEF_LISTBOX_SET_GRID "0"
  218. #define DEF_LISTBOX_STATE "normal"
  219. #define DEF_LISTBOX_TAKE_FOCUS ((char *) NULL)
  220. #define DEF_LISTBOX_WIDTH "20"
  221. /*
  222. * Defaults for individual entries of menus:
  223. */
  224. #define DEF_MENU_ENTRY_ACTIVE_BG ((char *) NULL)
  225. #define DEF_MENU_ENTRY_ACTIVE_FG ((char *) NULL)
  226. #define DEF_MENU_ENTRY_ACCELERATOR ((char *) NULL)
  227. #define DEF_MENU_ENTRY_BG ((char *) NULL)
  228. #define DEF_MENU_ENTRY_BITMAP NULL
  229. #define DEF_MENU_ENTRY_COLUMN_BREAK "0"
  230. #define DEF_MENU_ENTRY_COMMAND ((char *) NULL)
  231. #define DEF_MENU_ENTRY_COMPOUND "none"
  232. #define DEF_MENU_ENTRY_FG ((char *) NULL)
  233. #define DEF_MENU_ENTRY_FONT ((char *) NULL)
  234. #define DEF_MENU_ENTRY_HIDE_MARGIN "0"
  235. #define DEF_MENU_ENTRY_IMAGE ((char *) NULL)
  236. #define DEF_MENU_ENTRY_INDICATOR "1"
  237. #define DEF_MENU_ENTRY_LABEL ((char *) NULL)
  238. #define DEF_MENU_ENTRY_MENU ((char *) NULL)
  239. #define DEF_MENU_ENTRY_OFF_VALUE "0"
  240. #define DEF_MENU_ENTRY_ON_VALUE "1"
  241. #define DEF_MENU_ENTRY_SELECT_IMAGE ((char *) NULL)
  242. #define DEF_MENU_ENTRY_STATE "normal"
  243. #define DEF_MENU_ENTRY_VALUE ((char *) NULL)
  244. #define DEF_MENU_ENTRY_CHECK_VARIABLE ((char *) NULL)
  245. #define DEF_MENU_ENTRY_RADIO_VARIABLE "selectedButton"
  246. #define DEF_MENU_ENTRY_SELECT ((char *) NULL)
  247. #define DEF_MENU_ENTRY_UNDERLINE "-1"
  248. /*
  249. * Defaults for menus overall:
  250. */
  251. #define DEF_MENU_ACTIVE_BG_COLOR ACTIVE_BG
  252. #define DEF_MENU_ACTIVE_BG_MONO BLACK
  253. #define DEF_MENU_ACTIVE_BORDER_WIDTH "1"
  254. #define DEF_MENU_ACTIVE_FG_COLOR BLACK
  255. #define DEF_MENU_ACTIVE_FG_MONO WHITE
  256. #define DEF_MENU_BG_COLOR NORMAL_BG
  257. #define DEF_MENU_BG_MONO WHITE
  258. #define DEF_MENU_BORDER_WIDTH "1"
  259. #define DEF_MENU_CURSOR "arrow"
  260. #define DEF_MENU_DISABLED_FG_COLOR DISABLED
  261. #define DEF_MENU_DISABLED_FG_MONO ""
  262. #define DEF_MENU_FONT "TkMenuFont"
  263. #define DEF_MENU_FG BLACK
  264. #define DEF_MENU_POST_COMMAND ""
  265. #define DEF_MENU_RELIEF "raised"
  266. #define DEF_MENU_SELECT_COLOR BLACK
  267. #define DEF_MENU_SELECT_MONO BLACK
  268. #define DEF_MENU_TAKE_FOCUS "0"
  269. #define DEF_MENU_TEAROFF "1"
  270. #define DEF_MENU_TEAROFF_CMD ((char *) NULL)
  271. #define DEF_MENU_TITLE ""
  272. #define DEF_MENU_TYPE "normal"
  273. /*
  274. * Defaults for menubuttons:
  275. */
  276. #define DEF_MENUBUTTON_ANCHOR "center"
  277. #define DEF_MENUBUTTON_ACTIVE_BG_COLOR ACTIVE_BG
  278. #define DEF_MENUBUTTON_ACTIVE_BG_MONO BLACK
  279. #define DEF_MENUBUTTON_ACTIVE_FG_COLOR BLACK
  280. #define DEF_MENUBUTTON_ACTIVE_FG_MONO WHITE
  281. #define DEF_MENUBUTTON_BG_COLOR NORMAL_BG
  282. #define DEF_MENUBUTTON_BG_MONO WHITE
  283. #define DEF_MENUBUTTON_BITMAP ""
  284. #define DEF_MENUBUTTON_BORDER_WIDTH "1"
  285. #define DEF_MENUBUTTON_CURSOR ""
  286. #define DEF_MENUBUTTON_DIRECTION "below"
  287. #define DEF_MENUBUTTON_DISABLED_FG_COLOR DISABLED
  288. #define DEF_MENUBUTTON_DISABLED_FG_MONO ""
  289. #define DEF_MENUBUTTON_FONT "TkDefaultFont"
  290. #define DEF_MENUBUTTON_FG BLACK
  291. #define DEF_MENUBUTTON_HEIGHT "0"
  292. #define DEF_MENUBUTTON_HIGHLIGHT_BG_COLOR DEF_MENUBUTTON_BG_COLOR
  293. #define DEF_MENUBUTTON_HIGHLIGHT_BG_MONO DEF_MENUBUTTON_BG_MONO
  294. #define DEF_MENUBUTTON_HIGHLIGHT BLACK
  295. #define DEF_MENUBUTTON_HIGHLIGHT_WIDTH "0"
  296. #define DEF_MENUBUTTON_IMAGE ((char *) NULL)
  297. #define DEF_MENUBUTTON_INDICATOR "0"
  298. #define DEF_MENUBUTTON_JUSTIFY "center"
  299. #define DEF_MENUBUTTON_MENU ""
  300. #define DEF_MENUBUTTON_PADX "4p"
  301. #define DEF_MENUBUTTON_PADY "3p"
  302. #define DEF_MENUBUTTON_RELIEF "flat"
  303. #define DEF_MENUBUTTON_STATE "normal"
  304. #define DEF_MENUBUTTON_TAKE_FOCUS "0"
  305. #define DEF_MENUBUTTON_TEXT ""
  306. #define DEF_MENUBUTTON_TEXT_VARIABLE ""
  307. #define DEF_MENUBUTTON_UNDERLINE "-1"
  308. #define DEF_MENUBUTTON_WIDTH "0"
  309. #define DEF_MENUBUTTON_WRAP_LENGTH "0"
  310. /*
  311. * Defaults for messages:
  312. */
  313. #define DEF_MESSAGE_ANCHOR "center"
  314. #define DEF_MESSAGE_ASPECT "150"
  315. #define DEF_MESSAGE_BG_COLOR NORMAL_BG
  316. #define DEF_MESSAGE_BG_MONO WHITE
  317. #define DEF_MESSAGE_BORDER_WIDTH "1"
  318. #define DEF_MESSAGE_CURSOR ""
  319. #define DEF_MESSAGE_FG BLACK
  320. #define DEF_MESSAGE_FONT "TkDefaultFont"
  321. #define DEF_MESSAGE_HIGHLIGHT_BG NORMAL_BG
  322. #define DEF_MESSAGE_HIGHLIGHT BLACK
  323. #define DEF_MESSAGE_HIGHLIGHT_WIDTH "0"
  324. #define DEF_MESSAGE_JUSTIFY "left"
  325. #define DEF_MESSAGE_PADX "-1"
  326. #define DEF_MESSAGE_PADY "-1"
  327. #define DEF_MESSAGE_RELIEF "flat"
  328. #define DEF_MESSAGE_TAKE_FOCUS "0"
  329. #define DEF_MESSAGE_TEXT ""
  330. #define DEF_MESSAGE_TEXT_VARIABLE ""
  331. #define DEF_MESSAGE_WIDTH "0"
  332. /*
  333. * Defaults for panedwindows
  334. */
  335. #define DEF_PANEDWINDOW_BG_COLOR NORMAL_BG
  336. #define DEF_PANEDWINDOW_BG_MONO WHITE
  337. #define DEF_PANEDWINDOW_BORDERWIDTH "1"
  338. #define DEF_PANEDWINDOW_CURSOR ""
  339. #define DEF_PANEDWINDOW_HANDLEPAD "8"
  340. #define DEF_PANEDWINDOW_HANDLESIZE "8"
  341. #define DEF_PANEDWINDOW_HEIGHT ""
  342. #define DEF_PANEDWINDOW_OPAQUERESIZE "1"
  343. #define DEF_PANEDWINDOW_ORIENT "horizontal"
  344. #define DEF_PANEDWINDOW_PROXYBORDER "2"
  345. #define DEF_PANEDWINDOW_RELIEF "flat"
  346. #define DEF_PANEDWINDOW_SASHCURSOR ""
  347. #define DEF_PANEDWINDOW_SASHPAD "0"
  348. #define DEF_PANEDWINDOW_SASHRELIEF "flat"
  349. #define DEF_PANEDWINDOW_SASHWIDTH "3"
  350. #define DEF_PANEDWINDOW_SHOWHANDLE "0"
  351. #define DEF_PANEDWINDOW_WIDTH ""
  352. /*
  353. * Defaults for panedwindow panes
  354. */
  355. #define DEF_PANEDWINDOW_PANE_AFTER ""
  356. #define DEF_PANEDWINDOW_PANE_BEFORE ""
  357. #define DEF_PANEDWINDOW_PANE_HEIGHT ""
  358. #define DEF_PANEDWINDOW_PANE_MINSIZE "0"
  359. #define DEF_PANEDWINDOW_PANE_PADX "0"
  360. #define DEF_PANEDWINDOW_PANE_PADY "0"
  361. #define DEF_PANEDWINDOW_PANE_STICKY "nsew"
  362. #define DEF_PANEDWINDOW_PANE_WIDTH ""
  363. #define DEF_PANEDWINDOW_PANE_HIDE "0"
  364. #define DEF_PANEDWINDOW_PANE_STRETCH "last"
  365. /*
  366. * Defaults for scales:
  367. */
  368. #define DEF_SCALE_ACTIVE_BG_COLOR ACTIVE_BG
  369. #define DEF_SCALE_ACTIVE_BG_MONO BLACK
  370. #define DEF_SCALE_BG_COLOR NORMAL_BG
  371. #define DEF_SCALE_BG_MONO WHITE
  372. #define DEF_SCALE_BIG_INCREMENT "0"
  373. #define DEF_SCALE_BORDER_WIDTH "1"
  374. #define DEF_SCALE_COMMAND ""
  375. #define DEF_SCALE_CURSOR ""
  376. #define DEF_SCALE_DIGITS "0"
  377. #define DEF_SCALE_FONT "TkDefaultFont"
  378. #define DEF_SCALE_FG_COLOR BLACK
  379. #define DEF_SCALE_FG_MONO BLACK
  380. #define DEF_SCALE_FROM "0"
  381. #define DEF_SCALE_HIGHLIGHT_BG_COLOR DEF_SCALE_BG_COLOR
  382. #define DEF_SCALE_HIGHLIGHT_BG_MONO DEF_SCALE_BG_MONO
  383. #define DEF_SCALE_HIGHLIGHT BLACK
  384. #define DEF_SCALE_HIGHLIGHT_WIDTH "1"
  385. #define DEF_SCALE_LABEL ""
  386. #define DEF_SCALE_LENGTH "100"
  387. #define DEF_SCALE_ORIENT "vertical"
  388. #define DEF_SCALE_RELIEF "flat"
  389. #define DEF_SCALE_REPEAT_DELAY "300"
  390. #define DEF_SCALE_REPEAT_INTERVAL "100"
  391. #define DEF_SCALE_RESOLUTION "1"
  392. #define DEF_SCALE_TROUGH_COLOR TROUGH
  393. #define DEF_SCALE_TROUGH_MONO WHITE
  394. #define DEF_SCALE_SHOW_VALUE "1"
  395. #define DEF_SCALE_SLIDER_LENGTH "30"
  396. #define DEF_SCALE_SLIDER_RELIEF "raised"
  397. #define DEF_SCALE_STATE "normal"
  398. #define DEF_SCALE_TAKE_FOCUS ((char *) NULL)
  399. #define DEF_SCALE_TICK_INTERVAL "0"
  400. #define DEF_SCALE_TO "100"
  401. #define DEF_SCALE_VARIABLE ""
  402. #define DEF_SCALE_WIDTH "15"
  403. /*
  404. * Defaults for scrollbars:
  405. */
  406. #define DEF_SCROLLBAR_ACTIVE_BG_COLOR ACTIVE_BG
  407. #define DEF_SCROLLBAR_ACTIVE_BG_MONO BLACK
  408. #define DEF_SCROLLBAR_ACTIVE_RELIEF "raised"
  409. #define DEF_SCROLLBAR_BG_COLOR NORMAL_BG
  410. #define DEF_SCROLLBAR_BG_MONO WHITE
  411. #define DEF_SCROLLBAR_BORDER_WIDTH "1"
  412. #define DEF_SCROLLBAR_COMMAND ""
  413. #define DEF_SCROLLBAR_CURSOR ""
  414. #define DEF_SCROLLBAR_EL_BORDER_WIDTH "-1"
  415. #define DEF_SCROLLBAR_HIGHLIGHT_BG NORMAL_BG
  416. #define DEF_SCROLLBAR_HIGHLIGHT BLACK
  417. #define DEF_SCROLLBAR_HIGHLIGHT_WIDTH "0"
  418. #define DEF_SCROLLBAR_JUMP "0"
  419. #define DEF_SCROLLBAR_ORIENT "vertical"
  420. #define DEF_SCROLLBAR_RELIEF "sunken"
  421. #define DEF_SCROLLBAR_REPEAT_DELAY "300"
  422. #define DEF_SCROLLBAR_REPEAT_INTERVAL "100"
  423. #define DEF_SCROLLBAR_TAKE_FOCUS ((char *) NULL)
  424. #define DEF_SCROLLBAR_TROUGH_COLOR TROUGH
  425. #define DEF_SCROLLBAR_TROUGH_MONO WHITE
  426. #define DEF_SCROLLBAR_WIDTH "11"
  427. /*
  428. * Defaults for texts:
  429. */
  430. #define DEF_TEXT_AUTO_SEPARATORS "1"
  431. #define DEF_TEXT_BG_COLOR WHITE
  432. #define DEF_TEXT_BG_MONO WHITE
  433. #define DEF_TEXT_BLOCK_CURSOR "0"
  434. #define DEF_TEXT_BORDER_WIDTH "1"
  435. #define DEF_TEXT_CURSOR "xterm"
  436. #define DEF_TEXT_FG BLACK
  437. #define DEF_TEXT_EXPORT_SELECTION "1"
  438. #define DEF_TEXT_FONT "TkFixedFont"
  439. #define DEF_TEXT_HEIGHT "24"
  440. #define DEF_TEXT_HIGHLIGHT_BG NORMAL_BG
  441. #define DEF_TEXT_HIGHLIGHT BLACK
  442. #define DEF_TEXT_HIGHLIGHT_WIDTH "1"
  443. #define DEF_TEXT_INSERT_BG BLACK
  444. #define DEF_TEXT_INSERT_BD_COLOR "0"
  445. #define DEF_TEXT_INSERT_BD_MONO "0"
  446. #define DEF_TEXT_INSERT_OFF_TIME "300"
  447. #define DEF_TEXT_INSERT_ON_TIME "600"
  448. #define DEF_TEXT_INSERT_UNFOCUSSED "none"
  449. #define DEF_TEXT_INSERT_WIDTH "2"
  450. #define DEF_TEXT_MAX_UNDO "0"
  451. #define DEF_TEXT_PADX "1"
  452. #define DEF_TEXT_PADY "1"
  453. #define DEF_TEXT_RELIEF "sunken"
  454. #define DEF_TEXT_INACTIVE_SELECT_COLOR SELECT_BG
  455. #define DEF_TEXT_SELECT_COLOR SELECT_BG
  456. #define DEF_TEXT_SELECT_MONO BLACK
  457. #define DEF_TEXT_SELECT_BD_COLOR "0"
  458. #define DEF_TEXT_SELECT_BD_MONO "0"
  459. #define DEF_TEXT_SELECT_FG_COLOR BLACK
  460. #define DEF_TEXT_SELECT_FG_MONO WHITE
  461. #define DEF_TEXT_SELECT_RELIEF "raised"
  462. #define DEF_TEXT_SET_GRID "0"
  463. #define DEF_TEXT_SPACING1 "0"
  464. #define DEF_TEXT_SPACING2 "0"
  465. #define DEF_TEXT_SPACING3 "0"
  466. #define DEF_TEXT_STATE "normal"
  467. #define DEF_TEXT_TABS ""
  468. #define DEF_TEXT_TABSTYLE "tabular"
  469. #define DEF_TEXT_TAKE_FOCUS ((char *) NULL)
  470. #define DEF_TEXT_UNDO "0"
  471. #define DEF_TEXT_WIDTH "80"
  472. #define DEF_TEXT_WRAP "char"
  473. #define DEF_TEXT_XSCROLL_COMMAND ""
  474. #define DEF_TEXT_YSCROLL_COMMAND ""
  475. /*
  476. * Defaults for canvas text:
  477. */
  478. #define DEF_CANVTEXT_FONT "TkDefaultFont"
  479. /*
  480. * Defaults for canvas items
  481. * (arcs, bitmaps, lines, polygons, rectangles, and ovals):
  482. */
  483. #define DEF_CANVBMAP_FG BLACK
  484. #define DEF_CANVITEM_OUTLINE BLACK
  485. /*
  486. * Defaults for toplevels (most of the defaults for frames also apply
  487. * to toplevels):
  488. */
  489. #define DEF_TOPLEVEL_CLASS "Toplevel"
  490. #define DEF_TOPLEVEL_MENU ""
  491. #define DEF_TOPLEVEL_SCREEN ""
  492. #define DEF_TOPLEVEL_USE ""
  493. /*
  494. * Defaults for busy windows:
  495. */
  496. #define DEF_BUSY_CURSOR "watch"
  497. #endif /* _TKUNIXDEFAULT */