home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / tcltk805.zip / tcl805s.zip / tk8.0.5 / os2 / tkOS2Default.h < prev    next >
C/C++ Source or Header  |  2000-03-23  |  15KB  |  464 lines

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