tkMacOSXDefault.h
上传用户:rrhhcc
上传日期:2015-12-11
资源大小:54129k
文件大小:17k
源码类别:

通讯编程

开发平台:

Visual C++

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