<container fillParent="1" visible="0">
  <state name="menu" visible="1"/>

  <container w="640" h="920" parentAlign="center" y="-1080" visible="0">
    <state name="menu" visible="1" y="80" easing="back_inout"/>
    <state name="exit" visible="1" y="1500" easing="back_inout"/>
    <image9 x='20' y='0' w="600" h="940" filename="data/gui/composit1.png" corner="20"/>
		
		
		
		<checkbox parentAlign="center" y="100" w="120" h="120" dataSource="@settings.fullscreen">
      <container name="default" w="120" h="120">
        <image9 fillParent="1" filename="data/gui/composit1.png" corner="20"/>  
      </container>

      <container name="active" w="120" h="120" x="-2" y="-2">
        <image9 x='-20' y='-20' w="160" h="160" filename="data/gui/highlight_button.png" corner="50"/>
        <image9 fillParent="1" filename="data/gui/composit1.png" corner="20"/>  
      </container>

      <container name="pressed" w="120" h="120" x="2" y="2">
        <image9 x='-20' y='-20' w="160" h="160" filename="data/gui/highlight_button.png" corner="50"/>
        <image9 fillParent="1" filename="data/gui/composit1.png" corner="20"/>  
      </container>

      <container name="mark" w="120" h="120">
        <image filename="data/gui/task_completed.png" x="-20" y="-30" w="160" h="160"  />
      </container>


    </checkbox>
		<text  parentAlign="center" y="270" font="clearsans_medium.ttf" font_size="50" text="Fullscreen"  />
	

  <container  parentAlign="center" y="310" w="420" h="80">
    <image x="10" y="37" w="400" h="4" color="313b35" />
    <slider x="0" w="420" h="79" key_filename="data/gui/sound_handle.png"  dataSource="@settings.sound_volume" />
		<text  y="110" parentAlign="center" color="ffffffff" text="Sound Volume" font="clearsans_medium.ttf" font_size="50"  />
  </container>
  
  <container  parentAlign="center" y="460" w="420" h="80">
    <image x="10" y="37" w="400" h="4" color="313b35" />
    <slider x="0" w="420" h="79" key_filename="data/gui/music_handle.png"  dataSource="@settings.music_volume" />
		<text  y="110" parentAlign="center" color="ffffffff" text="Music Volume" font="clearsans_medium.ttf" font_size="50"  />
  </container>
		
		

    <button x="160" y="620" w="322" h="153" on_click="restart()" >
      <container name="default" w="320" h="150">
        <image filename="data/gui/but_main_sm_d.png"  />
        <text centerParent="1" font="clearsans_medium.ttf" font_size="50" color="3d3d3d" text="Restart"/>        
      </container>
      <container name="active" w="320" h="150" >
		  <affine_animation x="0" y="0" w="372" h="203" filename="data/themes/christmas/backgrounds/back1/animations/ab0.anim.xml" autoremove="0">
              <image9 x='-30' y='-20' w="372" h="203" filename="data/gui/highlight_button.png" corner="50"/>
          </affine_animation>
		  <image filename="data/gui/but_main_sm_a.png" x="-5" y="-5"  w="332" h="163"  />
          <text centerParent="1" font="clearsans_medium.ttf" font_size="50" color="3d3d3d" text="Restart"/>          
      </container>
      <container name="pressed" w="320" h="150" x="5" y="5">
        <image filename="data/gui/but_main_sm_a.png" x="-5" y="-5"  w="332" h="163" />
        <text centerParent="1" font="clearsans_medium.ttf" font_size="50" color="3d3d3d" text="Restart"/>                  
      </container>
    </button> 
	

    <button x="160" y="770" w="322" h="153" on_click="askExit()" >
      <container name="default" w="320" h="150">
        <image filename="data/gui/but_main_sm_d.png"  />
        <text centerParent="1" font="clearsans_medium.ttf" font_size="50" align="center" color="3d3d3d" text="End game"/>        
      </container>
      <container name="active" w="320" h="150" >
		  <affine_animation x="0" y="0" w="372" h="203" filename="data/themes/christmas/backgrounds/back1/animations/ab0.anim.xml" autoremove="0">
              <image9 x='-30' y='-20' w="372" h="203" filename="data/gui/highlight_button.png" corner="50"/>
          </affine_animation>
		  <image filename="data/gui/but_main_sm_a.png" x="-5" y="-5"  w="332" h="163"  />
          <text centerParent="1" font="clearsans_medium.ttf" font_size="50" align="center" color="3d3d3d" text="End game"/>          
      </container>
      <container name="pressed" w="320" h="150" x="5" y="5">
        <image filename="data/gui/but_main_sm_a.png" x="-5" y="-5"  w="332" h="163" />
        <text centerParent="1" font="clearsans_medium.ttf" font_size="50" align="center" color="3d3d3d" text="End game"/>                  
      </container>
    </button>

    <button x="525" y="15" w="80" h="80"  on_click="popState()">
      <container name="default" w="80" h="80" >
        <image9 fillParent="1" filename="data/gui/composit1.png" corner="20"/>  
        <text font="clearsans_medium.ttf" font_size="75" centerParent="1" text="X"/>
      </container>
		
      <container name="active" w="80" h="80" >
        <image9 x='-20' y='-20' w="120" h="120" filename="data/gui/highlight_button.png" corner="50"/>
        <image9 fillParent="1" filename="data/gui/composit1.png" corner="20"/>  
        <text font="clearsans_medium.ttf" font_size="75" centerParent="1" text="X"/>
      </container>
		
      <container name="pressed"  w="80" h="80" x="5" y="5" >
        <image9 x='-20' y='-20' w="120" h="120" filename="data/gui/highlight_button.png" corner="50"/>
        <image9 fillParent="1" filename="data/gui/composit1.png" corner="20"/>  
        <text font="clearsans_medium.ttf" font_size="75" centerParent="1" text="X"/>
      </container>
    </button> 
		
		    <!--button x="160" y="530" w="322" h="153" on_click="continue" >
      <container name="default" w="320" h="100">
        <image filename="data/gui/but_main_sm_d.png"  />
        <text centerParent="1" font="clearsans_medium.ttf" font_size="50" align="center" color="3d3d3d" text="Continue"/>        
      </container>
      <container name="active" w="320" h="100" >
		  <affine_animation x="0" y="0" w="372" h="203" filename="data/themes/christmas/backgrounds/back1/animations/ab0.anim.xml" autoremove="0">
              <image9 x='-30' y='-20' w="372" h="203" filename="data/gui/highlight_button.png" corner="50"/>
          </affine_animation>
		  <image filename="data/gui/but_main_sm_a.png" x="-5" y="-5"  w="332" h="163"  />
          <text centerParent="1" font="clearsans_medium.ttf" font_size="50" align="center" color="3d3d3d" text="Continue"/>          
      </container>
      <container name="pressed" w="320" h="100" x="5" y="5">
        <image filename="data/gui/but_main_sm_a.png" x="-5" y="-5"  w="332" h="163" />
        <text centerParent="1" font="clearsans_medium.ttf" font_size="50" align="center" color="3d3d3d" text="Continue"/>                  
      </container>
    </button-->
	
	
      
    
      
  </container>
  
</container>