<scene>
    <container name="background" />
	
    <image x="50" y="94" filename="data/gfx/grid_in_editor_1711.png" />

	
	   <text x="270" y="10" align="right" font="data/fonts/dsgoose_20_simple.xml" text="name:" />
	   <text x="272" y="10" align="left" font="data/fonts/dsgoose_20_simple.xml" text="666" name="levelname"/>
	   
	   <text x="150" y="10" align="right" font="data/fonts/dsgoose_20_simple.xml" text="#:" />
 	   <text x="152" y="10" align="left" font="data/fonts/dsgoose_20_simple.xml" text="666" name="levelidx"/>
	   
	   <button x="500" y="20" on_click="switchLevel:-1" content="data/partials/ed_plus_button.xml" />
       	   <text x="480" y="10" align="right" font="data/fonts/dsgoose_20_simple.xml" text="another lvl" />
	   <button x="500" y="1" on_click="switchLevel:1" content="data/partials/ed_minus_button.xml" />
	   
	   <button x="700" y="20" on_click="moveLevel:-1" content="data/partials/ed_plus_button.xml" />
       	   <text x="640" y="10" align="center" font="data/fonts/dsgoose_20_simple.xml" text="move lvl" />
	   <button x="700" y="1" on_click="moveLevel:1" content="data/partials/ed_minus_button.xml" />
	
    <container x="50" y="40" w="960" h="624" name="board"/>

    <container w='1024' h='95' x='0' y='698'> 
      <image9 w="1024" h="95" filename="data/gfx/gui/big_cb_composit2.png" corner="38"/>

      <button w="40" h="40" x="10" y="10" on_click="board_mode">
          <image name="default" x="0" y="0" filename="data/gfx/board/grid0.png" visible="1" />
          <image name="active" x="-3" y="-3" w="46" h="46" filename="data/gfx/board/grid0.png" visible="0" />
          <image name="pressed" x="-3" y="3" w="46" h="46" filename="data/gfx/board/grid0.png" visible="0" />
      </button>
      <button w="40" h="40" x="60" y="10" on_click="emitters_mode">
          <image name="default" x="0" y="0" filename="data/gfx/gui/editor/emitter.png" visible="1" />
          <image name="active" x="-3" y="-3" w="46" h="46" filename="data/gfx/gui/editor/emitter.png" visible="0" />
          <image name="pressed" x="-3" y="3" w="46" h="46" filename="data/gfx/gui/editor/emitter.png" visible="0" />
      </button>
      
      <button w="40" h="40" x="110" y="10" on_click="ball:1">
          <image name="default" x="0" y="0" filename="data/gfx/balls/1_01.png" visible="1" />
          <image name="active" x="-3" y="-3" w="46" h="46" filename="data/gfx/balls/1_01.png" visible="0" />
          <image name="pressed" x="-3" y="3" w="46" h="46" filename="data/gfx/balls/1_01.png" visible="0" />
      </button>
      <button w="40" h="40" x="160" y="10" on_click="ball:2">
          <image name="default" x="0" y="0" filename="data/gfx/balls/2_01.png" visible="1" />
          <image name="active" x="-3" y="-3" w="46" h="46" filename="data/gfx/balls/2_01.png" visible="0" />
          <image name="pressed" x="-3" y="3" w="46" h="46" filename="data/gfx/balls/2_01.png" visible="0" />
      </button>
      <button w="40" h="40" x="210" y="10" on_click="ball:3">
          <image name="default" x="0" y="0" filename="data/gfx/balls/3_01.png" visible="1" />
          <image name="active" x="-3" y="-3" w="46" h="46" filename="data/gfx/balls/3_01.png" visible="0" />
          <image name="pressed" x="-3" y="3" w="46" h="46" filename="data/gfx/balls/3_01.png" visible="0" />
      </button>
      <button w="40" h="40" x="260" y="10" on_click="ball:4">
          <image name="default" x="0" y="0" filename="data/gfx/balls/4_01.png" visible="1" />
          <image name="active" x="-3" y="-3" w="46" h="46" filename="data/gfx/balls/4_01.png" visible="0" />
          <image name="pressed" x="-3" y="3" w="46" h="46" filename="data/gfx/balls/4_01.png" visible="0" />
      </button>
      <button w="40" h="40" x="310" y="10" on_click="ball:5">
          <image name="default" x="0" y="0" filename="data/gfx/balls/5_01.png" visible="1" />
          <image name="active" x="-3" y="-3" w="46" h="46" filename="data/gfx/balls/5_01.png" visible="0" />
          <image name="pressed" x="-3" y="3" w="46" h="46" filename="data/gfx/balls/5_01.png" visible="0" />
      </button>
      <button w="40" h="40" x="360" y="10" on_click="ball:6">
          <image name="default" x="0" y="0" filename="data/gfx/balls/6_01.png" visible="1" />
          <image name="active" x="-3" y="-3" w="46" h="46" filename="data/gfx/balls/6_01.png" visible="0" />
          <image name="pressed" x="-3" y="3" w="46" h="46" filename="data/gfx/balls/6_01.png" visible="0" />
      </button>
      <button w="40" h="40" x="410" y="10" on_click="ball:7">
          <image name="default" x="0" y="0" filename="data/gfx/balls/7_01.png" visible="1" />
          <image name="active" x="-3" y="-3" w="46" h="46" filename="data/gfx/balls/7_01.png" visible="0" />
          <image name="pressed" x="-3" y="3" w="46" h="46" filename="data/gfx/balls/7_01.png" visible="0" />
      </button>
      
      <button w="40" h="40" x="460" y="10" on_click="locks_mode">
          <image name="default" x="0" y="0" w="40" h="40" filename="data/gfx/board/lock.png" visible="1" />
          <image name="active" x="-3" y="-3" w="46" h="46" filename="data/gfx/board/lock.png" visible="0" />
          <image name="pressed" x="-3" y="3" w="46" h="46" filename="data/gfx/board/lock.png" visible="0" />
      </button>

	  
	       <button w="40" h="40" x="510" y="10" on_click="ball:9">
          <image name="default" x="0" y="0" filename="data/gfx/balls/9_bomb/01.png" visible="1" />
          <image name="active" x="-3" y="-3" w="46" h="46" filename="data/gfx/balls/9_bomb/01.png" visible="0" />
          <image name="pressed" x="-3" y="3" w="46" h="46" filename="data/gfx/balls/9_bomb/01.png" visible="0" />
      </button>
	  
	  
       <button w="40" h="40" x="570" y="10" on_click="ball:h">
          <image name="default" x="0" y="0" filename="data/gfx/balls/h_rl_horizontal/01.png" visible="1" />
          <image name="active" x="-3" y="-3" w="46" h="46" filename="data/gfx/balls/h_rl_horizontal/01.png" visible="0" />
          <image name="pressed" x="-3" y="3" w="46" h="46" filename="data/gfx/balls/h_rl_horizontal/01.png" visible="0" />
      </button>
	  
	  
	       <button w="40" h="40" x="620" y="10" on_click="ball:i">
          <image name="default" x="0" y="0" filename="data/gfx/balls/i_rl_vertical/01.png" visible="1" />
          <image name="active" x="-3" y="-3" w="46" h="46" filename="data/gfx/balls/i_rl_vertical/01.png" visible="0" />
          <image name="pressed" x="-3" y="3" w="46" h="46" filename="data/gfx/balls/i_rl_vertical/01.png" visible="0" />
      </button>
	  
	  
	       <button w="40" h="40" x="670" y="10" on_click="ball:j">
          <image name="default" x="0" y="0" filename="data/gfx/balls/j_rl_diagonal_a/01.png" visible="1" />
          <image name="active" x="-3" y="-3" w="46" h="46" filename="data/gfx/balls/j_rl_diagonal_a/01.png" visible="0" />
          <image name="pressed" x="-3" y="3" w="46" h="46" filename="data/gfx/balls/j_rl_diagonal_a/01.png" visible="0" />
      </button>


      <button w="40" h="40" x="720" y="10" on_click="ball:k">
        <image name="default" x="0" y="0" filename="data/gfx/balls/k_rl_diagonal_b/01.png" visible="1" />
        <image name="active" x="-3" y="-3" w="46" h="46" filename="data/gfx/balls/j_rl_diagonal_b/01.png" visible="0" />
        <image name="pressed" x="-3" y="3" w="46" h="46" filename="data/gfx/balls/j_rl_diagonal_b/01.png" visible="0" />
      </button>


      <button w="40" h="40" x="770" y="10" on_click="ball:8">
        <image name="default" x="0" y="0" filename="data/gfx/balls/8_hameleon/01.png" visible="1" />
        <image name="active" x="-3" y="-3" w="46" h="46" filename="data/gfx/balls/8_hameleon/01.png" visible="0" />
        <image name="pressed" x="-3" y="3" w="46" h="46" filename="data/gfx/balls/8_hameleon/01.png" visible="0" />
      </button>



      <button w="40" h="40" x="820" y="10" on_click="ball:a">
        <image name="default" x="0" y="0" filename="data/gfx/balls/a_bad/01.png" visible="1" />
        <image name="active" x="-3" y="-3" w="46" h="46" filename="data/gfx/balls/a_bad/01.png" visible="0" />
        <image name="pressed" x="-3" y="3" w="46" h="46" filename="data/gfx/balls/a_bad/01.png" visible="0" />
      </button>

	  
      <button w="40" h="40" x="870" y="10" on_click="ball:l">
        <image name="default" x="0" y="0" filename="data/gfx/balls/l_coin/01.png" visible="1" />
        <image name="active" x="-3" y="-3" w="46" h="46" filename="data/gfx/balls/l_coin/01.png" visible="0" />
        <image name="pressed" x="-3" y="3" w="46" h="46" filename="data/gfx/balls/l_coin/01.png" visible="0" />
      </button>
	  
	  
	  
    </container>
  
  

    <button w="40" h="40" x="10" y="10" on_click="setState:probs">
        <image name="default" x="0" y="0" w="40" h="40" filename="data/gfx/gui/editor/options.png" visible="1" />
        <image name="active" x="-3" y="-3" w="46" h="46" filename="data/gfx/gui/editor/options.png" visible="0" />
        <image name="pressed" x="-3" y="3" w="46" h="46" filename="data/gfx/gui/editor/options.png" visible="0" />
    </button>
    
    <button w="40" h="40" x="10" y="60" on_click="saveexit">
        <image name="default" x="0" y="0" w="40" h="40" filename="data/gfx/gui/editor/save.png" visible="1" />
        <image name="active" x="-3" y="-3" w="46" h="46" filename="data/gfx/gui/editor/save.png" visible="0" />
        <image name="pressed" x="-3" y="3" w="46" h="46" filename="data/gfx/gui/editor/save.png" visible="0" />
    </button>

    <container x="100" y="-800" w="824" h="800">
      <state name="probs" y="50" x="100"/>
      <image9 w="824" h="720" filename="data/gfx/gui/big_cb_composit2.png" corner="38"/>

    

      <button x="250" y="70" text="prev bg" on_click="prevBg" content="data/partials/med_button.xml" />
      <button x="350" y="70" text="next bg" on_click="nextBg" content="data/partials/med_button.xml" />

      <container x="0" y="100" w="824" h="400">
        <image x="50" y="50" filename="data/gfx/balls/1_01.png"/>
        <text x='100' y='50' color='ffd65b' font='data/fonts/dsgoose_20_simple.xml' text='0.00' name="prob_txt_1"/> 
        <button x="150" y="50" on_click="inc_prob:1" content="data/partials/ed_plus_button.xml" />
        <button x="150" y="70" on_click="dec_prob:1" content="data/partials/ed_minus_button.xml" />
        <text x='230' y='50' color='ffd65b' align="right" font='data/fonts/dsgoose_20_simple.xml' text='0' name="delay_txt_1"/> 
        <button x="240" y="50" on_click="inc_delay:1" content="data/partials/ed_plus_button.xml" />
        <button x="240" y="70" on_click="dec_delay:1" content="data/partials/ed_minus_button.xml" />

        <image x="50" y="100" filename="data/gfx/balls/2_01.png"/>
        <text x='100' y='100' color='ffd65b' font='data/fonts/dsgoose_20_simple.xml' text='0.00' name="prob_txt_2"/> 
        <button x="150" y="100" on_click="inc_prob:2" content="data/partials/ed_plus_button.xml" />
        <button x="150" y="120" on_click="dec_prob:2" content="data/partials/ed_minus_button.xml" />
        <text x='230' y='100' color='ffd65b' align="right" font='data/fonts/dsgoose_20_simple.xml' text='0' name="delay_txt_2"/> 
        <button x="240" y="100" on_click="inc_delay:2" content="data/partials/ed_plus_button.xml" />
        <button x="240" y="120" on_click="dec_delay:2" content="data/partials/ed_minus_button.xml" />




        <image x="50" y="150" filename="data/gfx/balls/3_01.png"/>
        <text x='100' y='150' color='ffd65b' font='data/fonts/dsgoose_20_simple.xml' text='0.00' name="prob_txt_3"/> 
        <button x="150" y="150" on_click="inc_prob:3" content="data/partials/ed_plus_button.xml" />
        <button x="150" y="170" on_click="dec_prob:3" content="data/partials/ed_minus_button.xml" />
        <text x='230' y='150' color='ffd65b' align="right" font='data/fonts/dsgoose_20_simple.xml' text='0' name="delay_txt_3"/> 
        <button x="240" y="150" on_click="inc_delay:3" content="data/partials/ed_plus_button.xml" />
        <button x="240" y="170" on_click="dec_delay:3" content="data/partials/ed_minus_button.xml" />




        <image x="50" y="200" filename="data/gfx/balls/4_01.png"/>
        <text x='100' y='200' color='ffd65b' font='data/fonts/dsgoose_20_simple.xml' text='0.00' name="prob_txt_4"/> 
        <button x="150" y="200" on_click="inc_prob:4" content="data/partials/ed_plus_button.xml" />
        <button x="150" y="220" on_click="dec_prob:4" content="data/partials/ed_minus_button.xml" />
        <text x='230' y='200' color='ffd65b' align="right" font='data/fonts/dsgoose_20_simple.xml' text='0' name="delay_txt_4"/>         
        <button x="240" y="200" on_click="inc_delay:4" content="data/partials/ed_plus_button.xml" />
        <button x="240" y="220" on_click="dec_delay:4" content="data/partials/ed_minus_button.xml" />




        <image x="50" y="250" filename="data/gfx/balls/5_01.png"/>
        <text x='100' y='250' color='ffd65b' font='data/fonts/dsgoose_20_simple.xml' text='0.00' name="prob_txt_5"/> 
        <button x="150" y="250" on_click="inc_prob:5" content="data/partials/ed_plus_button.xml" />
        <button x="150" y="270" on_click="dec_prob:5" content="data/partials/ed_minus_button.xml" />
        <text x='230' y='250' color='ffd65b' align="right" font='data/fonts/dsgoose_20_simple.xml' text='0' name="delay_txt_5"/> 
        <button x="240" y="250" on_click="inc_delay:5" content="data/partials/ed_plus_button.xml" />
        <button x="240" y="270" on_click="dec_delay:5" content="data/partials/ed_minus_button.xml" />




        <image x="50" y="300" filename="data/gfx/balls/6_01.png"/>
        <text x='100' y='300' color='ffd65b' font='data/fonts/dsgoose_20_simple.xml' text='0.00' name="prob_txt_6"/> 
        <button x="150" y="300" on_click="inc_prob:6" content="data/partials/ed_plus_button.xml" />
        <button x="150" y="320" on_click="dec_prob:6" content="data/partials/ed_minus_button.xml" />
        <text x='230' y='300' color='ffd65b' align="right" font='data/fonts/dsgoose_20_simple.xml' text='0' name="delay_txt_6"/>         
        <button x="240" y="300" on_click="inc_delay:6" content="data/partials/ed_plus_button.xml" />
        <button x="240" y="320" on_click="dec_delay:6" content="data/partials/ed_minus_button.xml" />

        <image x="50" y="350" filename="data/gfx/balls/7_01.png"/>
        <text x='100' y='350' color='ffd65b' font='data/fonts/dsgoose_20_simple.xml' text='0.00' name="prob_txt_7"/> 
        <button x="150" y="350" on_click="inc_prob:7" content="data/partials/ed_plus_button.xml" />
        <button x="150" y="370" on_click="dec_prob:7" content="data/partials/ed_minus_button.xml" />
        <text x='230' y='350' color='ffd65b' align="right" font='data/fonts/dsgoose_20_simple.xml' text='0' name="delay_txt_7"/> 
        <button x="240" y="350" on_click="inc_delay:7" content="data/partials/ed_plus_button.xml" />
        <button x="240" y="370" on_click="dec_delay:7" content="data/partials/ed_minus_button.xml" />
		
		
		 <image x="350" y="50" filename="data/gfx/balls/h_rl_horizontal/01.png"/>
        <text x='400' y='50' color='ffd65b' font='data/fonts/dsgoose_20_simple.xml' text='0.00' name="prob_txt_h"/> 
        <button x="450" y="50" on_click="inc_prob:h" content="data/partials/ed_plus_button.xml" />
        <button x="450" y="70" on_click="dec_prob:h" content="data/partials/ed_minus_button.xml" />
        <text x='530' y='50' color='ffd65b' align="right" font='data/fonts/dsgoose_20_simple.xml' text='0' name="delay_txt_h"/> 
        <button x="540" y="50" on_click="inc_delay:h" content="data/partials/ed_plus_button.xml" />
        <button x="540" y="70" on_click="dec_delay:h" content="data/partials/ed_minus_button.xml" />
		
		
		
    	 <image x="350" y="100" filename="data/gfx/balls/i_rl_vertical/01.png"/>
        <text x='400' y='100' color='ffd65b' font='data/fonts/dsgoose_20_simple.xml' text='0.00' name="prob_txt_i"/> 
        <button x="450" y="100" on_click="inc_prob:i" content="data/partials/ed_plus_button.xml" />
        <button x="450" y="120" on_click="dec_prob:i" content="data/partials/ed_minus_button.xml" />
        <text x='530' y='100' color='ffd65b' align="right" font='data/fonts/dsgoose_20_simple.xml' text='0' name="delay_txt_i"/> 
        <button x="540" y="100" on_click="inc_delay:i" content="data/partials/ed_plus_button.xml" />
        <button x="540" y="120" on_click="dec_delay:i" content="data/partials/ed_minus_button.xml" />
		
		
		
		<image x="350" y="150" filename="data/gfx/balls/j_rl_diagonal_a/01.png"/>
        <text x='400' y='150' color='ffd65b' font='data/fonts/dsgoose_20_simple.xml' text='0.00' name="prob_txt_j"/> 
        <button x="450" y="150" on_click="inc_prob:j" content="data/partials/ed_plus_button.xml" />
        <button x="450" y="170" on_click="dec_prob:j" content="data/partials/ed_minus_button.xml" />
        <text x='530' y='150' color='ffd65b' align="right" font='data/fonts/dsgoose_20_simple.xml' text='0' name="delay_txt_j"/> 
        <button x="540" y="150" on_click="inc_delay:j" content="data/partials/ed_plus_button.xml" />
        <button x="540" y="170" on_click="dec_delay:j" content="data/partials/ed_minus_button.xml" />
		
		
		<image x="350" y="200" filename="data/gfx/balls/k_rl_diagonal_b/01.png"/>
        <text x='400' y='200' color='ffd65b' font='data/fonts/dsgoose_20_simple.xml' text='0.00' name="prob_txt_k"/> 
        <button x="450" y="200" on_click="inc_prob:k" content="data/partials/ed_plus_button.xml" />
        <button x="450" y="220" on_click="dec_prob:k" content="data/partials/ed_minus_button.xml" />
        <text x='530' y='200' color='ffd65b' align="right" font='data/fonts/dsgoose_20_simple.xml' text='0' name="delay_txt_k"/> 
        <button x="540" y="200" on_click="inc_delay:k" content="data/partials/ed_plus_button.xml" />
        <button x="540" y="220" on_click="dec_delay:k" content="data/partials/ed_minus_button.xml" />
		
		
		
		
		<image x="350" y="250" filename="data/gfx/balls/a_bad/01.png"/>
        <text x='400' y='250' color='ffd65b' font='data/fonts/dsgoose_20_simple.xml' text='0.00' name="prob_txt_a"/> 
        <button x="450" y="250" on_click="inc_prob:a" content="data/partials/ed_plus_button.xml" />
        <button x="450" y="270" on_click="dec_prob:a" content="data/partials/ed_minus_button.xml" />
        <text x='530' y='250' color='ffd65b' align="right" font='data/fonts/dsgoose_20_simple.xml' text='0' name="delay_txt_a"/> 
        <button x="540" y="250" on_click="inc_delay:a" content="data/partials/ed_plus_button.xml" />
        <button x="540" y="270" on_click="dec_delay:a" content="data/partials/ed_minus_button.xml" />
		
		<image x="350" y="300" filename="data/gfx/balls/9_bomb/01.png"/>
        <text x='400' y='300' color='ffd65b' font='data/fonts/dsgoose_20_simple.xml' text='0.00' name="prob_txt_9"/> 
        <button x="450" y="300" on_click="inc_prob:9" content="data/partials/ed_plus_button.xml" />
        <button x="450" y="320" on_click="dec_prob:9" content="data/partials/ed_minus_button.xml" />
        <text x='530' y='300' color='ffd65b' align="right" font='data/fonts/dsgoose_20_simple.xml' text='0' name="delay_txt_9"/> 
        <button x="540" y="300" on_click="inc_delay:9" content="data/partials/ed_plus_button.xml" />
        <button x="540" y="320" on_click="dec_delay:9" content="data/partials/ed_minus_button.xml" />
		
		
		<image x="350" y="350" filename="data/gfx/balls/8_hameleon/01.png"/>
        <text x='400' y='350' color='ffd65b' font='data/fonts/dsgoose_20_simple.xml' text='0.00' name="prob_txt_8"/> 
        <button x="450" y="350" on_click="inc_prob:8" content="data/partials/ed_plus_button.xml" />
        <button x="450" y="370" on_click="dec_prob:8" content="data/partials/ed_minus_button.xml" />
        <text x='530' y='350' color='ffd65b' align="right" font='data/fonts/dsgoose_20_simple.xml' text='0' name="delay_txt_8"/> 
        <button x="540" y="350" on_click="inc_delay:8" content="data/partials/ed_plus_button.xml" />
        <button x="540" y="370" on_click="dec_delay:8" content="data/partials/ed_minus_button.xml" />
		
		
		
		
		
		
		

      </container>

      <button x="50" y="530" text="Close" on_click="setState:default" content="data/partials/med_button.xml" />
    </container>

</scene>
