(form "00193" 
    (size 75 20)

    (heading "VIEW/MODIFY LAYER SETTINGS"
    )

    (label 
        (position 3 3) 
    	(foreground 
			(user_option "form_text_highlight")
		)
        (text "Active Layer"
        )
    )

    (field "active_layer" 
        (position 28 3) 
        (display_length  20) 
        (input allowed)
        (null allowed) 
        (max_length 32)
        )
    (scroll_block "scroll" 
        (position  3  7) 
        (size  70 10)
        (extra  0 2)
        (scroll_size 70 500)
        (repeat  
            (grow  0  1)
            (instances  1 
                (min  1)
                (max 500)
            )
        )
    
        (top  
            (label
                (position 2 0) 
                (foreground
                     (user_option "form_text_highlight")
                )
                (text "Global Settings"
                )
            )
            (label 
                (position 17  0)  
                (text "Visibility"
                )
            )
            (label 
                (position 24  0) 
                (text "Selectable"
                )
            )
            (label 
                (position 32  0) 
                (text "Faces"
                )
            )
            (label
                (position 39  0) 
                (text "Edges"
                )
            )
            (label
                (position 46  0) 
                (text "Shading"
                )
            )    
            (label
                (position 53 0 )
                (text "Edge Light"
                )
            )    
            (label
                (position 61 0 )
                (text "Color Interp"
                )
            )    
            (field "global_visibility"
                (position 19  1)
                (display_length  3) 
                (input allowed)
                (value_in "on" "off" ""
                )
                (default "")
                (auto_next off)
                (translate lower) 
                (null allowed) 
                (max_length 3)
                )
            (field "global_selectable" 
                (position 26  1) 
                (display_length  1) 
                (input allowed)
                (value_in "y" "n" "")
                (default "")
                (auto_next off)
                (translate lower) 
                (null allowed) 
                (max_length 1)
                )
            (field "global_faces" 
                (position 32  1) 
                (display_length  2) 
                (input allowed)
                (value_in "on" "off" ""
                )
                (default "")
                (auto_next off)
                (translate lower) 
                (null allowed) 
                (max_length 3)
                )
            (field "global_edges" 
                (position 39  1) 
                (display_length  2) 
                (input allowed)
                (value_in "on" "off" ""
                )
                (default "")
                (auto_next off)
                (translate lower) 
                (null allowed) 
                (max_length 3)
                )
            (field "global_shading" 
                (position 46  1) 
                (display_length  4)
                (input allowed)
                (value_in "phong" "none" "gouraud" ""
                )
                (translate lower)
                (default "")
                (auto_next off)
                )
            (field "global_edge_lighting"
                (position 54  1) 
                (display_length  3) 
                (input allowed)
                (value_in "on" "off" ""
                )
                (default "")
                (auto_next off)
                (translate lower) 
                (null allowed) 
                (max_length 3)
                )
            (field "global_colour_interpolation"
                (position 62 1) 
                (display_length  3) 
                (input allowed)
                (value_in "on" "off" ""
                )
                (default "")
                (auto_next off)
                (translate lower) 
                (null allowed) 
                (max_length 3)
                )
        )
        (main
            (field "star" 
                (position  1  0)
                (display_length 1)
                (max_length 1) 
                (default " ") 
                (input disallowed)
            )
            (field "name" 
                (position  2  0) 
                (display_length 16)
                (max_length 32) 
                (input disallowed)
            )
            (field "visibility" 
                (position 19  0)
                (display_length  3) 
                (input allowed)
                (value_in "on" "off"
                )
                (default "on")
                (translate lower) 
                (null allowed) 
                (max_length 3)
                )
            (field "selectable" 
                (position 26  0) 
                (display_length  1) 
                (input allowed)
                (value_in "y" "n")
                (default "y")
                (translate lower) 
                (null allowed) 
                (max_length 1)
                )
            (field "faces" 
                (position 32  0) 
                (display_length  2) 
                (input allowed)
                (value_in "on" "off"
                )
                (default "on")
                (translate lower) 
                (null allowed) 
                (max_length 3)
                )
            (field "edges" 
                (position 39  0) 
                (display_length  2) 
                (input allowed)
                (value_in "on" "off"
                )
                (default "on")
                (translate lower) 
                (null allowed) 
                (max_length 3)
                )
            (field "shading" 
                (position 46  0) 
                (display_length  4)
                (input allowed)
                (value_in "phong" "none" "gouraud"
                )
                (translate lower)
                (default "none")
                )
            (field "edge_lighting"
                (position 54  0) 
                (display_length  3) 
                (input allowed)
        (value_in "on" "off"
                )
                (default "off")
                (translate lower) 
                (null allowed) 
                (max_length 3)
                )
            (field "colour_interpolation"
                (position 62 0) 
                (display_length  3) 
                (input allowed)
                (value_in "on" "off"
                )
                (default "off")
                (translate lower) 
                (null allowed) 
                (max_length 3)
                )
        )
    ) 
    (default_buttons)
)
