<scene w="1920" h="1080">
  <!-- <container name="background" w="1400" h="768" centerParent="1" /> -->
  <container name="background" w="1400" h="768" centerParent="1" content="data/themes/flat/backgrounds/1.xml"/>
  
  <container name="left_hud" x="0" y="0" w="460" h="1080">

    <nodelist x="50" y="50" w="360" h="150">
      <radio_button w="50" h="50" dataSource="clickMode" value="remove">
        <image name="mark" fillParent="1" color="ffa0a0ff" />
        <image name="default" color="000000ff" x="4" y="4" w="42" h="42"/>
        <image name="active" color="ffa000ff" x="4" y="4" w="42" h="42" />        
      </radio_button>      
      <radio_button w="50" h="50" dataSource="clickMode" value="block">
        <image name="mark" fillParent="1" color="ffa0a0ff" />
        <image name="default" color="a0a0a0ff" x="4" y="4" w="42" h="42"/>
        <image name="active" color="ffa000ff" x="4" y="4" w="42" h="42" />        
      </radio_button>      
      <radio_button w="50" h="50" dataSource="clickMode" value="lock">
        <image name="mark" fillParent="1" color="ffa0a0ff" />
        <image name="default" color="a0a0a0ff" filename="data/gfx/lock.png" x="4" y="4" w="42" h="42"/>
        <image name="active" color="ffa000ff" filename="data/gfx/lock.png" x="4" y="4" w="42" h="42" />        
      </radio_button>            
      <radio_button w="50" h="50" dataSource="clickMode" value="crate">
        <image name="mark" fillParent="1" color="ffa0a0ff" />
        <image name="default" color="a0a0a0ff" filename="data/gfx/crate.png" x="4" y="4" w="42" h="42"/>
        <image name="active" color="ffa000ff" filename="data/gfx/crate.png" x="4" y="4" w="42" h="42" />        
      </radio_button>            
      <radio_button w="50" h="50" dataSource="clickMode" value="freeze">
        <image name="mark" fillParent="1" color="ffa0a0ff" />
        <image name="default" color="a0a0a0ff" filename="data/gfx/ice.png" x="4" y="4" w="42" h="42"/>
        <image name="active" color="ffa000ff" filename="data/gfx/ice.png" x="4" y="4" w="42" h="42" />        
      </radio_button>
    </nodelist>

    <nodelist x="50" y="250" w="360" h="900">
      <radio_button w="50" h="50" dataSource="clickMode" value="2">
        <image name="mark" fillParent="1" color="ffa0a0ff" />
        <image name="default" fillParent="1" filename="data/themes/flat/gfx/pieces/0002.png" />
        <image name="active" fillParent="1" filename="data/themes/flat/gfx/pieces/0002.png" color="ffa000ff"/>        
      </radio_button>
      <radio_button w="50" h="50" dataSource="clickMode" value="4">
        <image name="mark" fillParent="1" color="ffa0a0ff" />        
        <image name="default" fillParent="1" filename="data/themes/flat/gfx/pieces/0004.png" />
        <image name="active" fillParent="1" filename="data/themes/flat/gfx/pieces/0004.png" color="ffa000ff"/>        
      </radio_button>
      <radio_button w="50" h="50" dataSource="clickMode" value="8">
        <image name="mark" fillParent="1" color="ffa0a0ff" />        
        <image name="default" fillParent="1" filename="data/themes/flat/gfx/pieces/0008.png" />
        <image name="active" fillParent="1" filename="data/themes/flat/gfx/pieces/0008.png" color="ffa000ff"/>        
      </radio_button>
      <radio_button w="50" h="50" dataSource="clickMode" value="16">
        <image name="mark" fillParent="1" color="ffa0a0ff" />        
        <image name="default" fillParent="1" filename="data/themes/flat/gfx/pieces/0016.png" />
        <image name="active" fillParent="1" filename="data/themes/flat/gfx/pieces/0016.png" color="ffa000ff"/>        
      </radio_button>
      <radio_button w="50" h="50" dataSource="clickMode" value="32">
        <image name="mark" fillParent="1" color="ffa0a0ff" />        
        <image name="default" fillParent="1" filename="data/themes/flat/gfx/pieces/0032.png" />
        <image name="active" fillParent="1" filename="data/themes/flat/gfx/pieces/0032.png" color="ffa000ff"/>        
      </radio_button>
      <radio_button w="50" h="50" dataSource="clickMode" value="64">
        <image name="mark" fillParent="1" color="ffa0a0ff" />
        <image name="default" fillParent="1" filename="data/themes/flat/gfx/pieces/0064.png" />
        <image name="active" fillParent="1" filename="data/themes/flat/gfx/pieces/0064.png" color="ffa000ff"/>        
      </radio_button>
      <radio_button w="50" h="50" dataSource="clickMode" value="128">
        <image name="mark" fillParent="1" color="ffa0a0ff" />        
        <image name="default" fillParent="1" filename="data/themes/flat/gfx/pieces/0128.png" />
        <image name="active" fillParent="1" filename="data/themes/flat/gfx/pieces/0128.png" color="ffa000ff"/>        
      </radio_button>
      <radio_button w="50" h="50" dataSource="clickMode" value="256">
        <image name="mark" fillParent="1" color="ffa0a0ff" />        
        <image name="default" fillParent="1" filename="data/themes/flat/gfx/pieces/0256.png" />
        <image name="active" fillParent="1" filename="data/themes/flat/gfx/pieces/0256.png" color="ffa000ff"/>        
      </radio_button>
      <radio_button w="50" h="50" dataSource="clickMode" value="512">
        <image name="mark" fillParent="1" color="ffa0a0ff" />        
        <image name="default" fillParent="1" filename="data/themes/flat/gfx/pieces/0512.png" />
        <image name="active" fillParent="1" filename="data/themes/flat/gfx/pieces/0512.png" color="ffa000ff"/>        
      </radio_button>
      <radio_button w="50" h="50" dataSource="clickMode" value="1024">
        <image name="mark" fillParent="1" color="ffa0a0ff" />        
        <image name="default" fillParent="1" filename="data/themes/flat/gfx/pieces/1024.png" />
        <image name="active" fillParent="1" filename="data/themes/flat/gfx/pieces/1024.png" color="ffa000ff"/>        
      </radio_button>
      <radio_button w="50" h="50" dataSource="clickMode" value="2048">
        <image name="mark" fillParent="1" color="ffa0a0ff" />        
        <image name="default" fillParent="1" filename="data/themes/flat/gfx/pieces/2048.png" />
        <image name="active" fillParent="1" filename="data/themes/flat/gfx/pieces/2048.png" color="ffa000ff"/>        
      </radio_button>
      <radio_button w="50" h="50" dataSource="clickMode" value="4096">
        <image name="mark" fillParent="1" color="ffa0a0ff" />        
        <image name="default" fillParent="1" filename="data/themes/flat/gfx/pieces/4096.png" />
        <image name="active" fillParent="1" filename="data/themes/flat/gfx/pieces/4096.png" color="ffa000ff"/>
      </radio_button>
      <radio_button w="50" h="50" dataSource="clickMode" value="-1">
        <image name="mark" fillParent="1" color="ffa0a0ff" />        
        <image name="default" fillParent="1" color="000000ff" />
        <image name="active" fillParent="1" color="ffa000ff"/>
      </radio_button>
      <radio_button w="50" h="50" dataSource="clickMode" value="-2">
        <image name="mark" fillParent="1" color="ffa0a0ff" />                
        <image name="default" fillParent="1" filename="data/themes/flat/gfx/pieces/lock.png" />
        <image name="active" fillParent="1" filename="data/themes/flat/gfx/pieces/lock.png" color="ffa000ff"/>
      </radio_button>
      <radio_button w="50" h="50" dataSource="clickMode" value="-3">
        <image name="mark" fillParent="1" color="ffa0a0ff" />                
        <image name="default" fillParent="1" filename="data/themes/flat/gfx/pieces/key.png" />
        <image name="active" fillParent="1" filename="data/themes/flat/gfx/pieces/key.png" color="ffa000ff"/>
      </radio_button>
      <radio_button w="50" h="50" dataSource="clickMode" value="-4">
        <image name="mark" fillParent="1" color="ffa0a0ff" />                
        <image name="default" fillParent="1" filename="data/themes/flat/gfx/pieces/in.png" />
        <image name="active" fillParent="1" filename="data/themes/flat/gfx/pieces/in.png" color="ffa000ff"/>
      </radio_button>
      <radio_button w="50" h="50" dataSource="clickMode" value="-5">
        <image name="mark" fillParent="1" color="ffa0a0ff" />                
        <image name="default" fillParent="1" filename="data/themes/flat/gfx/pieces/yan.png" />
        <image name="active" fillParent="1" filename="data/themes/flat/gfx/pieces/yan.png" color="ffa000ff"/>
      </radio_button>

    </nodelist>

    <nodelist x="50" y="500" w="360" h="900">
      <radio_button w="50" h="50" dataSource="clickMode" value="target_2">
        <image name="mark" fillParent="1" color="ffa0a0ff" />
        <image name="default" fillParent="1" filename="data/themes/flat/gfx/pieces/t0002.png" />
        <image name="active" fillParent="1" filename="data/themes/flat/gfx/pieces/t0002.png" color="ffa000ff"/>        
      </radio_button>
      <radio_button w="50" h="50" dataSource="clickMode" value="target_4">
        <image name="mark" fillParent="1" color="ffa0a0ff" />        
        <image name="default" fillParent="1" filename="data/themes/flat/gfx/pieces/t0004.png" />
        <image name="active" fillParent="1" filename="data/themes/flat/gfx/pieces/t0004.png" color="ffa000ff"/>        
      </radio_button>
      <radio_button w="50" h="50" dataSource="clickMode" value="target_8">
        <image name="mark" fillParent="1" color="ffa0a0ff" />        
        <image name="default" fillParent="1" filename="data/themes/flat/gfx/pieces/t0008.png" />
        <image name="active" fillParent="1" filename="data/themes/flat/gfx/pieces/t0008.png" color="ffa000ff"/>        
      </radio_button>
      <radio_button w="50" h="50" dataSource="clickMode" value="target_16">
        <image name="mark" fillParent="1" color="ffa0a0ff" />        
        <image name="default" fillParent="1" filename="data/themes/flat/gfx/pieces/t0016.png" />
        <image name="active" fillParent="1" filename="data/themes/flat/gfx/pieces/t0016.png" color="ffa000ff"/>        
      </radio_button>
      <radio_button w="50" h="50" dataSource="clickMode" value="target_32">
        <image name="mark" fillParent="1" color="ffa0a0ff" />        
        <image name="default" fillParent="1" filename="data/themes/flat/gfx/pieces/t0032.png" />
        <image name="active" fillParent="1" filename="data/themes/flat/gfx/pieces/t0032.png" color="ffa000ff"/>        
      </radio_button>
      <radio_button w="50" h="50" dataSource="clickMode" value="target_64">
        <image name="mark" fillParent="1" color="ffa0a0ff" />
        <image name="default" fillParent="1" filename="data/themes/flat/gfx/pieces/t0064.png" />
        <image name="active" fillParent="1" filename="data/themes/flat/gfx/pieces/t0064.png" color="ffa000ff"/>        
      </radio_button>
      <radio_button w="50" h="50" dataSource="clickMode" value="target_128">
        <image name="mark" fillParent="1" color="ffa0a0ff" />        
        <image name="default" fillParent="1" filename="data/themes/flat/gfx/pieces/t0128.png" />
        <image name="active" fillParent="1" filename="data/themes/flat/gfx/pieces/t0128.png" color="ffa000ff"/>        
      </radio_button>
      <radio_button w="50" h="50" dataSource="clickMode" value="target_256">
        <image name="mark" fillParent="1" color="ffa0a0ff" />        
        <image name="default" fillParent="1" filename="data/themes/flat/gfx/pieces/t0256.png" />
        <image name="active" fillParent="1" filename="data/themes/flat/gfx/pieces/t0256.png" color="ffa000ff"/>        
      </radio_button>
      <radio_button w="50" h="50" dataSource="clickMode" value="target_512">
        <image name="mark" fillParent="1" color="ffa0a0ff" />        
        <image name="default" fillParent="1" filename="data/themes/flat/gfx/pieces/t0512.png" />
        <image name="active" fillParent="1" filename="data/themes/flat/gfx/pieces/t0512.png" color="ffa000ff"/>        
      </radio_button>
      <radio_button w="50" h="50" dataSource="clickMode" value="target_1024">
        <image name="mark" fillParent="1" color="ffa0a0ff" />        
        <image name="default" fillParent="1" filename="data/themes/flat/gfx/pieces/t1024.png" />
        <image name="active" fillParent="1" filename="data/themes/flat/gfx/pieces/t1024.png" color="ffa000ff"/>        
      </radio_button>
      <radio_button w="50" h="50" dataSource="clickMode" value="target_2048">
        <image name="mark" fillParent="1" color="ffa0a0ff" />        
        <image name="default" fillParent="1" filename="data/themes/flat/gfx/pieces/t2048.png" />
        <image name="active" fillParent="1" filename="data/themes/flat/gfx/pieces/t2048.png" color="ffa000ff"/>        
      </radio_button>
      <radio_button w="50" h="50" dataSource="clickMode" value="target_4096">
        <image name="mark" fillParent="1" color="ffa0a0ff" />        
        <image name="default" fillParent="1" filename="data/themes/flat/gfx/pieces/t4096.png" />
        <image name="active" fillParent="1" filename="data/themes/flat/gfx/pieces/t4096.png" color="ffa000ff"/>
      </radio_button>
    </nodelist>

    <button x="20" y="980" w="200" h="40" name="save" on_click="save()" />
    <button x="230" y="980" w="200" h="40" name="exit" on_click="exit()" />
    
  </container>
	

  <container name="right_hud" x="1460" y="0" w="460" h="1080" >
    
    <spinbox x="50" y="50" w="200" h="50" dataSource="movesLimit" />
    <spinbox x="50" y="150" w="200" h="50" dataSource="boardSize" />

    <container x="50" y="250" w="200" h="50">
      <checkbox x="0" y="0" w="50" h="50" dataSource="spawn" />
      <text x="70" y="0" text="spawn" parentVAlign="center" />
    </container>
    
    <container x="20" y="300" w="430" h="760" name="objectives">
      <image9 fillParent="1" filename="data/gui/composit1.png" corner="20"/> 
      <text x="20" y="40" text="objectives" />

      <button x="200" y="20" w="160" h="40" name="add" />
    
      <nodelist x="20" y="80" w="410" h="680" name="list">
        <!-- <container content="data/scenes/editor/objective.xml" />
        <container content="data/scenes/editor/objective.xml" />
        <container content="data/scenes/editor/objective.xml" /> -->
      </nodelist>
    </container>
    
  </container>
  
 
  <container name="board" visible="1" w="1000" h="1000" x="460" y="40">
    <image9 x='-15' y='-15' w="1030" h="1030" filename="data/gui/composit1.png" corner="20"/> 
  </container>

    
</scene>