<container w='250' h='150' stateStop="1"> 

  


  
  <image  x="0" y="10" filename="data/gui/power_rim.png" />
  
   <container x="15" y="25"  w='78' h='85' stateDataSource="UserResourcesController addtimeAvailableState"> 
		 <state name="available" visible="1" /> 
		 <state name="unavailable" visible="0" /> 
		 
      <button name="addtime_button"                x="0" y="0" w="60" h="60" text="" on_click="GameBoardController activateAddTime">
        <image name="default" x="0" y="0" filename="data/gui/buttons/powers/addtime_d.png" visible="1" />
        <image name="active" x="0" y="0" filename="data/gui/buttons/powers/addtime_a.png" visible="0" />
        <image name="pressed" x="2" y="2" filename="data/gui/buttons/powers/addtime_a.png" visible="0" />
      </button>
      <image x="43" y="53" filename="data/gui/powerup_counter.png" />
      <text x="67" y="60" align="center" color="ffffff" name="time" text="99" font="data/fonts/dsgoose_20_simple.xml"  dataSource='UserResourcesController addtimesCount'/>
	  </container>	

   <container x="15" y="25"  w='78' h='85' stateDataSource="UserResourcesController addtimeAvailableState"> 
		 <state name="available" visible="0" /> 
		 <state name="unavailable" visible="1" /> 
		 
      <button name="addtime_unavailable_button"                x="0" y="0" w="60" h="60" text="" on_click="showShop">
        <image name="default" x="0" y="0" filename="data/gui/buttons/powers/addtime_dis.png" visible="1" />
        <image name="active" x="0" y="0" filename="data/gui/buttons/powers/addtime_dis.png" visible="0" />
        <image name="pressed" x="2" y="2" filename="data/gui/buttons/powers/addtime_dis.png" visible="0" />
      </button>
      
      
      <image  x="-15" y="-15" filename="data/gui/power_pbar_empty.png" enabled="0" />
      <progress name="addtime_progress" circular="1" x="-15" y="-15" w="90" h="90" filename="data/gui/power_pbar_filled.png" enabled="0" dataSource="GameBoardController firstAddTimeProgress" />
    
    
      <image x="43" y="53" filename="data/gui/powerup_counter.png" />
 	    <container name=""  x="47" y="57" w='100' h='100' content="data/partials/inap_but.xml" visible="1"/>
 
    </container>	
    

	<container x="15" y="25"  w='102' h='102' name="power_lock_addtime" visible="1" stateDataSource="UserResourcesController addtimeEnabledState" stateStop="1"> 
		<state name="enabled" visible="0" />
		<state name="disabled" visible="1" />
    <image  x="-15" y="-15" filename="data/gui/power_lock.png"  />
    
    <tooltip color="00000000">
      <state name="visible" next_state="visible2" color="ffffff00"/>
      <state name="visible2" color="ffffffff"/>
 
      <transition from="hidden" to="default" time="1.0"/>
      <transition from="default" to="visible" time="1.0"/>
   
      <image9 x='-70' y='-90' w="130" h="85" color="ffffff88" filename="data/gui/big_cb_composit.png" corner="38"/>
			<text x="-60" y="-80" w="110" h="80" line_height="20" align="center"  color="fffedd" text="power_tooltip_addtime" font="data/fonts/dsgoose_20_simple.xml" />
    </tooltip>    
	</container>
   
  
    <container name="addtime_hint" x="21" y="32"  w='1' h='1' visible="0"> 
  <particle_system x="0" y="0" w="30" h="30" filename="data/gfx/particles/rcp_2.png" start_color="ffffff00" end_color="ffffff2f" start_size="0.01" end_size="9" >
      <particle_emitter 
  	energy_min="1" 
  	energy_max="3" 
  	once="0" speed="60" 
  	spread="100" 
  	direction="315" 
  	speed_min="70" 
  	speed_max="95"

  	radial_min="0" radial_max="0" tangential_min="0" tangential_max="1"
  	gravity="-4"
  	  position_left="25" 
  	  position_top="25"
  	  position_right="35"
  	  position_bottom="35"

  	/>

    </particle_system>
    
    
    
      <particle_system x="0" y="0" w="30" h="30" filename="data/gfx/particles/sparcle_2.png" start_color="a3d7ff01" end_color="ffffffff" start_size="0.7" end_size="0.15" >
      <particle_emitter 
  	energy_min="1" 
  	energy_max="1.3" 
  	once="0" speed="3" 
  	spread="1" 
  	direction="90" 
  	speed_min="30" 
  	speed_max="45"

  	radial_min="0" radial_max="0" tangential_min="0" tangential_max="0"
  	gravity="0"
  	  position_left="-28" 
  	  position_top="25"
  	  position_right="-32"
  	  position_bottom="35"
spin_min="10"
spin_max="580"
  	/>
    
    
      <particle_emitter 
  	energy_min="1" 
  	energy_max="1.3" 
  	once="0" speed="3" 
  	spread="1" 
  	direction="270" 
  	speed_min="30" 
  	speed_max="45"

  	radial_min="0" radial_max="0" tangential_min="0" tangential_max="0"
  	gravity="0"
  	  position_left="88" 
  	  position_top="25"
  	  position_right="92"
  	  position_bottom="35"
spin_min="80"
spin_max="180"
  	/>
    
    
    
          <particle_emitter 
  	energy_min="1" 
  	energy_max="1.3" 
  	once="0" speed="3" 
  	spread="1" 
  	direction="180" 
  	speed_min="30" 
  	speed_max="45"

  	radial_min="0" radial_max="0" tangential_min="0" tangential_max="0"
  	gravity="0"
  	  position_left="25" 
  	  position_top="-28"
  	  position_right="35"
  	  position_bottom="-32"
spin_min="80"
spin_max="180"
  	/>


          <particle_emitter 
  	energy_min="1" 
  	energy_max="1.3" 
  	once="0" speed="3" 
  	spread="1" 
  	direction="0" 
  	speed_min="30" 
  	speed_max="45"

  	radial_min="0" radial_max="0" tangential_min="0" tangential_max="0"
  	gravity="0"
  	  position_left="25" 
  	  position_top="88"
  	  position_right="35"
  	  position_bottom="92"
spin_min="80"
spin_max="380"
  	/>


          <particle_emitter 
  	energy_min="1" 
  	energy_max="1.3" 
  	once="0" speed="2" 
  	spread="1" 
  	direction="135" 
  	speed_min="30" 
  	speed_max="45"

  	radial_min="0" radial_max="0" tangential_min="0" tangential_max="0"
  	gravity="0"
  	  position_left="-24" 
  	  position_top="-24"
  	  position_right="-18"
  	  position_bottom="-18"
spin_min="80"
spin_max="180"
  	/>
    
           <particle_emitter 
  	energy_min="1" 
  	energy_max="1.3" 
  	once="0" speed="2" 
  	spread="1" 
  	direction="225" 
  	speed_min="30" 
  	speed_max="45"

  	radial_min="0" radial_max="0" tangential_min="0" tangential_max="0"
  	gravity="0"
  	  position_left="78" 
  	  position_top="-24"
  	  position_right="82"
  	  position_bottom="-18"
spin_min="80"
spin_max="280"
  	/>
    
           <particle_emitter 
  	energy_min="1" 
  	energy_max="1.3" 
  	once="0" speed="1" 
  	spread="1" 
  	direction="45" 
  	speed_min="30" 
  	speed_max="45"

  	radial_min="0" radial_max="0" tangential_min="0" tangential_max="0"
  	gravity="0"
  	  position_left="-24" 
  	  position_top="76"
  	  position_right="-18"
  	  position_bottom="82"
spin_min="80"
spin_max="280"
  	/>
    
    
    </particle_system>
    
    
    </container>	  
	
	

  

</container>