<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE panel SYSTEM "http://www.sigames.com/dtds/sios/panel.dtd">

<!-- this file lists the global panels that should be installed -->
<panel name="global panels" version="1.0">

  <container file="bgsmod11/backgrounds"/>

  <container>
    <layout class="fit_children_attachment" alignment="vertical" offset="0"/>
    <layout class="stick_to_sides_attachment" alignment="all" inset="0"/>

    <widget class="picture" id="pict" file="interface/sidebar/bar" auto_size="horizontal" cached="true">
      <layout class="stick_to_sides_attachment" alignment="vertical" inset="0"/>
      <layout class="stick_to_sides_attachment" alignment="right" inset="0"/>

      <!-- hide this panel if the game isn't set up yet -->
      <attachment class="test_global_attachment" get_property="scid" set_property="hidn" skip_if_false="true" value="2"/>

      <attachment class="test_global_attachment" get_property="FS  " value="true" mode="0" set_property="hidn" skip_if_null="false" skip_if_resetting="false"/>
    </widget>

  </container>

  <!-- Panels Box -->
  <!-- Contains global panels - also the container for the screen -->
  <container id="pnls">

    <layout class="arrange_vertical_attachment" alignment="top, extend" gap="0" offset="0"/>
    <layout class="stick_to_sides_attachment" alignment="all" inset="0"/>

    <!-- header area at top of screen - with title, menus, etc -->
    <container id="head" file="header">
      <layout class="stick_to_sides_attachment" alignment="horizontal" inset="0"/>

      <!-- hide this panel in "navigation disabled" mode -->
      <attachment class="test_global_attachment" get_property="FS  " value="true" set_property="hidn" />

      <!-- hide panel if end of demo section is reached -->
      <attachment class="test_global_attachment" get_property="csub" set_property="hidn" skip_if_false="true" value="Gded"/>

    </container>

    <!-- rest of the panels -->
    <container class="plain_box" >
      <layout class="arrange_vertical_attachment" alignment="bottom, extend" gap="0" offset="0"/>
      <layout class="stick_to_sides_attachment" alignment="horizontal" inset="0"/>

      <!-- main area - contains sections/actions panel and content areas -->
      <container id="main" >
        <layout class="arrange_horizontal_attachment" alignment="right, extend" gap="2" offset="0"/>
        <layout class="stick_to_sides_attachment" alignment="vertical" inset="0" layout_children="true"/>
        <layout class="stick_to_sides_attachment" alignment="horizontal" inset="0"/>

        <!-- screen content area -->
        <container id="scca" auto_size="horizontal">
          <layout class="stick_to_sides_attachment" alignment="horizontal" layout_children="true" inset="0"/>
          <layout class="stick_to_sides_attachment" alignment="vertical" layout_children="true" inset="0"/>
        </container>

        <!-- sections area on the side of the screen -->
        <container id="sect" file="sections">
          <!-- stick to left of screen -->
          <layout class="fit_children_attachment" alignment="horizontal" offset="0"/>

          <!-- hide this panel if the game isn't set up yet -->
          <attachment class="test_global_attachment" get_property="scid" set_property="hidn" skip_if_false="true" value="2"/>

          <!-- hide this panel in "zoomed" mode -->
          <attachment class="test_global_attachment" get_property="FS  " value="true" mode="0" set_property="hidn" skip_if_null="false" skip_if_resetting="false"/>

        </container>
      </container>

      <!-- footer area at bottom of screen (breadcrumbs) -->
      <container id="foot" file="footer">
        <layout class="stick_to_sides_attachment" alignment="horizontal" inset="0"/>

        <attachment class="test_global_attachment" get_property="FS  " value="true" set_property="hidn" />

        <attachment class="test_global_attachment" get_property="csub" set_property="hidn" skip_if_false="true" value="Gded"/>
      </container>


    </container>
  </container>

  <container id="bgs1" file="bgsmod11/workings" hidn="true"/>
  
  <!-- progress panel -->
  <container class="progress_panel">
    <layout class="stick_to_sides_attachment" alignment="all" inset="0"/>
    <!--<attachment class="get_global_attachment" get_property="prgp" set_property="prgp"/>-->
  </container>

  <!-- notification container -->
  <container class="notification_container_panel" id="prmo">
    <layout class="stick_to_sides_attachment" alignment="all" inset="0"/>
    <boolean id="exclude_from_find" value="true" />
  </container>

  <!-- modal area -->
  <container id="modl">
    <layout class="stick_to_sides_attachment" alignment="all" inset="0"/>
  </container>

  <!-- post-modal area -->
  <container id="nocp">
    <layout class="stick_to_sides_attachment" alignment="all" inset="0"/>
    <boolean id="exclude_from_find" value="true" />
  </container>

  <!-- hud -->
  <container id="hud " hidden="true" file="hud">
    <layout class="stick_to_sides_attachment" alignment="all" inset="0"/>
  </container>

  <!-- ********** RADESTOCK'S SKINNER PANEL 2.0 ********** -->

  <!--container file="skinnerpanels/skinneraction">
    <layout class="stick_to_sides_attachment" alignment="all" inset="0"/>
  </container-->

  <!-- ********** END OF SKINNER PANEL ********** -->

</panel>
