<?xml version="1.0" encoding="UTF-8"?>
<toolbar
    topBarHeight="40"
    bottomBarHeight="115"
    backgroundColor="0xF3B29E"
    highlightColor="0xFFFFFF"
    tabBackgroundColor="0xFACBBB"
    tabHighlightColor="0xFFFFFF"
    selectionColor="0xFF0000"
    tooltipFillColor="0xFFFF99">

    <infoField borderColor="0xFF0000" font="Arial" size="13" color="0x000000" height="20"/>
    <pointInfo font="Arial" size="13" color="0x000000" backgroundColor="0xFFFFCC" borderColor="0x000000" width="250" height="20" popuptime="2000"/>
	<tooltipFormat font="Arial" size="11" color="0x000000"/>

    <top>

    </top>
    <topRight>
 		<button command="undo" style="back"  toggle="false" tooltip="tooltip.control.undo"/>
        <button command="redo" style="forward" toggle="false" tooltip="tooltip.control.redo"/>
        <!--button command="help" style="help" toggle="false" tooltip="tooltip.control.help"/-->
          
    </topRight>
    <topMiddle>
   <button command="open" style="open" toggle="false" tooltip="tooltip.control.open"/>
   <button command="save" style="save" toggle="false" tooltip="tooltip.control.save"/>
    </topMiddle> 



    <controlPanel width="350" height="158" x="10" y="600">
       <toptab style="tb1" tooltip="tooltip.tools.point">
            <tab style="tb11" tooltip="tooltip.tools.point.on_object">        
                  <button command="point.in_space" style="rb111"  tooltip="tooltip.tools.point.in_space" />
                  <button command="point.on_line_or_segment" style="rb112"  tooltip="tooltip.tools.point.on_line_or_segment" />
                  <button command="point.on_plane" style="rb113"  tooltip="tooltip.tools.point.on_plane" />
                  <button command="point.on_sphere" style="rb114"  tooltip="tooltip.tools.point.on_sphere" />              
                  <button command="point.on_circle" style="rb115"  tooltip="tooltip.tools.point.on_circle" />
                  <button command="point.on_cone" style="rb116"  tooltip="tooltip.tools.point.on_cone" />    
             </tab>
             <tab style="tb12" tooltip="tooltip.tools.point.two_object_intersection">
                  <button command="point.two_line_intersection" style="rb121"  tooltip="tooltip.tools.point.two_line_intersection" />
                  <button command="point.line_plane_intersection" style="rb122"  tooltip="tooltip.tools.point.line_plane_intersection" />
                  <button command="point.on_line_sphere_intersection" style="rb123"  tooltip="tooltip.tools.point.on_line_sphere_intersection" />
             </tab>
        </toptab>
        <toptab style="tb2" tooltip="tooltip.tools.line">
             <tab style="tb21" tooltip="tooltip.tools.line.segment">
                  <button command="line.segment_two_points" style="rb211"  tooltip="tooltip.tools.line.segment_two_points" />
             </tab>
             <tab style="tb22" tooltip="tooltip.tools.line.line">
                  <button command="line.two_points" style="rb221"  tooltip="tooltip.tools.line.two_points" />
                  <button command="line.two_planes_intersection" style="rb222"  tooltip="tooltip.tools.line.two_planes_intersection" />
                  <button command="line.line_perpendicular" style="rb223"  tooltip="tooltip.tools.line.line_perpendicular" />
                  <button command="line.line_parallel" style="rb224"  tooltip="tooltip.tools.line.line_parallel" />
                  <button command="line.plane_perpendicular" style="rb225"  tooltip="tooltip.tools.line.plane_perpendicular" />
                  
             </tab>
             <!--tab style="tb23" tooltip="tooltip.tools.line.vector">
             </tab-->
        </toptab>
        <toptab style="tb3" tooltip="tooltip.tools.plane">
             <tab style="tb31" tooltip="tooltip.tools.plane.based_on_geometric_primitive">
                 <button command="plane.three_points" style="rb311"  tooltip="tooltip.tools.plane.three_points" />
                 <button command="plane.point_and_line" style="rb312"  tooltip="tooltip.tools.plane.point_and_line" />
                 <button command="plane.two_intersecting_lines" style="rb313"  tooltip="tooltip.tools.plane.two_intersecting_lines" />
                 <button command="plane.line_perpendicular" style="rb314"  tooltip="tooltip.tools.plane.line_perpendicular" />
                 <button command="plane.plane_parallel" style="rb315"  tooltip="tooltip.tools.plane.plane_parallel" />
             </tab>
             <tab style="tb32" tooltip="tooltip.tools.plane.tangent_to_object">
                 <button command="plane.plane_tangent_to_sphere" style="rb321"  tooltip="tooltip.tools.plane.tangent_to_sphere" />
                <button command="plane.plane_tangent_to_cone" style="rb322"  tooltip="tooltip.tools.plane.plane_tanget_to_cone"/>
             </tab>
        </toptab>
        <toptab style="tb4" tooltip="tooltip.tools.plane_figure">
             <tab style="tb41" tooltip="tooltip.tools.plane_figure.right">
                 <button command="polygons.right_polygon_3" style="rb411"  tooltip="tooltip.tools.plane_figure.right_polygon_3" />
                 <button command="polygons.right_polygon_4" style="rb412"  tooltip="tooltip.tools.plane_figure.right_polygon_4" />
                 <button command="polygons.right_polygon_5" style="rb413"  tooltip="tooltip.tools.plane_figure.right_polygon_5" />
                 <button command="polygons.right_polygon_7" style="rb414"  tooltip="tooltip.tools.plane_figure.right_polygon_7" />
                 <button command="polygons.right_polygon_8" style="rb415"  tooltip="tooltip.tools.plane_figure.right_polygon_8" />
             </tab>
             <tab style="tb42" tooltip="tooltip.tools.plane_figure.polygon_3">
                 <button command="polygons.right_polygon_3" style="rb423"  tooltip="tooltip.tools.plane_figure.right_polygon_3" />
             </tab>
             <tab style="tb43" tooltip="tooltip.tools.plane_figure.polygon_4">
                 <button command="polygons.right_polygon_4" style="rb435"  tooltip="tooltip.tools.plane_figure.right_polygon_4" />
                 <button command="polygons.rectangle" style="rb433"  tooltip="tooltip.tools.plane_figure.rectangle" />
                 <button command="polygons.rhomb" style="rb434"  tooltip="tooltip.tools.plane_figure.rhomb" />
             </tab>
             <tab style="tb44" tooltip="tooltip.tools.plane_figure.polygon">
                 <button command="polygons.polygon" style="rb441"  tooltip="tooltip.tools.plane_figure.polygon_through_points" />
                 <button command="polygons.add_new_vertex_to_polygon" style="rb442"  tooltip="tooltip.tools.plane_figure.add_new_vertex_to_polygon" />
             </tab>
           <tab style="tb45" tooltip="tooltip.tools.plane_figure.circle_arc">
                 <button command="round.circle" style="rb451"  tooltip="tooltip.tools.plane_figure.circle" />
                 <button command="round.circle.circumscribed" style="rb454"  tooltip="tooltip.tools.plane_figure.circumscribed_circle" />
                 <button command="round.circle.inscribed" style="rb455"  tooltip="tooltip.tools.plane_figure.inscribed_circle" />
            </tab>  

       </toptab> 
  
       <toptab style="tb5" tooltip="tooltip.tools.solids"> 
            <tab style="tb51" tooltip="tooltip.tools.solids.right">
                 <button command="solids.tetrahedron" style="rb511"  tooltip="tooltip.tools.solids.tetrahedron" />
                 <button command="solids.cube" style="rb512"  tooltip="tooltip.tools.solids.cube" />
                 <button command="solids.octahedron" style="rb513"  tooltip="tooltip.tools.solids.octahedron" />
                 <button command="solids.dodecahedron" style="rb514"  tooltip="tooltip.tools.solids.dodecahedron" />
                 <button command="solids.icosahedron" style="rb515"  tooltip="tooltip.tools.solids.icosahedron" />
            </tab>
            <tab style="tb52" tooltip="tooltip.tools.solids.prism">
                  <button command="solids.prism" style="rb521"  tooltip="tooltip.tools.solids.prism" />
                  <button command="solids.right_prism" style="rb522"  tooltip="tooltip.tools.solids.right_prism" />
	    <button command="round.cylinder"  style="rb544" tooltip="tooltip.tools.solids.cylinder" />   
            </tab>
            <tab style="tb53" tooltip="tooltip.tools.solids.pyramid">
                  <button command="solids.pyramid" style="rb531"  tooltip="tooltip.tools.solids.pyramid" />
                  <button command="solids.truncated_pyramid" style="rb532"  tooltip="tooltip.tools.solids.truncated_pyramid" />
	<button command="round.cone" style="rb545" tooltip="tooltip.tools.solids.cone" />
            </tab>
            <tab style="tb54" tooltip="tooltip.tools.solids.solid_of_revolution">
                  <button command="round.sphere" style="rb541"  tooltip="tooltip.tools.solids.sphere" />
	<button command="round.sphere.circumscribed" style="rb542"  tooltip="tooltip.tools.round.sphere.circumscribed" />
        	<button command="round.sphere.inscribed" style="rb543" tooltip="tooltip.tools.round.sphere.inscribed" /> 
                 <button command="round.cylinder" style="rb544"  tooltip="tooltip.tools.solids.cylinder" />
                  <button command="round.cone" style="rb545"  tooltip="tooltip.tools.solids.cone" />
 
            </tab>
      </toptab>
       <toptab style="tb6" tooltip="tooltip.tools.additional_construction">
             <!--tab style="tb61" tooltip="tooltip.tools.additional_construction.construction_on_segment">
             </tab-->
             <tab style="tb62" tooltip="tooltip.tools.additional_construction.angle">
               <button command="line.bisector_two_lines" style="rb622"  tooltip="tooltip.tools.line.bisector_two_lines" />
             </tab>
             <!--tab style="tb63" tooltip="tooltip.tools.additional_construction.projection">
             </tab-->
             <tab style="tb64" tooltip="tooltip.tools.additional_construction.construction_on_figure">
                 <button command="round.circle.circumscribed" style="rb641"  tooltip="tooltip.tools.plane_figure.circumscribed_circle" />

                 <button command="round.circle.inscribed" style="rb642"  tooltip="tooltip.tools.plane_figure.inscribed_circle" />
	<button command="round.sphere.circumscribed" style="rb542"  tooltip="tooltip.tools.round.sphere.circumscribed" />
        	<button command="round.sphere.inscribed" style="rb543" tooltip="tooltip.tools.round.sphere.inscribed" /> 

                <button command="polygons.add_new_vertex_to_polygon" style="rb645"  tooltip="tooltip.tools.plane_figure.add_new_vertex_to_polygon" />

             </tab>
      </toptab>
 


   
 
  
    
    </controlPanel>
 
       <commonControl>
            <button command="sceneControl.rotation_stage_x_y" style="rbRotStageXY"  toggle="true" selected="true" tooltip="tooltip.sceneControl.rotation_stage_x_y" />
            <button command="sceneControl.rotation_stage_z" style="rbRotStageZ" toggle="true" selected="false" tooltip="tooltip.sceneControl.rotation_stage_z" />
            <button command="sceneControl.shift_stage" style="rbMovStage" toggle="true" selected="false" tooltip="tooltip.sceneControl.shift_stage" />
            <button command="sceneControl.scaling_stage" style="rbScaleStage" toggle="true" selected="false" tooltip="tooltip.sceneControl.scaling_stage" />
            <button command="sceneControl.switch_all_facets" style="rbShowPlanesAllObj" toggle="false" selected="false" tooltip="tooltip.sceneControl.switch_all_facets" />
			<button command="sceneControl.switch_orts" style="rbShowAxis" toggle="false" selected="false" tooltip="tooltip.sceneControl.switch_orts" />
       </commonControl>
   
       <objectControl>
            <button command="sceneControl.selection_object" style="rbPickObj" toggle="true" selected="false" tooltip="tooltip.sceneControl.selection_object" />
            <button command="sceneControl.selection_figure" style="rbPickFig" toggle="true" selected="false" tooltip="tooltip.sceneControl.selection_figure" />
            <button command="sceneControl.rotation_object_x_y" style="rbRotObjXY" toggle="true" selected="false" tooltip="tooltip.sceneControl.rotation_object_x_y" />
            <button command="sceneControl.rotation_object_z" style="rbRotObjZ" toggle="true" selected="false" tooltip="tooltip.sceneControl.rotation_object_z" />
            <button command="sceneControl.shift_object"  style="rbMovObj" toggle="true" selected="false" tooltip="tooltip.sceneControl.shift_object" />
            <button command="sceneControl.resize_object" style="rbChangeDimObj" toggle="true" selected="false" tooltip="tooltip.sceneControl.resize_object" />
            <button command="sceneControl.switch_facets" style="rbShowPlanesObj" toggle="false" selected="false" tooltip="tooltip.sceneControl.switch_facets" />
            <button command="sceneControl.remove_shape" style="rbDeleteObj" toggle="false" selected="false" tooltip="tooltip.sceneControl.remove_shape" />
            <linecolorPicker color="0x000000" style="rbColourLines"  command="chooseLineColor_" toggle="false" tooltip="tooltip.changeLineColor" />
            <fillcolorPicker color="0x00FF00" style="rbColorPriming"  command="chooseFillColor_" toggle="false" tooltip="tooltip.changeFillColor" />            
	    	<inputfield command = "labelfield_edit" label = "label.sceneControl.label_edit_field" height = "20" width = "120" bordercolor = "0x000000" backgroundColor = "0xFFFFFF" font="Arial" size="13" color="0x000000"></inputfield>     
       </objectControl>
   
   
   
    <colorPickerWindow font="Arial" size="13" color="0x000000">
		<button command="sceneControl.change_current_color" style="ok"  tooltip="tooltip.sceneControl.change_current_color" />
	    <button command="sceneControl.do_not_change_current_color" style="cancel" tooltip="tooltip.sceneControl.do_not_change_current_color" />
	</colorPickerWindow>
</toolbar>