<container w='730' h='460'>
  <state name="upgrade" visible="1"/>
  <state name="building" visible="0"/>


  <container w="730" h="460" x="60" y="-460">
    <state name="upgrade" x="60" y="-17"/>
    <state name="building" w="730" h="460" x="80" y="-460"/>



    <image x='30' y='10'  filename="data/gui/ups_panel.png" />


    <container x="70" y="45" w="110" h="110" name="upgrade1u">
      <image filename="data/gui/upgrades/shade_picture.png" />

      <button name="b" x="5" y="5" w="100" h="100" on_click="showPopup:data/partials/main/upgrades/upgrade1.xml">
        <image name="default" x="0" y="0" filename="data/backgrounds/main/upgrade1_thumb.png" visible="1" />
        <image name="active" x="-2" y="-2" w="104" h="104" filename="data/backgrounds/main/upgrade1_thumb.png" visible="0" />
        <image name="pressed" x="0" y="0" w="104" h="104" filename="data/backgrounds/main/upgrade1_thumb.png" visible="0" />
        <image name="disabled" x="0" y="0" filename="data/backgrounds/main/upgrade1_thumb.png" visible="0" color="a0a0a0ff"/>
      </button>

      <image name="check" visible="0" filename="data/gui/upgrades/upgrade_check.png" />

      <image x="27" y="110" filename="data/gui/upgrades/shade_price.png" />
      <text name="price" x="47" y="113" align="center" text="100" font="data/fonts/dsgoose_26_simple.xml" />
      <image x="60" y="110" w="25" h="25" filename="data/gfx/balls/l_coin/16.png" color="ffffffdf" />
    </container>

    <container x="205" y="45" w="110" h="110" name="upgrade2u">
      <image filename="data/gui/upgrades/shade_picture.png" />

      <button name="b" x="5" y="5" w="100" h="100" on_click="showPopup:data/partials/main/upgrades/upgrade2.xml">
        <image name="default" x="0" y="0" filename="data/backgrounds/main/upgrade1_thumb.png" visible="1" />
        <image name="active" x="-2" y="-2" w="104" h="104" filename="data/backgrounds/main/upgrade1_thumb.png" visible="0" />
        <image name="pressed" x="0" y="0" w="104" h="104" filename="data/backgrounds/main/upgrade1_thumb.png" visible="0" />
        <image name="disabled" x="0" y="0" filename="data/backgrounds/main/upgrade1_thumb.png" visible="0" color="a0a0a0ff"/>
      </button>

      <image name="check" visible="0" filename="data/gui/upgrades/upgrade_check.png" />

      <image x="27" y="110" filename="data/gui/upgrades/shade_price.png" />
      <text name="price" x="47" y="113" align="center" text="100" font="data/fonts/dsgoose_26_simple.xml" />
      <image x="60" y="110" w="25" h="25" filename="data/gfx/balls/l_coin/16.png" color="ffffffdf" />
    </container>

    <container x="320" y="45" w="110" h="110" name="upgrade3u">
      <image filename="data/gui/upgrades/shade_picture.png" />

      <button name="b" x="5" y="5" w="100" h="100" on_click="showPopup:data/partials/main/upgrades/upgrade3.xml">
        <image name="default" x="0" y="0" filename="data/backgrounds/main/upgrade1_thumb.png" visible="1" />
        <image name="active" x="-2" y="-2" w="104" h="104" filename="data/backgrounds/main/upgrade1_thumb.png" visible="0" />
        <image name="pressed" x="0" y="0" w="104" h="104" filename="data/backgrounds/main/upgrade1_thumb.png" visible="0" />
        <image name="disabled" x="0" y="0" filename="data/backgrounds/main/upgrade1_thumb.png" visible="0" color="a0a0a0ff"/>
      </button>

      <image name="check" visible="0" filename="data/gui/upgrades/upgrade_check.png" />

      <image x="27" y="110" filename="data/gui/upgrades/shade_price.png" />
      <text name="price" x="47" y="113" align="center" text="100" font="data/fonts/dsgoose_26_simple.xml" />
      <image x="60" y="110" w="25" h="25" filename="data/gfx/balls/l_coin/16.png" color="ffffffdf" />
    </container>

    <container x="460" y="45" w="110" h="110" name="upgrade4u">
      <image filename="data/gui/upgrades/shade_picture.png" />

      <button name="b" x="5" y="5" w="100" h="100" on_click="showPopup:data/partials/main/upgrades/upgrade4.xml">
        <image name="default" x="0" y="0" filename="data/backgrounds/main/upgrade1_thumb.png" visible="1" />
        <image name="active" x="-2" y="-2" w="104" h="104" filename="data/backgrounds/main/upgrade1_thumb.png" visible="0" />
        <image name="pressed" x="0" y="0" w="104" h="104" filename="data/backgrounds/main/upgrade1_thumb.png" visible="0" />
        <image name="disabled" x="0" y="0" filename="data/backgrounds/main/upgrade1_thumb.png" visible="0" color="a0a0a0ff"/>
      </button>

      <image name="check" visible="0" filename="data/gui/upgrades/upgrade_check.png" />

      <image x="27" y="110" filename="data/gui/upgrades/shade_price.png" />
      <text name="price" x="47" y="113" align="center" text="100" font="data/fonts/dsgoose_26_simple.xml" />
      <image x="60" y="110" w="25" h="25" filename="data/gfx/balls/l_coin/16.png" color="ffffffdf" />
    </container>

  </container>

  <container w="730" h="460" x="100" y="460">
    <state name="upgrade" 					x="100" y="200"/>
    <state name="building" w="730" h="460" x="100" y="460"/>




    <image  x="137" y="185" filename="data/gui/meta_panel_left.png" />


    <button x="150" y="200" w="150" h="50" on_click="setState:building">
      <image name="default" x="0" y="0" filename="data/gui/buttons/meta_done_default.png" visible="1" />
      <image name="active" x="0" y="0" filename="data/gui/buttons/meta_done_active.png" visible="0" />
      <image name="pressed" x="5" y="5" filename="data/gui/buttons/meta_done_active.png" visible="0" />
    </button>


    <container name="position_slider" x="190" y="155" w="191" h="34">
      <image x="10" y="2" filename="data/gui/Sound_track.png" />
      <slider x="10" w="155" h="19" name="sound_volume_value2" key_filename="data/gui/SoundSliderDefault.png" on_change="setVolume:"/>
    </container>



  </container>


</container>