<?xml version="1.0" encoding="UTF-8"?>
<interface domain="drawing">
  <object class="GtkAdjustment" id="adjustment_size">
    <property name="lower">1</property>
    <property name="upper">200</property>
    <property name="step_increment">1</property>
    <property name="page_increment">10</property>
    <property name="value">10</property>
  </object>

  <template class="DrWindow" parent="GtkApplicationWindow">
    <property name="default-width">900</property>
    <property name="default-height">500</property>
    <property name="icon-name">com.github.maoschanz.drawing</property>
    <child>
      <object class="GtkBox" id="main_box">
        <property name="orientation">vertical</property>
        <property name="visible">True</property>
        <child>
          <object class="GtkBox" id="toolbar_box">
            <property name="orientation">vertical</property>
            <property name="visible">False</property>
            <style><class name="primary-toolbar"/></style>
            <child>
              <object class="GtkSeparator" />
              <packing>
                <property name="pack-type">end</property>
              </packing>
            </child>
          </object>
        </child>
        <child>
          <object class="GtkInfoBar" id="info_bar">
            <property name="visible">True</property>
            <property name="show-close-button">True</property>
            <property name="revealed">True</property>
            <child internal-child="content_area">
              <object class="GtkBox">
                <property name="visible">True</property>
                <child>
                  <object class="GtkLabel" id="info_label">
                    <property name="visible">True</property>
                    <property name="wrap">True</property>
                    <property name="label" translatable="yes">Loading…</property>
                  </object>
                </child>
              </object>
            </child>
            <child internal-child="action_area">
              <object class="GtkButtonBox">
                <property name="visible">True</property>
                <child>
                  <object class="GtkButton" id="info_action">
                    <property name="visible">True</property>
                    <property name="action-name">app.report-issue</property>
                    <property name="label" translatable="yes">Report a bug</property>
                  </object>
                </child>
              </object>
            </child>
            <action-widgets>
              <action-widget response="ok">info_action</action-widget>
            </action-widgets>
          </object>
        </child>
        <child>
          <object class="GtkBox">
            <property name="visible">True</property>
            <property name="orientation">horizontal</property>
            <child>
              <object class="GtkScrolledWindow">
                <property name="visible">True</property>
                <property name="vscrollbar-policy">external</property>
                <property name="hscrollbar-policy">never</property>
                <child>
                  <object class="GtkBox" id="tools_scrollable_box">
                    <property name="visible">True</property>
                    <property name="expand">False</property>
                    <property name="halign">center</property>
                    <!-- <child> -->
                    <!--   the flowbox will move here if needed -->
                    <!-- </child> -->
                  </object>
                </child>
              </object>
            </child>
            <child>
              <object class="GtkBox" id="tools_nonscrollable_box">
                <property name="visible">True</property>
                <child>
                  <object class="GtkFlowBox" id="tools_flowbox">
                    <property name="visible">True</property>
                    <property name="activate-on-single-click">True</property>
                    <property name="selection-mode">single</property>
                    <property name="orientation">vertical</property>
                  </object>
                </child>
              </object>
            </child>
            <child>
              <object class="GtkSeparator">
                <property name="visible">True</property>
              </object>
            </child>
            <child>
              <object class="GtkNotebook" id="notebook">
                <property name="visible">True</property>
                <property name="can-focus">False</property>
                <property name="show-tabs">False</property>
                <property name="show-border">True</property>
                <property name="scrollable">True</property>
                <property name="group-name">drawing-tabs</property>
                <child type="action-end">
                  <object class="GtkButton">
                    <property name="can-focus">False</property>
                    <property name="visible">True</property>
                    <property name="relief">none</property>
                    <property name="action-name">win.new_tab</property>
                    <property name="tooltip-text" translatable="yes">New Image</property>
                    <child>
                      <object class="GtkImage">
                        <property name="icon-name">tab-new-symbolic</property>
                        <property name="visible">True</property>
                      </object>
                    </child>
                  </object>
                </child>
              </object>
              <packing>
                <property name="expand">True</property>
              </packing>
            </child>
          </object>
          <packing>
            <property name="expand">True</property>
          </packing>
        </child>
        <child>
          <object class="GtkBox" id="bottom_meta_box">
            <property name="orientation">horizontal</property>
            <property name="visible">True</property>
            <property name="expand">False</property>
            <child>
              <object class="GtkBox" id="bottom_panes_box">
                <property name="orientation">vertical</property>
                <property name="visible">True</property>
                <property name="expand">True</property>
                <property name="halign">fill</property>
                <!-- Tools will add their optionsbars here -->
              </object>
            </child>
            <child>
              <object class="GtkButton" id="unfullscreen_btn">
                <property name="visible">False</property>
                <property name="valign">center</property>
                <property name="margin-right">6</property>
                <property name="tooltip-text" translatable="yes">Exit fullscreen</property>
                <property name="action-name">win.unfullscreen</property>
                <child>
                  <object class="GtkImage">
                    <property name="icon-name">view-restore-symbolic</property>
                    <property name="visible">True</property>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
  </template>
</interface>
