home *** CD-ROM | disk | FTP | other *** search
/ CD Actual Thematic 7: Programming / CDAT7.iso / Share / Editores / Perl5 / perl / lib / site / Tk / pTk / tixDef.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-08-10  |  5.2 KB  |  167 lines

  1. /*
  2.  * tixdef.h --
  3.  *
  4.  *    This file defines the defaults for all options for all of
  5.  *    the Tix widgets.
  6.  *
  7.  * Copyright (c) 1996, Expert Interface Technologies
  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.  
  13. #ifndef TIX_DEFAULT
  14. #define TIX_DEFAULT
  15.  
  16. /*
  17.  * Include the defaults of the TK distriburion
  18.  */
  19. #ifndef _DEFAULT
  20. #include <default.h>
  21. #endif
  22.  
  23. #define BORDER_COLOR            "gray"
  24.  
  25. /*
  26.  * Compound widget
  27.  */
  28. #define DEF_CMPIMAGE_BG_COLOR        NORMAL_BG
  29. #define DEF_CMPIMAGE_BG_MONO        WHITE
  30. #define DEF_CMPIMAGE_FG_COLOR        BLACK
  31. #define DEF_CMPIMAGE_FG_MONO        BLACK
  32. #define DEF_CMPIMAGE_FONT          "-Adobe-Helvetica-Bold-R-Normal--*-120-*"
  33.  
  34. /*
  35.  * tixHList widget
  36.  */
  37. #define DEF_HLIST_BG_COLOR        NORMAL_BG
  38. #define DEF_HLIST_BG_MONO        WHITE
  39. #define DEF_HLIST_BORDER_WIDTH        "2"
  40. #define DEF_HLIST_BROWSE_COMMAND    ""
  41. #define DEF_HLIST_COMMAND        ""
  42. #define DEF_HLIST_COLUMNS        "1"
  43. #define DEF_HLIST_CURSOR        ""
  44. #define DEF_HLIST_DISPLAY_MODE        "tree"
  45. #define DEF_HLIST_DRAG_COMMAND        ""
  46. #define DEF_HLIST_DRAW_BRANCH        "true"
  47. #define DEF_HLIST_DROP_COMMAND        ""
  48. #define DEF_HLIST_EXPORT_SELECTION    "0"
  49. #define DEF_HLIST_FONT              "-Adobe-Helvetica-Bold-R-Normal--*-120-*"
  50. #define DEF_HLIST_FG_COLOR        BLACK
  51. #define DEF_HLIST_FG_MONO        BLACK
  52. #define DEF_HLIST_HEADER        "0"
  53. #define DEF_HLIST_HEIGHT        "10"
  54. #define DEF_HLIST_HIGHLIGHT_COLOR    BLACK
  55. #define DEF_HLIST_HIGHLIGHT_MONO    BLACK
  56. #define DEF_HLIST_HIGHLIGHT_WIDTH    "2"
  57. #define DEF_HLIST_RELIEF        "sunken"
  58. #define DEF_HLIST_ORIENT        "vertical"
  59. #define DEF_HLIST_PADX            "2"
  60. #define DEF_HLIST_PADY            "2"
  61. #define DEF_HLIST_GAP            "5"
  62. #define DEF_HLIST_INDENT        "10"
  63. #define DEF_HLIST_INDICATOR        "0"
  64. #define DEF_HLIST_INDICATOR_CMD        ""
  65. #define DEF_HLIST_ITEM_TYPE        "text"
  66. #define DEF_HLIST_SELECT_BG_COLOR    ACTIVE_BG
  67. #define DEF_HLIST_SELECT_FG_COLOR    BLACK
  68. #define DEF_HLIST_SELECT_BG_MONO    BLACK
  69. #define DEF_HLIST_SELECT_FG_MONO    WHITE
  70. #define DEF_HLIST_SELECT_MODE        "browse"
  71. #define DEF_HLIST_SELECT_BORDERWIDTH    "1"
  72. #define DEF_HLIST_SEPARATOR        "."
  73. #define DEF_HLIST_SIZE_COMMAND        ""
  74. #define DEF_HLIST_TAKE_FOCUS         "1"
  75. #define DEF_HLIST_WIDTH            "20"
  76. #define DEF_HLIST_WIDE_SELECT        "true"
  77. #define DEF_HLIST_Y_SCROLL_COMMAND    ""
  78. #define DEF_HLIST_X_SCROLL_COMMAND    ""
  79.  
  80. /*
  81.  * HList Entry
  82.  */
  83. #define DEF_HLISTENTRY_BITMAP     ""
  84. #define DEF_HLISTENTRY_DATA     ""
  85. #define DEF_HLISTENTRY_GAP     "4"
  86. #define DEF_HLISTENTRY_IMAGE     ""
  87. #define DEF_HLISTENTRY_JUSTIFY     "left"
  88. #define DEF_HLISTENTRY_NAME     ""
  89. #define DEF_HLISTENTRY_PADX     "2"
  90. #define DEF_HLISTENTRY_PADY     "2"
  91. #define DEF_HLISTENTRY_STATE     "normal"
  92. #define DEF_HLISTENTRY_TEXT     ""
  93. #define DEF_HLISTENTRY_UNDERLINE "-1"
  94. #define DEF_HLISTENTRY_WIDGET     ""
  95. #define DEF_HLISTENTRY_WLENGTH     "0"
  96.  
  97. /*
  98.  * HList Entry
  99.  */
  100. #define DEF_HLISTHEADER_BG_COLOR    NORMAL_BG
  101. #define DEF_HLISTHEADER_BG_MONO        WHITE
  102. #define DEF_HLISTHEADER_BORDER_WIDTH    "2"
  103. #define DEF_HLISTHEADER_RELIEF        "raised"
  104.  
  105. /*
  106.  * tixNBFrame widget
  107.  */
  108. #define DEF_NOTEBOOKFRAME_ACTIVE_BG_COLOR    ACTIVE_BG
  109. #define DEF_NOTEBOOKFRAME_ACTIVE_BG_MONO    BLACK
  110. #define DEF_NOTEBOOKFRAME_INACTIVE_BG_COLOR    TROUGH
  111. #define DEF_NOTEBOOKFRAME_INACTIVE_BG_MONO    WHITE
  112. #define DEF_NOTEBOOKFRAME_BACKPAGE_COLOR    NORMAL_BG
  113. #define DEF_NOTEBOOKFRAME_BACKPAGE_MONO        WHITE
  114. #define DEF_NOTEBOOKFRAME_BG_COLOR        NORMAL_BG
  115. #define DEF_NOTEBOOKFRAME_BG_MONO        WHITE
  116. #define DEF_NOTEBOOKFRAME_DISABLED_FG_COLOR    DISABLED
  117. #define DEF_NOTEBOOKFRAME_DISABLED_FG_MONO    ""
  118. #define DEF_NOTEBOOKFRAME_FOCUS_COLOR        BLACK
  119. #define DEF_NOTEBOOKFRAME_FOCUS_MONO        BLACK
  120. #define DEF_NOTEBOOKFRAME_BORDER_WIDTH        "2"
  121. #define DEF_NOTEBOOKFRAME_CURSOR        ""
  122. #define DEF_NOTEBOOKFRAME_FONT          "-Adobe-Helvetica-Bold-R-Normal--*-120-*"
  123. #define DEF_NOTEBOOKFRAME_FG_COLOR        BLACK
  124. #define DEF_NOTEBOOKFRAME_FG_MONO        BLACK
  125. #define DEF_NOTEBOOKFRAME_RELIEF        "sunken"
  126. #define DEF_NOTEBOOKFRAME_SLAVE            "1"
  127. #define DEF_NOTEBOOKFRAME_TAKE_FOCUS        "1"
  128. #define DEF_NOTEBOOKFRAME_WIDTH            "10"
  129. #define DEF_NOTEBOOKFRAME_TABPADX        "6"
  130. #define DEF_NOTEBOOKFRAME_TABPADY        "5"
  131.  
  132. /*
  133.  * tixTList.h
  134.  */
  135. #define DEF_TLIST_BG_COLOR            NORMAL_BG
  136. #define DEF_TLIST_BG_MONO            WHITE
  137. #define DEF_TLIST_BORDER_WIDTH            "2"
  138. #define DEF_TLIST_BROWSE_COMMAND        ""
  139. #define DEF_TLIST_COMMAND            ""
  140. #define DEF_TLIST_CURSOR            ""
  141. #define DEF_TLIST_FONT              "-Adobe-Helvetica-Bold-R-Normal--*-120-*"
  142. #define DEF_TLIST_FG_COLOR            BLACK
  143. #define DEF_TLIST_FG_MONO            BLACK
  144. #define DEF_TLIST_HEIGHT            "10"
  145. #define DEF_TLIST_HIGHLIGHT_COLOR        BLACK
  146. #define DEF_TLIST_HIGHLIGHT_MONO        BLACK
  147. #define DEF_TLIST_HIGHLIGHT_WIDTH        "2"
  148. #define DEF_TLIST_ITEM_TYPE            "text"
  149. #define DEF_TLIST_RELIEF            "sunken"
  150. #define DEF_TLIST_ORIENT            "vertical"
  151. #define DEF_TLIST_PADX                "2"
  152. #define DEF_TLIST_PADY                "2"
  153. #define DEF_TLIST_SELECT_BG_COLOR        ACTIVE_BG
  154. #define DEF_TLIST_SELECT_FG_COLOR        BLACK
  155. #define DEF_TLIST_SELECT_BG_MONO        BLACK
  156. #define DEF_TLIST_SELECT_FG_MONO        WHITE
  157. #define DEF_TLIST_SELECT_MODE            "browse"
  158. #define DEF_TLIST_SELECT_BORDERWIDTH        "1"
  159. #define DEF_TLIST_STATE                "normal"
  160. #define DEF_TLIST_SIZE_COMMAND            ""
  161. #define DEF_TLIST_TAKE_FOCUS             "1"
  162. #define DEF_TLIST_WIDTH                "20"
  163. #define DEF_TLIST_Y_SCROLL_COMMAND        ""
  164. #define DEF_TLIST_X_SCROLL_COMMAND        ""
  165.  
  166. #endif /* TIX_DEFAULT */
  167.