home *** CD-ROM | disk | FTP | other *** search
/ Netrunner 2004 October / NETRUNNER0410.ISO / regular / ActivePerl-5.8.4.810-MSWin32-x86.msi / _06cf637157a6e3d1770013cd59cfcc76 < prev    next >
Encoding:
Text File  |  2004-06-01  |  17.2 KB  |  526 lines

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