tkMacOSXDefault.h 18 KB

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