(form "00630" (size 65  20)
  (heading "VIEWER SETUP")

  (label (position  2  2) (text "Axes Length"))
  (field "axes_length" (position 15 2) (display_length 10) (input allowed)
    (format real_8)
    )
  (label (position 35  2) (text "Colour"))
  (field "axes_line_colour" (position 45 2) (display_length 15) (input allowed)
    (max_length 32) (format colour)
    )
  (label (position  2  3) (text "Axes Text Font"))
  (field "axes_text_font" (position 15 3) (display_length 15) (input allowed)
    (max_length 45)
    )
  (label (position 35  3) (text "Colour"))
  (field "axes_text_colour" (position 45 3) (display_length 15) (input allowed)
    (max_length 32) (format colour)
    )

  (label (position  2  4) (text "Angle Base"))
  (field "angle_base" (position 15 4) (display_length 10) (input allowed)
    (format real_8)
    )
  (label (position 35  4) (text "Multiplier"))
  (field "angle_mult" (position 45 4) (display_length 10) (input allowed)
    (format real_8)
    )

  (label (position  2  5) (text "Mouse Button Status - Left"))
  (field "mouse_left" (position 25 5) (display_length 5) (input allowed)
    (format integer_4)
    )
  (label (position 35  5) (text "Right"))
  (field "mouse_right" (position 45 5) (display_length 5) (input allowed)
    (format integer_4)
    )

  (label (position  2  6) (text "Animation Period"))
  (field "anim_period" (position 19 6) (display_length 8) (input allowed)
    (format real_8)
    )
  (label (position  29  6) (text "Seconds"))

  (scroll_block (position 16 9) (size 35 4)
    (extra 0 2)
    (scroll_size 35 40)
    (top
      (label (position 1 0) (text "Keyboard Functions"))
      (label (position 1 1) (text "Key"))
      (label (position 15 1) (text "Function"))
    )
    (main
/*
      (field "key" (position 0 0) (display_length 12)
        (input disallowed))
      (field "function" (position 15 0) (display_length 16)
        (input disallowed))
*/
      (label (position 1  0) (text "q"))
        (label (position 15  0) (text "Exit"))
      (label (position 1  1) (text "control ["))
        (label (position 15  1) (text "Exit"))
      (label (position 1  2) (text "0"))
        (label (position 15  2) (text "Reset View"))
      (label (position 1  3) (text "V"))
        (label (position 15  3) (text "View All"))
      (label (position 1  4) (text "x"))
        (label (position 15  4) (text "View +ve X"))
      (label (position 1  5) (text "X"))
        (label (position 15  5) (text "View -ve X"))
      (label (position 1  6) (text "y"))
        (label (position 15  6) (text "View +ve Y"))
      (label (position 1  7) (text "Y"))
        (label (position 15  7) (text "View -ve Y"))
      (label (position 1  8) (text "z"))
        (label (position 15  8) (text "View +ve Z"))
      (label (position 1  9) (text "Z"))
        (label (position 15  9) (text "View -ve Z"))
      (label (position 1 10) (text "-"))
        (label (position 15 10) (text "View Reverse"))
      (label (position 1 11) (text "H"))
        (label (position 15 11) (text "Home"))
      (label (position 1 12) (text "S"))
        (label (position 15 12) (text "Stop"))
      (label (position 1 13) (text "control s"))
        (label (position 15 13) (text "Stop"))
      (label (position 1 14) (text "e"))
        (label (position 15 14) (text "Tog. Edges"))
      (label (position 1 15) (text "f"))
        (label (position 15 15) (text "Tog. Faces "))
      (label (position 1 16) (text "l"))
        (label (position 15 16) (text "Tog. Light"))
      (label (position 1 17) (text "g"))
        (label (position 15 17) (text "Tog. Light Interp."))
      (label (position 1 18) (text "h"))
        (label (position 15 18) (text "Tog. Hide"))
      (label (position 1 19) (text "p"))
        (label (position 15 19) (text "Tog. Projection"))
      (label (position 1 20) (text "b"))
        (label (position 15 20) (text "Tog. Z-buffer"))
      (label (position 1 21) (text "s"))
        (label (position 15 21) (text "Seek"))
      (label (position 1 22) (text "a"))
        (label (position 15 22) (text "Axes"))
      (label (position 1 23) (text "w"))
        (label (position 15 23) (text "Window In"))
      (label (position 1 24) (text "W"))
        (label (position 15 24) (text "Window Out"))
      (label (position 1 25) (text "c"))
        (label (position 15 25) (text "Cutplane"))
      (label (position 1 26) (text "control c"))
        (label (position 15 26) (text "Cutplane Remove Last"))
      (label (position 1 27) (text "C"))
        (label (position 15 27) (text "Cutplane Remove All"))
      (label (position 1 28) (text "f2"))
        (label (position 15 28) (text "Cons. Dolly Mode"))
      (label (position 1 29) (text "f3"))
        (label (position 15 29) (text "Cons. Rotate Mode"))
      (label (position 1 30) (text "f4"))
        (label (position 15 30) (text "Cons. Scale Mode"))
      (label (position 1 31) (text "f5"))
        (label (position 15 31) (text "Anim. Aero. Mode"))
      (label (position 1 32) (text "f6"))
        (label (position 15 32) (text "Anim. Fly Mode"))
      (label (position 1 33) (text "f7"))
        (label (position 15 33) (text "Anim. Rotate Mode"))
      (label (position 1 34) (text "f8"))
        (label (position 15 34) (text "Anim. Cons. Rotate Mode"))
      (label (position 1 35) (text "f9"))
        (label (position 15 35) (text "Rotate Mode"))
      (label (position 1 36) (text "f11"))
        (label (position 15 36) (text "Dolly Mode"))
      (label (position 1 37) (text "f12"))
        (label (position 15 37) (text "Pan Mode"))
    )
  )

  (scroll_block (position 1 15) (size 62 4)
    (extra 0 2)
    (scroll_size 62 10)
    (top
      (label (position 1 0) (text "Mouse Functions"))
      (label (position 1 1) (text "Mode"))
      (label (position 15 1) (text "Left"))
      (label (position 30 1) (text "Middle"))
      (label (position 45 1) (text "Right"))
    )
    (main
/*
      (field "mode" (position 0 0) (display_length 12)
        (input disallowed))
      (field "left_function" (position 15 0) (display_length 14)
        (input disallowed))
      (field "middle_function" (position 30 0) (display_length 14)
        (input disallowed))
      (field "right_function" (position 45 0) (display_length 14)
        (input disallowed))
*/
      (label (position 0  0) (text "Cons. Dolly"))
        (label (position 15  0) (text "Dolly X"))
        (label (position 30  0) (text "Dolly Y"))
        (label (position 45  0) (text "Dolly Z"))
      (label (position 0  1) (text "Cons. Rotate"))
        (label (position 15  1) (text "Rotate X"))
        (label (position 30  1) (text "Rotate Y"))
        (label (position 45  1) (text "Rotate Z"))
      (label (position 0  2) (text "Cons. Scale"))
        (label (position 15  2) (text "Scale X"))
        (label (position 30  2) (text "Scale Y"))
        (label (position 45  2) (text "Scale Z"))
      (label (position 0  3) (text "Anim. Aeroplane"))
        (label (position 15  3) (text "Yoke"))
        (label (position 30  3) (text ""))
        (label (position 45  3) (text "Forward speed"))
      (label (position 0  4) (text "Anim. Fly"))
        (label (position 15  4) (text "Pan 3d"))
        (label (position 30  4) (text "Roll"))
        (label (position 45  4) (text "Forward speed"))
      (label (position 0  5) (text "Anim. Rotate"))
        (label (position 15  5) (text "Orbit speed"))
        (label (position 30  5) (text ""))
        (label (position 45  5) (text "Roll speed"))
      (label (position 0  6) (text "Anim. Cons. Rotate"))
        (label (position 15  6) (text "Rotate X speed"))
        (label (position 30  6) (text "Rotate Y speed"))
        (label (position 45  6) (text "Rotate Z speed"))
      (label (position 0  7) (text "Rotate"))
        (label (position 15  7) (text "Orbit"))
        (label (position 30  7) (text "Dolly"))
        (label (position 45  7) (text "Roll"))
      (label (position 0  8) (text "Dolly"))
        (label (position 15  8) (text "Dolly"))
        (label (position 30  8) (text "Dolly in/out"))
        (label (position 45  8) (text "Zoom"))
      (label (position 0  9) (text "Pan"))
        (label (position 15  9) (text "Pan 3d"))
        (label (position 30  9) (text "Dolly"))
        (label (position 45  9) (text "Roll"))
    )
  )

  (default_buttons)
)
