summaryrefslogtreecommitdiff
path: root/data/ui/zoom-and-rotate-controls.ui
blob: c66522092d1acc90a6da30ae750f846042adbac4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <requires lib="gtk" version="4.0"/>
  <template class="Gjs_ZoomAndRotateControls" parent="GtkBox">
    <property name="orientation">vertical</property>
    <property name="spacing">6</property>
    <child>
      <object class="GtkBox">
        <property name="orientation">vertical</property>
        <child>
          <object class="GtkButton">
            <property name="focusable">1</property>
            <property name="valign">center</property>
            <property name="action-name">win.zoom-in</property>
            <property name="tooltip-text" translatable="1" comments="Translators: This is a tooltip">Zoom In</property>
            <property name="icon-name">value-increase-symbolic</property>
            <style>
              <class name="osd"/>
              <class name="circular"/>
            </style>
          </object>
        </child>
        <child>
          <object class="GtkButton">
            <property name="focusable">1</property>
            <property name="valign">center</property>
            <property name="action-name">win.zoom-out</property>
            <property name="tooltip-text" translatable="1" comments="Translators: This is a tooltip">Zoom Out</property>
            <property name="icon-name">value-decrease-symbolic</property>
             <style>
               <class name="osd"/>
               <class name="circular"/>
            </style>
          </object>
        </child>
        <style>
          <class name="linked"/>
        </style>
      </object>
    </child>
    <child>
      <object class="GtkRevealer" id="revealer">
        <property name="transition-type">crossfade</property>
        <child>
          <object class="Gjs_RotationButton" id="rotationButton">
            <property name="focusable">1</property>
            <property name="valign">center</property>
            <property name="action-name">win.reset-rotation</property>
            <property name="tooltip-text" translatable="1" comments="Translators: This is a tooltip">Reset Rotation</property>
            <property name="icon-name">navigate-north-symbolic</property>
             <style>
               <class name="osd"/>
               <class name="circular"/>
            </style>
          </object>
        </child>
      </object>
    </child>
  </template>
</interface>