(form "00337" (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 135 1000)
     (repeat interactive (grow  0  1) (instances  1 (min  1) (max 1000)))
    (top
      (label (position  1  1) (text "Label"))
      (label (position  12  0) (text "Lines-edges-text"))
      (label (position  12  1) (text "colour"))
      (label (position 23  1) (text "Face colour"))
      (label (position 34  0) (text "Specular"))
      (label (position 34  1) (text "Reflectance"))
      (label (position 45  0) (text "Transmission"))
      (label (position 45  1) (text "Colour"))
      (label (position 56  1) (text "Gloss"))
      (label (position 65  0) (text "Line"))
      (label (position 65  1) (text "ends"))
      (label (position 72  0) (text "Line"))
      (label (position 72  1) (text "pattern"))
      (label (position 81  0) (text "Line"))
      (label (position 81  1) (text "joins"))
      (label (position 87  0) (text "Line"))
      (label (position 87  1) (text "thickness"))

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

      (label (position  103 0) (text "Edge"))
      (label (position  103 1) (text "thickness"))
      (label (position  110 0) (text "Face"))
      (label (position  110 1) (text "pattern"))
      (label (position 122  0) (text "Markers"))
      (label (position 118  1)  (text "Symbol"))
      (label (position 127  1)  (text "Size"))
      (field "deft_label" (position  1 2) (display_length 8) 
        (input allowed) 
        (null allowed) (max_length 32)
        )

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

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

      (field "deft_specular" (position 34  2) (display_length 8) 
        (foreground "black") (background "white") (input allowed)
        (default "white") (format colour)
        (translate lower) (null allowed) (max_length 36)
        )
      (field "deft_transmission" (position 45  2) (display_length 8) 
        (foreground "black") (background "white") (input allowed)
        (format colour) (translate lower) (null allowed) (max_length 36)
        )
      (field "deft_gloss" (position 56 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 65 2) (display_length  1) 
        (input allowed) (value_in "|" "[" "(")
        (default "|")
        (translate lower) (null allowed) (max_length 1)
        )
      (field "deft_line_pattern" (position 71 2) (display_length  5)
        (input allowed)
        (value_in "---" "--" "..." "-.-" "- -" "-..-" "-..." "-- --" "center" "phantom")
        (default "---")
        (translate lower) (null allowed) (max_length 8)
        )
      (field "deft_line_join" (position 81 2) (display_length  1) (input allowed)
        (value_in ">" "]" ")") (default ">")
        (translate lower) (null allowed) (max_length 1)
        )
      (field "deft_line_weight" (position 87 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 93 2) (display_length  5) 
        (input allowed)
        (value_in "---" "--" "..." "-.-" "- -" "-..." "-- --" "center" "phantom")
        (default "---")
        (translate lower) (null allowed) (max_length 8)
        )
      (field "deft_edge_weight" (position  104 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  110 2) (display_length  2)
        (input allowed)
        (value_in "solid" "##" "==" "||" "\\\\" "//" "::" "<><>" "[][]")
        (default "solid")
        (translate lower) (null allowed) (max_length 5)
        )

      (field "deft_marker_symbol" (position 118 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 126 2) (display_length  5) 
        (input allowed) (low_bound 0.01) (high_bound 10)
        (default "0.5") (format real_8) (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 8) 
        (input allowed) 
        (null allowed) (max_length 32)
        (help (field "deft_label_colour")))

      (field "line_colour" (position  12 0) (display_length 8) 
        (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 23  0) (display_length 8) 
        (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 34  0) (display_length 8)
        (foreground "black") (background "white")
        (input allowed) (default "white") (format colour)
        (translate lower) (null allowed) (max_length 36)
        (help (field "deft_specular")))
      (field "transmission" (position 45  0) (display_length 8)
        (foreground "black") (background "white")
        (input allowed) (format colour)
        (translate lower) (null allowed) (max_length 36)
        (help (field "deft_transmission")))
      (field "gloss" (position 56 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 65 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 71 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 81 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 87 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 93 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  104 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  110 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 118 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 126 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 "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)
)
