<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2026, Jiri Eischmann <jiri@eischmann.cz> and the meshy contributors -->
<!-- SPDX-License-Identifier: GPL-3.0-or-later -->
<interface>
  <requires lib="gtk" version="4.0"/>
  <requires lib="libadwaita" version="1.0"/>
  <template class="MeshyMapView" parent="GtkBox">
    <property name="orientation">vertical</property>
    <child>
      <object class="GtkBox" id="legend">
        <property name="spacing">12</property>
        <property name="halign">center</property>
        <property name="margin-bottom">8</property>
        <property name="margin-top">4</property>
        <style>
          <class name="dim-label"/>
          <class name="caption"/>
        </style>
        <child>
          <object class="GtkBox">
            <property name="spacing">4</property>
            <child>
              <object class="GtkDrawingArea" id="dot_user">
                <property name="content-width">10</property>
                <property name="content-height">10</property>
              </object>
            </child>
            <child>
              <object class="GtkLabel">
                <property name="label" translatable="yes">User</property>
              </object>
            </child>
          </object>
        </child>
        <child>
          <object class="GtkBox">
            <property name="spacing">4</property>
            <child>
              <object class="GtkDrawingArea" id="dot_repeater">
                <property name="content-width">10</property>
                <property name="content-height">10</property>
              </object>
            </child>
            <child>
              <object class="GtkLabel">
                <property name="label" translatable="yes">Repeater</property>
              </object>
            </child>
          </object>
        </child>
        <child>
          <object class="GtkBox">
            <property name="spacing">4</property>
            <child>
              <object class="GtkDrawingArea" id="dot_room">
                <property name="content-width">10</property>
                <property name="content-height">10</property>
              </object>
            </child>
            <child>
              <object class="GtkLabel">
                <property name="label" translatable="yes">Room</property>
              </object>
            </child>
          </object>
        </child>
        <child>
          <object class="GtkBox">
            <property name="spacing">4</property>
            <child>
              <object class="GtkDrawingArea" id="dot_sensor">
                <property name="content-width">10</property>
                <property name="content-height">10</property>
              </object>
            </child>
            <child>
              <object class="GtkLabel">
                <property name="label" translatable="yes">Sensor</property>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
  </template>
</interface>
