(form "00249" (size 80 21)
  (heading "SET DRAWING STYLES")
  (field "style_type" (position 3  3) (display_length 13)
    (foreground (user_option "form_foreground"))
    (background) (input disallowed))
  (field "default" (position 3  4) (display_length 13)
    (input disallowed) (default "default"))
  (label (position  3  4) (text "Default"))
  (scroll_block "ranges" (position  13  5) (size 64 14)
     (extra  11 3)
     (scroll_size 185 1000)
     (repeat interactive (grow  0  1) (instances  1 (min  1) (max 1000)))
    (top
      (label (position  1  1) (text "Label"))
      (label (position  11  1) (text "Drawing Method"))
      (label (position  32  0) (text "Lines-edges-text"))
      (label (position  32  1) (text "colour"))
      (label (position 42  1) (text "Face colour"))
      (label (position 52  0) (text "Specular"))
      (label (position 52  1) (text "Reflectance"))
      (label (position 62  0) (text "Transmission"))
      (label (position 62  1) (text "Colour"))
      (label (position 72  1) (text "Gloss"))
      (label (position 81  0) (text "Line"))
      (label (position 81  1) (text "ends"))
      (label (position 87  0) (text "Line"))
      (label (position 87  1) (text "pattern"))
      (label (position 97  0) (text "Line"))
      (label (position 97  1) (text "joins"))
      (label (position 103  0) (text "Line"))
      (label (position 103  1) (text "thickness"))

      (label (position 110  0) (text "Edge"))
      (label (position 110  1) (text "pattern"))

      (label (position  119 0) (text "Edge"))
      (label (position  119 1) (text "thickness"))
      (label (position  126 0) (text "Face"))
      (label (position  126 1) (text "pattern"))
      (label (position 137  0) (text "Markers"))
      (label (position 134  1)  (text "Symbol"))
      (label (position 143  1)  (text "Size"))
      (label (position 157  0)  (text "Text characteristics"))
      (label (position 151  1)  (text "Font"))
      (label (position 163  1)  (text "Size"))
      (label (position 171  1)  (text "Slant"))
      (label (position 178  1)  (text "Path"))
      (field "deft_label" (position  1 2) (display_length 7) 
        (input allowed) 
        (null allowed) (max_length 32)
        )

      (field "deft_entity" (position  5 2) (display_length 7) 
        (input allowed) 
        (null allowed) (max_length "PLT_OBJECT_NAME_LENGTH"))

      (field "deft_method" (position  11 2) (display_length 18) 
        (input allowed) (translate lower) (null allowed) (max_length 64)
        (value_in non_exclusive "arrow" "line" "polygon" "marker" "x" "y" "z" 
                                "d1" "d2" "d3" "label" "#label" "#string-no" 
                                "#string-segment-no" "layer-point-no" "none"
                                "marker,z"
                                "line,z/200/5"
                                "line,arrow/100/5" 
                                "#string-segment-no,line,marker"
                                "#string-segment-no,line,marker,arrow/100/5")
        )

      (field "deft_line_colour" (position  32 2) (display_length 7) 
        (foreground "white") (background "blue")
        (input allowed) (default "blue") (format colour)
        (translate lower) (null allowed) (max_length 36)
        )

      (field "deft_face_colour" (position 42  2) (display_length 7) 
        (foreground "white") (background "pink") 
        (input allowed) (default "pink") (format colour)
        (translate lower) (null allowed) (max_length 36)
        )

      (field "deft_specular" (position 52  2) (display_length 7) 
        (foreground "black") (background "white") (input allowed)
        (default "white") (format colour)
        (translate lower) (null allowed) (max_length 36)
        )
      (field "deft_transmission" (position 62  2) (display_length 7) 
        (foreground "black") (background "white") (input allowed)
        (format colour) (translate lower) (null allowed) (max_length 36)
        )
      (field "deft_gloss" (position 72 2) (display_length  4) (input allowed)
        (low_bound 0.01) (high_bound 1000)
        (default "5.0")
        (format real_8) (null disallowed)
        )
      (field "deft_line_end" (position 81 2) (display_length  1) 
        (input allowed) (value_in "|" "[" "(")
        (default "|")
        (translate lower) (null allowed) (max_length 1)
        )
      (field "deft_line_pattern" (position 87 2) (display_length  5)
        (input allowed)
        (value_in "---" "--" "..." "-.-" "- -" "-..-" "-..." "-- --" "center" "phantom")
        (default "---")
        (translate lower) (null allowed) (max_length 8)
        )
      (field "deft_line_join" (position 97 2) (display_length  1) (input allowed)
        (value_in ">" "]" ")") (default ">")
        (translate lower) (null allowed) (max_length 1)
        )
      (field "deft_line_weight" (position 103 2) (display_length  1) (input allowed)
        (low_bound 1) (high_bound 9)
        (default "1")
        (format integer_4) (null disallowed) (max_length 1)
        )
      (field "deft_edge_pattern" (position 109 2) (display_length  5) 
        (input allowed)
        (value_in "---" "--" "..." "-.-" "- -" "-..." "-- --" "center" "phantom")
        (default "---")
        (translate lower) (null allowed) (max_length 8)
        )
      (field "deft_edge_weight" (position  120 2) (display_length  1)
        (input allowed) (low_bound 1) (high_bound 9) (default "1")
        (format integer_4) (null disallowed) (max_length 1)
        )
      (field "deft_face_pattern" (position  126 2) (display_length  2)
        (input allowed)
        (value_in "solid" "##" "==" "||" "\\\\" "//" "::" "<><>" "[][]")
        (default "solid")
        (translate lower) (null allowed) (max_length 5)
        )

      (field "deft_marker_symbol" (position 134 2) (display_length  2)
        (input allowed)
        (value_in "*" "x" "+" "." "()" "@" "(.)" "(x)" "(*)" "(+)" "(())" "[]" "[*]" 
                  "[.]" "[x]" "<>" "<*>" "<.>" "<+>" "/\\" "/*\\" "/.\\" "|>" 
                  "|*>" "|.>" "<|" "<*|" "<.|" "\\/" "\\*/" "\\./" "#" "++" 
                  "/ \\" "/_\\" "/__\\" "/_^_\\" "|" "/" "\\" "y" "z")
        (translate lower) (null allowed) (max_length 5) (default "+")
        )
      (field "deft_marker_size" (position 142 2) (display_length  5) 
        (input allowed) (low_bound 0.01) (high_bound 10)
        (default "0.5") (format real_8) (null disallowed)
        )

      (field "deft_text_font_name" (position 151 2) (display_length  8) 
        (input allowed) (max_length 32)
        (null disallowed)
        )
      (field "deft_size" (position 163 2) (display_length  5) 
        (input allowed) (max_length 10) (translate lower)
        (default "0.02 sru") (null disallowed)
        )

      (field "deft_slant" (position 171 2) (display_length  3) 
        (input allowed) (low_bound -75) (high_bound 75) (format real_8)
        (default "0") (null disallowed)
        )

      (field "deft_text_path" (position 178 2) (display_length  3) 
        (input allowed) (max_length 32)
        (default "1 0 0")(null disallowed)
        )
    )
    (left
      (field "range" (position  1  0) (display_length 9) (input allowed)
        (format range) (null disallowed) (max_length 32)
        )
    )
    (main
      (field "label" (position  1 0) (display_length 7) 
        (input allowed) 
        (null allowed) (max_length 32)
        (help (field "deft_label_colour")))

      (field "entity" (position  5 0) (display_length 7) 
        (input allowed) 
        (null allowed) (max_length "PLT_OBJECT_NAME_LENGTH"))

      (field "method" (position  11 0) (display_length 18) 
        (input allowed) (translate lower) (null allowed) (max_length 64)
        (value_in non_exclusive "arrow" "line" "polygon" "marker" "x" "y" "z" 
                                "d1" "d2" "d3" "label" "#label" "#string-no" 
                                "#string-segment-no" "layer-point-no" "none"
                                "marker,z"
                                "line,z/200/5"
                                "line,arrow/100/5" 
                                "#string-segment-no,line,marker"
                                "#string-segment-no,line,marker,arrow/100/5")
        (help (field "deft_method")))
      (field "line_colour" (position  32 0) (display_length 7) 
        (foreground "white") (background "blue")
        (input allowed) (default "blue") (format colour)
        (translate lower) (null allowed) (max_length 36)
        (help (field "deft_line_colour")))
      (field "face_colour" (position 42  0) (display_length 7) 
        (foreground "white") (background "pink") 
        (input allowed) (default "pink") (format colour)
        (translate lower) (null allowed) (max_length 36)
        (help (field "deft_face_colour")))
      (field "specular" (position 52  0) (display_length 7)
        (foreground "black") (background "white")
        (input allowed) (default "white") (format colour)
        (translate lower) (null allowed) (max_length 36)
        (help (field "deft_specular")))
      (field "transmission" (position 62  0) (display_length 7)
        (foreground "black") (background "white")
        (input allowed) (format colour)
        (translate lower) (null allowed) (max_length 36)
        (help (field "deft_transmission")))
      (field "gloss" (position 72 0) (display_length  4) (input allowed)
        (low_bound 0.01) (high_bound 1000)
        (default "5.0") (format real_8) (null disallowed)
        (help (field "deft_gloss")))
      (field "line_end" (position 81 0) (display_length  1) (input allowed)
        (value_in "|" "[" "(") (default "|")
        (translate lower) (null allowed) (max_length 1)
        (help (field "deft_line_end")))
      (field "line_pattern" (position 87 0) (display_length  5) (input allowed)
        (value_in "---" "--" "..." "-.-" "- -" "-..-" "-..." "-- --" "center" "phantom")
        (default "---")
        (translate lower) (null allowed) (max_length 8)
        (help (field "deft_line_pattern")))
      (field "line_join" (position 97 0) (display_length  1) (input allowed)
        (value_in ">" "]" ")")
        (default ">")
        (translate lower) (null allowed) (max_length 1)
        (help (field "deft_line_join")))
      (field "line_weight" (position 103 0) (display_length  1) (input allowed)
        (low_bound 1) (high_bound 9)
        (default "1")
        (format integer_4) (null disallowed) (max_length 1)
        (help (field "deft_line_weight")))
      (field "edge_pattern" (position 109 0) (display_length  5) (input allowed)
        (value_in "---" "--" "..." "-.-" "- -" "-..." "-- --" "center" "phantom")
        (default "---")
        (translate lower) (null allowed) (max_length 8)
        (help (field "deft_edge_pattern")))
      (field "edge_weight" (position  120 0) (display_length  1) (input allowed)
        (low_bound 1) (high_bound 9) (default "1")
        (format integer_4) (null disallowed) (max_length 1)
        (help (field "deft_edge_weight")))
      (field "face_pattern" (position  126 0) (display_length  2) (input allowed)
        (value_in "solid" "##" "==" "||" "\\\\" "//" "::" "<><>" "[][]")
        (default "solid")
        (translate lower) (null allowed) (max_length 5)
        (help (field "deft_face_pattern")))
      (field "marker_symbol" (position 134 0) (display_length  2) (input allowed)
        (value_in "*" "x" "+" "." "()" "@" "(.)" "(x)" "(*)" "(+)" "(())" "[]" "[*]" 
                  "[.]" "[x]" "<>" "<*>" "<.>" "<+>" "/\\" "/*\\" "/.\\" "|>" 
                  "|*>" "|.>" "<|" "<*|" "<.|" "\\/" "\\*/" "\\./" "#" "++" 
                  "/ \\" "/_\\" "/__\\" "/_^_\\" "|" "/" "\\" "y" "z")
        (translate lower) (null allowed) (max_length 5) (default "+")
        (help (field "deft_marker_symbol")))
      (field "marker_size" (position 142 0) (display_length  5) (input allowed)
        (low_bound 0.01) (high_bound 10)
        (default "0.5")
        (format real_8) (null disallowed)
        (help (field "deft_marker_size")))

      (field "text_font_name" (position 151 0) (display_length  8) 
        (input allowed) (max_length 32)
        (null disallowed)
        (help (field "deft_font")))
      (field "size" (position 163 0) (display_length  5) 
        (input allowed) (max_length 14) (translate lower)
        (default "0.02 sru")(null disallowed)
        (help (field "deft_size")))
      (field "slant" (position 171 0) (display_length  3) 
        (input allowed) (low_bound -75) (high_bound 75) (format real_8)
        (default "0")(null disallowed)
        (help (field "deft_slant")))
      (field "text_path" (position 178 0) (display_length  3) 
        (input allowed) (max_length 32)
        (default "1 0 0")(null disallowed)
        (help (field "deft_path")))
    )
  )

  (field "save_now" (position 0 20) (display_length  1) (input allowed)
    (value_in "Y" "N")
    (translate upper) (null allowed) (max_length 1)
  )

  (field "styles_file" (position 15 20) (display_length 38) (input allowed)
    (translate lower) (null allowed) (max_length 256)
    (file (extension "*.ssi"))
  )

  (default_buttons)
)
