home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / gkdemo.zip / GUI-KIT.GKR < prev    next >
Text File  |  1994-11-14  |  22KB  |  851 lines

  1.  
  2. # GUI-Kit standard defaults.
  3. # Do NOT change this file. If you wish to override a 
  4. # default, do it in an application or user resource file.
  5. # This file should be included by application resource files.
  6.  
  7. # Syntax of a resource file:
  8. #
  9. # - '#' to the end of the line represents a comment.
  10. #
  11. # - White space is generally ignored, but it is used as a delimiter.
  12. #   Any white space appearing in the grammar indicates that white space must separate
  13. #   the tokens
  14. #
  15. # - <include-directive> may appear anywhere within any context
  16. #
  17. # - <if-directive> may appear anywhere within any context
  18. #
  19. # - Keywords are case insensitive
  20. #
  21. # - Identifiers are case sensitive and normally represented by the characters:
  22. #    A-Z, a-z, 0-9, _ (underscore), - (dash)
  23. #   Identifiers can be placed within 
  24. #   either double or single quotes to allow other characters, including white space.
  25. #   The recommend standard is place user-defined names within quotes.
  26. #
  27. # - <grule> refers to grammar rule "grule".
  28. #
  29. # - If one of several parameters is required, it is expressed with:
  30. #    "{ parm1 | parm2 | ... }"
  31. #
  32. # - If one of several parameters is optional, it is expressed with:
  33. #    "[ optional-parm1 | optional-parm2 ]"
  34. #
  35. # - Single quotes in a grammar rule specify literal text.
  36. #
  37. # - Any rule ending in "-name" indicates an identifier. 
  38. #
  39. # - "..." means that the previous specification can be repeated.
  40.  
  41. # resource-file: [ spec ... ]
  42.  
  43. # spec:
  44. #     font-map
  45. # |    color-map
  46. # |    options-list
  47. # |    create-subclass
  48. # |    class-defaults
  49. # |    instance-defaults
  50. # |    object-group
  51.  
  52. # font-map:  'Fonts' '{' [ <font-spec> ... ] '}'
  53.  
  54. # color-map:  'Colors' '{' [ <color-spec > ... ] '}'
  55.  
  56. # options-list: 'Options' '{' [ key-name value-string ... ] '}'
  57.  
  58. # attribute-spec:
  59. #    attribute-name            # Attribute of the current class context
  60. # |    class-name '.' attribute-name    # Fully qualified attribute name
  61.  
  62. # class-defaults: 'ClassDefaults' class-name '{' [ <default-spec> ... ]  '}'
  63.  
  64. # instance-defaults: 'InstanceDefaults' class-name inst-name { [ <default-spec> ...  ] }
  65.  
  66. # create-subclass: 'CreateSubClass' new-class-name 'From' existing-class-name '{' 
  67. #    [ <default-spec> ... ] '}'
  68.  
  69. # object-group: 'ObjectGroup' object-group-name '{' [ <object-spec> ... ] '}'
  70.  
  71. # font-spec: symbolic-font-name     system-font-name
  72.  
  73. # color-spec: 
  74. #    symbolic-color-name  <system-color-spec>
  75.  
  76. # system-color-spec:
  77. #    '#'rgb            # hexadecimal RGB color spec, 'r' = red, 'g' = green, 'b' = blue
  78. # |    '#'rrggbb
  79. # |    '#'rrrrggggbbbb
  80. # |    '$'system-color-name    # a system-dependent color starting with '$'
  81. # |    symbolic-color-name    # recursive reference to another symbolic color
  82.  
  83. # default-spec: 
  84. #    <attribute-spec>  value-string
  85.  
  86. # object-spec: 'Object' class-name instance-name [ 'Parent' parent-instance-name ] '{'
  87. #            [ { <default-spec> | <object-spec> } ... ] '}'
  88.  
  89. # Note: The default-spec portion is equivalent to with no default-spec
  90. # followed by instance-defaults for the same instance. 
  91. # E.g.:
  92. # Object Frame "MyFrame" { Sizable True }
  93. #
  94. #   is the same as:
  95. #
  96. # Object Frame "MyFrame" { } InstanceDefaults Frame "MyFrame" { Sizable True }
  97. #
  98. # If `instance-name' is specified
  99. # as an empty string or a dash (-), it tells GUI-Kit to automatically assign a unique
  100. # instance name.  This should only be used if you do not need to reference the instance
  101. # by name  As specified, object-spec can be nested; in which case, the Parent clause
  102. # may not be specified because the parent is taken from the next-higher level.
  103.  
  104. # include-directive: '!include' "filename"
  105.  
  106. # resource-var:
  107. #    'ApplicationName'    # Name of Application reading the resources
  108. # |    '$'env-var-name        # Name of an environment variable
  109.  
  110. # conditional-expr:
  111. #    <resource-var> '=' string
  112. # |    <resource-var> '!=' string
  113.  
  114. # if-directive: '!if' <conditional-expr> [ true part ... ] 
  115. #    [ '!else' false part ...] '!endif'
  116.  
  117. # ----------------------------------------------------------------------
  118. # GUI-Kit global options
  119. Options {
  120.     GKDefaultScale    "Medium"
  121.     GKDetailedMsgs    "True"
  122.     # 3D controls for Windows are activated by setting 
  123.     # GKWindows3DControls to a non-empty string
  124.     GKWindows3DControls "X"
  125. }
  126.  
  127. # ----------------------------------------------------------------------
  128. # Class defaults. We have tried to minimize the number of defaults by
  129. # commenting-out direct-class attributes that are 0 or False.  When
  130. # an object is initially created, its contents are set to zero. Commenting
  131. # of defaults must only be done with class defaults, and then only with
  132. # attributes that belong to the class.
  133. #
  134. # A sub-class inherits the parent class's defaults.  Thus, a sub-class
  135. # need not repeat a default that is already set to the same value on a
  136. # parent class.
  137.  
  138. ClassDefaults Button {
  139.     Type        Push
  140.     Style        Button
  141.     LabelPosition    Center
  142.     State        Off
  143.     AllowDefault    True
  144. }
  145.  
  146. CreateSubClass PushButton From Button {
  147.     # Inherits Button's defaults (equivalent to creating a Button)
  148.     # Button.Type        Push
  149.     # Button.Style        Button
  150.     # Button.LabelPosition    Center
  151.     # Button.State        Off
  152.     # Button.AllowDefault    True
  153. }
  154.  
  155. CreateSubClass ToggleButton From Button {
  156.     Button.Type        Toggle
  157.     # Button.Style        Button
  158.     # Button.LabelPosition    Center
  159.     # Button.State        Off
  160.     Button.AllowDefault    False
  161. }
  162.  
  163. CreateSubClass ExclToggleButton From Button {
  164.     Button.Type        ExclToggle
  165.     # Button.Style        Button
  166.     # Button.LabelPosition    Center
  167.     # Button.State        Off
  168.     Button.AllowDefault    False
  169.     Button.ExclGroup    1    # Application should override this
  170. }
  171.  
  172. CreateSubClass CheckButton From Button {
  173.     Button.Type        Toggle
  174.     Button.Style        CheckBox
  175.     Button.LabelPosition    Right
  176.     # Button.State        Off
  177.     Button.AllowDefault    False
  178. }
  179.  
  180. CreateSubClass RadioButton From Button {
  181.     Button.Type        ExclToggle
  182.     Button.Style        RadioButton
  183.     Button.LabelPosition    Right
  184.     # Button.State        Off
  185.     Button.AllowDefault    False
  186.     Button.ExclGroup    1    # Application should override this
  187. }
  188.  
  189. # ----------------------------------------------------------------------
  190. ClassDefaults ComboBox {
  191.     Style            DropDownEdit
  192.     VisibleItems        10
  193.     VisibleChars        20
  194.     EditText        ""
  195.     FontObj            "Default-Font"
  196.     # MaxEnterableChars    0    # 0 == system max
  197.     # Modified        False
  198. }
  199.  
  200. CreateSubClass AlwaysVisibleComboBox From ComboBox {
  201.     ComboBox.Style        AlwaysVisible
  202. }
  203.  
  204. CreateSubClass DropDownEditComboBox From ComboBox {
  205.     # ComboBox.Style    DropDownEdit - Inherits ComboBox's style, which is the same
  206. }
  207.  
  208. CreateSubClass DropDownConstComboBox From ComboBox {
  209.     ComboBox.Style        DropDownConst
  210. }
  211.  
  212. # ----------------------------------------------------------------------
  213. ClassDefaults Cursor {
  214.     StdCursor        StandardPtr
  215. }
  216.  
  217. # ----------------------------------------------------------------------
  218. ClassDefaults Edit {
  219.     Text            ""
  220.     FontObj            "Default-Font"
  221.     VisibleChars        20
  222.     VisibleLines        1
  223.     # MaxEnterableChars    0    # 0 == system max
  224.     # HorzScroll        False
  225.     # VertScroll        False
  226.     # RightAlign        False
  227.     # CnvLowerCase        False
  228.     # CnvUpperCase        False
  229.     # Masked        False
  230.     # ReadOnly        False
  231.     # Modified        False
  232. }
  233.  
  234. # ----------------------------------------------------------------------
  235. ClassDefaults FileDialog {
  236.     Filters        "All Files, *.*"
  237.     OpenStyle    -
  238. }
  239.  
  240. CreateSubClass FileOpenDialog From FileDialog {
  241. }
  242.  
  243. CreateSubClass FileSaveAsDialog From FileDialog {
  244.     FileDialog.SaveAsStyle    -
  245. }
  246.  
  247. # ----------------------------------------------------------------------
  248. ClassDefaults Font {
  249.     #
  250.     # Fonts are ALWAYS referenced once by default.  This means they can't
  251.     # be destroyed unless you explicitly dereference them.
  252.     #
  253.     IR.ReferenceObj        -
  254.     SmallScalePoint        100    # 10.0pt
  255.     MediumScalePoint    120    # 12.0pt
  256.     LargeScalePoint        140    # 14.0pt
  257.     ExtraLargeScalePoint    180    # 18.0pt
  258.     # Scale - defaults to the DefaultScale option value
  259.     # Arial-Bold is looks similar to the system font, but is scalable
  260.     Name            "Arial-Bold"
  261. }
  262.  
  263. # ----------------------------------------------------------------------
  264. ClassDefaults Form {
  265.     NoAutoLayout        -
  266.     FrameStyle        NONE
  267.     RightMargin        3mm
  268.     BottomMargin        3mm
  269. }
  270.  
  271. CreateSubClass FormWithFlatFrame From Form {
  272.     Form.FrameStyle        FLAT
  273. }
  274.  
  275. CreateSubClass FormWithEtchedFrame From Form {
  276.     Form.FrameStyle        ETCHED
  277.     Window.BackgroundColor    GK-3D-Background
  278. }
  279.  
  280. CreateSubClass FormWithRaisedFrame From Form {
  281.     Form.FrameStyle        RAISED
  282.     Window.BackgroundColor    GK-3D-Background
  283. }
  284.  
  285. CreateSubClass FormWithSunkenFrame From Form {
  286.     Form.FrameStyle        SUNKEN
  287.     Window.BackgroundColor    GK-3D-Background
  288. }
  289.  
  290. # ----------------------------------------------------------------------
  291. ClassDefaults Frame {
  292.     MinSize            "1cm, 1cm"
  293.     MaxSize            "0, 0"    # 0,0 = Default to system maximum size
  294.     CanMinimize        True
  295.     CanMaximize        True
  296.     Sizable            True
  297.     SystemMenu        True
  298.     Title            "Frame"
  299.     DelayedShow        True
  300. }
  301.  
  302. CreateSubClass DialogFrame From Frame {
  303.     Frame.Sizable        False
  304.     Frame.CanMinimize    False
  305.     Frame.CanMaximize    False
  306. }
  307.  
  308. # ----------------------------------------------------------------------
  309. ClassDefaults GfxArc {
  310.     GfxObj.LineWidth    1
  311.     GfxObj.LineStyle    SOLID
  312.     Geometry        "0, 0, 5cm, 5cm, 0, 360"
  313.     FillRenderMode        Pie
  314. }
  315.  
  316. # ----------------------------------------------------------------------
  317. ClassDefaults GfxContainer {
  318.     Layout            LayoutAsIs
  319. }
  320.  
  321. # ----------------------------------------------------------------------
  322. ClassDefaults GfxImage {
  323.     Origin            "0, 0"
  324.     Tile            False
  325. }
  326.  
  327. # ----------------------------------------------------------------------
  328. ClassDefaults GfxLine {
  329.     GfxObj.LineWidth    1
  330.     GfxObj.LineStyle    SOLID
  331.     GfxObj.LineCapStyle    BUTT
  332.     GfxObj.LineJoinStyle    MITER
  333.     Line            "0, 0, 5cm, 5cm"
  334. }
  335.  
  336. # ----------------------------------------------------------------------
  337. ClassDefaults GfxObj {
  338.     IR.DestroyWithParent    True
  339.     Show            True
  340.     GfxOp            COPY
  341.     ForegroundColor        "Black"
  342. }
  343.  
  344. # ----------------------------------------------------------------------
  345. ClassDefaults GfxRectangle {
  346.     GfxObj.LineWidth    1
  347.     GfxObj.LineStyle    SOLID
  348.     GfxObj.LineJoinStyle    MITER
  349.     Geometry        "0, 0, 5cm, 5cm"
  350. }
  351.  
  352. # ----------------------------------------------------------------------
  353. ClassDefaults GfxText {
  354.     GfxObj.ForegroundColor    "GKText"
  355.     GfxObj.FontObj        "Default-Font"
  356.     TransparentBackground    True
  357.     # Note:  Width/height are zero to indicate one-line text
  358.     # Geometry        "0, 0, 0, 0"
  359.     # WordWrap        False
  360.     # RightJustify        False
  361.     # Center        False
  362.     # Underline        False
  363.     # StrikeOut        False
  364. }
  365.  
  366. # ----------------------------------------------------------------------
  367. ClassDefaults Image {
  368.     Depth         0        # Depth of display
  369. }
  370.  
  371. # ----------------------------------------------------------------------
  372. ClassDefaults InputObj {
  373.     Focusable        True
  374.     TabStop            True
  375.     # Disabled        False
  376. }
  377.  
  378. # ----------------------------------------------------------------------
  379. ClassDefaults List {
  380.     MaxItemHeight        1cm
  381.     # MaxItemWidth        0    # 0 = no horz scrolling
  382.     VisibleItems        10
  383.     VisibleWidth        5cm
  384. }
  385.  
  386. # ----------------------------------------------------------------------
  387. ClassDefaults Menu {
  388.     Type            Horizontal
  389.     Window.LeftDistance    0
  390.     Window.UpperDistance    0
  391.     Window.RightEdge    FixedRight
  392.     Window.BackgroundColor    "GKMenuBackground"
  393. }
  394.  
  395. CreateSubClass HorzMenu From Menu {
  396.     Menu.Type        Horizontal
  397. }
  398.  
  399. CreateSubClass VertMenu From Menu {
  400.     Menu.Type        Vertical
  401. }
  402.  
  403. # ----------------------------------------------------------------------
  404. ClassDefaults MenuItem {
  405.     IR.DestroyWithParent    True
  406. }
  407.  
  408. CreateSubClass MenuItemSeparator From MenuItem {
  409.     MenuItem.Separator    True
  410. }
  411.  
  412. # ----------------------------------------------------------------------
  413. ClassDefaults ScrollBar {
  414.     TotalUnits        100
  415.     # UnitsFromTop        0
  416.     UnitsInView        100
  417.     IncrementUnits        1
  418.     StopWhenEndInView    True
  419. }
  420.  
  421. CreateSubClass HorzScrollBar From ScrollBar {
  422.     ScrollBar.Horizontal    -
  423.     Window.Width        5cm
  424. }
  425.  
  426. CreateSubClass VertScrollBar From ScrollBar {
  427.     ScrollBar.Vertical    -
  428.     Window.Height        5cm
  429. }
  430.  
  431. # ----------------------------------------------------------------------
  432. ClassDefaults Slider {
  433.     Window.Width        5cm
  434.     # MinValue        0
  435.     MaxValue        100
  436.     # Position        0
  437.     IncrementUnits        1
  438. }
  439.  
  440. # ----------------------------------------------------------------------
  441. ClassDefaults Timer {
  442.     Interval        1000    # 1 sec    (1000 ms)
  443.     Active            True
  444. }
  445.  
  446. # ----------------------------------------------------------------------
  447. ClassDefaults TextList {
  448.     VisibleChars        20
  449.     FontObj            "Default-Font"
  450. }
  451.  
  452. # ----------------------------------------------------------------------
  453. ClassDefaults ViewPort {
  454.     FrameStyle        Sunken
  455.     # ControlChildSize    False (false automatically)
  456.     Window.Width        5cm
  457.     Window.Height        5cm
  458. }
  459.  
  460. CreateSubClass ViewPortHorzScrollBar From ScrollBar {
  461.     ScrollBar.Horizontal    -
  462.     ScrollBar.NotifyProc    "gkViewPortScrollBarNotifyProc"
  463.     ScrollBar.IncrementUnits 3mm
  464.     InputObj.Focusable    False
  465. }
  466.  
  467. CreateSubClass ViewPortVertScrollBar From ScrollBar {
  468.     ScrollBar.Vertical    -
  469.     ScrollBar.NotifyProc    "gkViewPortScrollBarNotifyProc"
  470.     ScrollBar.IncrementUnits 3mm
  471.     InputObj.Focusable    False
  472. }
  473.  
  474.  
  475. # ----------------------------------------------------------------------
  476. ClassDefaults Window {
  477.     IR.DestroyWithParent    True
  478.     LeftDistance        3mm
  479.     UpperDistance        3mm
  480.     LeftEdge        FixedLeft
  481.     RightEdge        FixedLeft
  482.     TopEdge            FixedTop
  483.     BottomEdge        FixedTop
  484.     # Busy            False
  485.     # Show - inherited from parent 
  486.     # BackgroundColor - inherited from parent 
  487.     # Cursor - System standard cursor for a window - usually a pointer
  488. }
  489.  
  490. # ----------------------------------------------------------------------
  491. # Font Map for MS-Windows
  492. #
  493. # Platform Independent Font Name to Platform Dependent Font Name Map
  494. # Syntax:
  495. #   Platform-Independent-Font-Name   Platform-Font-Name
  496. #
  497. # Single or double quotes can be used around names to embed spaces in
  498. # the name.
  499. #
  500. # The Platform-Independent-Font-Name can be any name you desire.  If
  501. # the font is not scalable, suffix the font name with: "-PP.p" where
  502. # PP.p is the point size (e.g. "-12.0"). Specific point sizes will be
  503. # searched first, followed by scalable fonts.
  504. #
  505. # The Platform-Font-Name syntax for MS-Windows is:
  506. #    -facename-pitch-family-weight-italic-underline-strikeout-charset
  507. #
  508. # The first character, "-" in this case, is the delimiter character to
  509. # be used for the rest of the string.  
  510. #
  511. # Where:
  512. # facename: is the face name of the font
  513. # pitch: {DEFAULT|FIXED|VARIABLE}
  514. # family: {ANY|DECORATIVE|MODERN|ROMAN|SCRIPT|SWISS}
  515. # weight: {ANY|THIN|EXTRALIGHT|LIGHT|NORMAL|MEDIUM|SEMIBOLD|BOLD|EXTRABOLD|HEAVY}
  516. # italic: {ITALIC|NO_ITALIC}
  517. # underline: {UNDERLINE|NO_UNDERLINE}
  518. # strikeout: {STRIKEOUT|NO_STRIKEOUT}
  519. # charset: {ANSI|UNICODE|SYMBOL|SHIFTJIS|OEM|HANGEUL|CHINESEBIG5}
  520. #     HANGEUL and CHINESEBIG5 are only in Win32.
  521. Fonts {
  522.     Courier    "-Courier New-FIXED-ANY-NORMAL-NO_ITALIC-NO_UNDERLINE-NO_STRIKEOUT-ANSI"
  523.     Courier-Bold
  524.         "-Courier New-FIXED-ANY-BOLD-NO_ITALIC-NO_UNDERLINE-NO_STRIKEOUT-ANSI"
  525.     Courier-Italic
  526.         "-Courier New-FIXED-ANY-NORMAL-ITALIC-NO_UNDERLINE-NO_STRIKEOUT-ANSI"
  527.     Courier-Bold-Italic
  528.         "-Courier New-FIXED-ANY-BOLD-ITALIC-NO_UNDERLINE-NO_STRIKEOUT-ANSI"
  529.     Times-Roman
  530.         "-Times New Roman-VARIABLE-ANY-NORMAL-NO_ITALIC-NO_UNDERLINE-NO_STRIKEOUT-ANSI"
  531.     Times-Roman-Bold
  532.         "-Times New Roman-VARIABLE-ANY-BOLD-NO_ITALIC-NO_UNDERLINE-NO_STRIKEOUT-ANSI"
  533.     Times-Roman-Italic
  534.         "-Times New Roman-VARIABLE-ANY-NORMAL-ITALIC-NO_UNDERLINE-NO_STRIKEOUT-ANSI"
  535.  
  536.     Arial
  537.         "-Arial-VARIABLE-ANY-NORMAL-NO_ITALIC-NO_UNDERLINE-NO_STRIKEOUT-ANSI"
  538.     Arial-Bold
  539.         "-Arial-VARIABLE-ANY-BOLD-NO_ITALIC-NO_UNDERLINE-NO_STRIKEOUT-ANSI"
  540.     Arial-Italic
  541.         "-Arial-VARIABLE-ANY-NORMAL-ITALIC-NO_UNDERLINE-NO_STRIKEOUT-ANSI"
  542.  
  543.     # This font is not truly scalable
  544.     System    "-System-VARIABLE-ANY-NORMAL-NO_ITALIC-NO_UNDERLINE-NO_STRIKEOUT-ANSI"
  545. }
  546.  
  547. # ----------------------------------------------------------------------
  548. # Color Map for MS-Windows
  549. # Syntax is:
  550. #    color-name    color-spec
  551. #        ...
  552. #
  553. # Where:
  554. #    color-name  - is a symbolic color name
  555. #    color-spec  - is one of the following:
  556. #        - a hexadecimal RGB color spec: "#rgb", "#rrggbb", or "#rrrrggggbbbb"
  557. #        - a system-dependent color starting with '$', such as "$COLOR_BTNFACE"
  558. #        - a previously defined color-name
  559. #
  560. # An unquoted pound-sign (#) is taken as a comment to the end of the
  561. # line.  Single or double quotes can be used around the name and color-spec to embed spaces
  562. # or pound signs.
  563. # Thus, to specify a RGB color you must use quotes; otherwise it will be taken as a comment.
  564. #
  565. # System-dependent colors for MS-Windows are:
  566. #    $COLOR_ACTIVEBORDER
  567. #    $COLOR_ACTIVECAPTION
  568. #    $COLOR_APPWORKSPACE
  569. #    $COLOR_BACKGROUND
  570. #    $COLOR_BTNFACE
  571. #    $COLOR_BTNSHADOW
  572. #    $COLOR_BTNTEXT
  573. #    $COLOR_BTNHIGHLIGHT
  574. #    $COLOR_CAPTIONTEXT
  575. #    $COLOR_GRAYTEXT
  576. #    $COLOR_HIGHLIGHT
  577. #    $COLOR_HIGHLIGHTTEXT
  578. #    $COLOR_INACTIVEBORDER
  579. #    $COLOR_INACTIVECAPTION
  580. #    $COLOR_INACTIVECAPTIONTEXT
  581. #    $COLOR_MENU
  582. #    $COLOR_MENUTEXT
  583. #    $COLOR_SCROLLBAR
  584. #    $COLOR_WINDOW
  585. #    $COLOR_WINDOWFRAME
  586. #    $COLOR_WINDOWTEXT
  587. # These colors can be defined by the user in the Control Panel Color dialog.
  588.  
  589. Colors {
  590.  
  591.     #----------------------------------------------------------------------
  592.     # The following default GUI-Kit colors must ALWAYS be defined:
  593.  
  594.     GKWindowBackground        "$COLOR_WINDOW"
  595.     GKText                "$COLOR_WINDOWTEXT"
  596.     GKMenuBackground        "$COLOR_MENU"
  597.     GK-3D-Background        "$COLOR_BTNFACE"
  598.  
  599.     #----------------------------------------------------------------------
  600.     # User-definable colors. These are just samples derived from the "rgb.txt"
  601.     # file provided in X11R5:
  602.  
  603.     # For XPM3 icon compatibilty - translates to cyan. Used for icon transparency.
  604.     none            "#00ffff"    
  605.     None            "#00ffff"
  606.  
  607.     Snow            "#fffafa"
  608.     GhostWhite        "#f8f8ff"
  609.     WhiteSmoke        "#f5f5f5"
  610.     Gainsboro        "#dcdcdc"
  611.     FloralWhite        "#fffaf0"
  612.     OldLace            "#fdf5e6"
  613.     Linen            "#faf0e6"
  614.     AntiqueWhite        "#faebd7"
  615.     PapayaWhip        "#ffefd5"
  616.     BlanchedAlmond        "#ffebcd"
  617.     Bisque            "#ffe4c4"
  618.     PeachPuff        "#ffdab9"
  619.     NavajoWhite        "#ffdead"
  620.     Moccasin        "#ffe4b5"
  621.     Cornsilk        "#fff8dc"
  622.     Ivory            "#fffff0"
  623.     LemonChiffon        "#fffacd"
  624.     Seashell        "#fff5ee"
  625.     Honeydew        "#f0fff0"
  626.     MintCream        "#f5fffa"
  627.     Azure            "#f0ffff"
  628.     AliceBlue        "#f0f8ff"
  629.     Lavender        "#e6e6fa"
  630.     LavenderBlush        "#fff0f5"
  631.     MistyRose        "#ffe4e1"
  632.     White            "#ffffff"
  633.     Black            "#000000"
  634.     DarkSlateGray        "#2f4f4f"
  635.     DimGray            "#696969"
  636.     SlateGray        "#708090"
  637.     LightSlateGray        "#778899"
  638.     Gray            "#bebebe"
  639.     LightGray        "#d3d3d3"
  640.     MidnightBlue        "#191970"
  641.     Navy            "#000080"
  642.     NavyBlue        "#000080"
  643.     CornflowerBlue        "#6495ed"
  644.     DarkSlateBlue        "#483d8b"
  645.     SlateBlue        "#6a5acd"
  646.     MediumSlateBlue        "#7b68ee"
  647.     LightSlateBlue        "#8470ff"
  648.     MediumBlue        "#0000cd"
  649.     RoyalBlue        "#4169e1"
  650.     Blue            "#0000ff"
  651.     DodgerBlue        "#1e90ff"
  652.     DeepSkyBlue        "#00bfff"
  653.     SkyBlue            "#87ceeb"
  654.     LightSkyBlue        "#87cefa"
  655.     SteelBlue        "#4682b4"
  656.     LightSteelBlue        "#b0c4de"
  657.     LightBlue        "#add8e6"
  658.     PowderBlue        "#b0e0e6"
  659.     PaleTurquoise        "#afeeee"
  660.     DarkTurquoise        "#00ced1"
  661.     MediumTurquoise        "#48d1cc"
  662.     Turquoise        "#40e0d0"
  663.     Cyan            "#00ffff"
  664.     LightCyan        "#e0ffff"
  665.     CadetBlue        "#5f9ea0"
  666.     MediumAquamarine    "#66cdaa"
  667.     Aquamarine        "#7fffd4"
  668.     DarkGreen        "#006400"
  669.     DarkOliveGreen        "#556b2f"
  670.     DarkSeaGreen        "#8fbc8f"
  671.     SeaGreen        "#2e8b57"
  672.     MediumSeaGreen        "#3cb371"
  673.     LightSeaGreen        "#20b2aa"
  674.     PaleGreen        "#98fb98"
  675.     SpringGreen        "#00ff7f"
  676.     LawnGreen        "#7cfc00"
  677.     Green            "#00ff00"
  678.     Chartreuse        "#7fff00"
  679.     MediumSpringGreen    "#00fa9a"
  680.     GreenYellow        "#adff2f"
  681.     LimeGreen        "#32cd32"
  682.     YellowGreen        "#9acd32"
  683.     ForestGreen        "#228b22"
  684.     OliveDrab        "#6b8e23"
  685.     DarkKhaki        "#bdb76b"
  686.     Khaki            "#f0e68c"
  687.     PaleGoldenrod        "#eee8aa"
  688.     LightGoldenrodYellow    "#fafad2"
  689.     LightYellow        "#ffffe0"
  690.     Yellow            "#ffff00"
  691.     Gold            "#ffd700"
  692.     LightGoldenrod        "#eedd82"
  693.     Goldenrod        "#daa520"
  694.     DarkGoldenrod        "#b8860b"
  695.     RosyBrown        "#bc8f8f"
  696.     IndianRed        "#cd5c5c"
  697.     SaddleBrown        "#8b4513"
  698.     Sienna            "#a0522d"
  699.     Peru            "#cd853f"
  700.     Burlywood        "#deb887"
  701.     Beige            "#f5f5dc"
  702.     Wheat            "#f5deb3"
  703.     SandyBrown        "#f4a460"
  704.     Tan            "#d2b48c"
  705.     Chocolate        "#d2691e"
  706.     Firebrick        "#b22222"
  707.     Brown            "#a52a2a"
  708.     DarkSalmon        "#e9967a"
  709.     Salmon            "#fa8072"
  710.     LightSalmon        "#ffa07a"
  711.     Orange            "#ffa500"
  712.     DarkOrange        "#ff8c00"
  713.     Coral            "#ff7f50"
  714.     LightCoral        "#f08080"
  715.     Tomato            "#ff6347"
  716.     OrangeRed        "#ff4500"
  717.     Red            "#ff0000"
  718.     HotPink            "#ff69b4"
  719.     DeepPink        "#ff1493"
  720.     Pink            "#ffc0cb"
  721.     LightPink        "#ffb6c1"
  722.     PaleVioletRed        "#db7093"
  723.     Maroon            "#b03060"
  724.     MediumVioletRed        "#c71585"
  725.     VioletRed        "#d02090"
  726.     Magenta            "#ff00ff"
  727.     Violet            "#ee82ee"
  728.     Plum            "#dda0dd"
  729.     Orchid            "#da70d6"
  730.     MediumOrchid        "#ba55d3"
  731.     DarkOrchid        "#9932cc"
  732.     DarkViolet        "#9400d3"
  733.     BlueViolet        "#8a2be2"
  734.     Purple            "#a020f0"
  735.     MediumPurple        "#9370db"
  736.     Thistle            "#d8bfd8"
  737.     # Gray-ness by percentage
  738.     Gray0            "#000000"
  739.     Gray1            "#030303"
  740.     Gray2            "#050505"
  741.     Gray3            "#080808"
  742.     Gray4            "#0a0a0a"
  743.     Gray5            "#0d0d0d"
  744.     Gray6            "#0f0f0f"
  745.     Gray7            "#121212"
  746.     Gray8            "#141414"
  747.     Gray9            "#171717"
  748.     Gray10            "#1a1a1a"
  749.     Gray11            "#1c1c1c"
  750.     Gray12            "#1f1f1f"
  751.     Gray13            "#212121"
  752.     Gray14            "#242424"
  753.     Gray15            "#262626"
  754.     Gray16            "#292929"
  755.     Gray17            "#2b2b2b"
  756.     Gray18            "#2e2e2e"
  757.     Gray19            "#303030"
  758.     Gray20            "#333333"
  759.     Gray21            "#363636"
  760.     Gray22            "#383838"
  761.     Gray23            "#3b3b3b"
  762.     Gray24            "#3d3d3d"
  763.     Gray25            "#404040"
  764.     Gray26            "#424242"
  765.     Gray27            "#454545"
  766.     Gray28            "#474747"
  767.     Gray29            "#4a4a4a"
  768.     Gray30            "#4d4d4d"
  769.     Gray31            "#4f4f4f"
  770.     Gray32            "#525252"
  771.     Gray33            "#545454"
  772.     Gray34            "#575757"
  773.     Gray35            "#595959"
  774.     Gray36            "#5c5c5c"
  775.     Gray37            "#5e5e5e"
  776.     Gray38            "#616161"
  777.     Gray39            "#636363"
  778.     Gray40            "#666666"
  779.     Gray41            "#696969"
  780.     Gray42            "#6b6b6b"
  781.     Gray43            "#6e6e6e"
  782.     Gray44            "#707070"
  783.     Gray45            "#737373"
  784.     Gray46            "#757575"
  785.     Gray47            "#787878"
  786.     Gray48            "#7a7a7a"
  787.     Gray49            "#7d7d7d"
  788.     Gray50            "#7f7f7f"
  789.     Gray51            "#828282"
  790.     Gray52            "#858585"
  791.     Gray53            "#878787"
  792.     Gray54            "#8a8a8a"
  793.     Gray55            "#8c8c8c"
  794.     Gray56            "#8f8f8f"
  795.     Gray57            "#919191"
  796.     Gray58            "#949494"
  797.     Gray59            "#969696"
  798.     Gray60            "#999999"
  799.     Gray61            "#9c9c9c"
  800.     Gray62            "#9e9e9e"
  801.     Gray63            "#a1a1a1"
  802.     Gray64            "#a3a3a3"
  803.     Gray65            "#a6a6a6"
  804.     Gray66            "#a8a8a8"
  805.     Gray67            "#ababab"
  806.     Gray68            "#adadad"
  807.     Gray69            "#b0b0b0"
  808.     Gray70            "#b3b3b3"
  809.     Gray71            "#b5b5b5"
  810.     Gray72            "#b8b8b8"
  811.     Gray73            "#bababa"
  812.     Gray74            "#bdbdbd"
  813.     Gray75            "#bfbfbf"
  814.     Gray76            "#c2c2c2"
  815.     Gray77            "#c4c4c4"
  816.     Gray78            "#c7c7c7"
  817.     Gray79            "#c9c9c9"
  818.     Gray80            "#cccccc"
  819.     Gray81            "#cfcfcf"
  820.     Gray82            "#d1d1d1"
  821.     Gray83            "#d4d4d4"
  822.     Gray84            "#d6d6d6"
  823.     Gray85            "#d9d9d9"
  824.     Gray86            "#dbdbdb"
  825.     Gray87            "#dedede"
  826.     Gray88            "#e0e0e0"
  827.     Gray89            "#e3e3e3"
  828.     Gray90            "#e5e5e5"
  829.     Gray91            "#e8e8e8"
  830.     Gray92            "#ebebeb"
  831.     Gray93            "#ededed"
  832.     Gray94            "#f0f0f0"
  833.     Gray95            "#f2f2f2"
  834.     Gray96            "#f5f5f5"
  835.     Gray97            "#f7f7f7"
  836.     Gray98            "#fafafa"
  837.     Gray99            "#fcfcfc"
  838.     Gray100            "#ffffff"
  839. }
  840.  
  841. # ----------------------------------------------------------------------
  842. # Default instances created by gkInit
  843.  
  844. ObjectGroup "GKDefaultFonts" {
  845.     Object Font "Default-Font" {
  846.         # Create with the default font attributes
  847.     }
  848. }
  849.  
  850.