Zoom via - Scroll event controller - Zoom gesture - Overlay buttons - Fixed zoom level shortcuts (1=100%, 2=200%) Scrolling via - Scrolled window - Drag gesture Changes - Implement best-fit via calculating a zoom level - Gesture for carousel no longer working because of scrolled window - Split control overlays into two to not steal inputs in area between Closes #17
59 lines
2.5 KiB
XML
59 lines
2.5 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<interface>
|
|
<object class="GtkShortcutsWindow" id="help_overlay">
|
|
<property name="modal">True</property>
|
|
<child>
|
|
<object class="GtkShortcutsSection">
|
|
<property name="section_name">shortcuts</property>
|
|
<child>
|
|
<object class="GtkShortcutsGroup">
|
|
<property name="title" translatable="yes" context="shortcut window">General Shortcuts</property>
|
|
<child>
|
|
<object class="GtkShortcutsShortcut">
|
|
<property name="title" translatable="yes" context="shortcut window">Show Primary Menu</property>
|
|
<property name="accelerator">F10</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkShortcutsShortcut">
|
|
<property name="title" translatable="yes" context="shortcut window">New Window</property>
|
|
<property name="accelerator"><Primary>n</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkShortcutsShortcut">
|
|
<property name="title" translatable="yes" context="shortcut window">Open Help</property>
|
|
<property name="accelerator">F1</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkShortcutsShortcut">
|
|
<property name="title" translatable="yes" context="shortcut window">Show Keyboard Shortcuts</property>
|
|
<property name="accelerator"><Primary>question</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkShortcutsShortcut">
|
|
<property name="title" translatable="yes" context="shortcut window">Quit</property>
|
|
<property name="accelerator"><Primary>q</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkShortcutsShortcut">
|
|
<property name="title" translatable="yes" context="shortcut window">Show with orginal scale</property>
|
|
<property name="accelerator">1</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkShortcutsShortcut">
|
|
<property name="title" translatable="yes" context="shortcut window">Show with 200% of orginal scale</property>
|
|
<property name="accelerator">2</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</interface>
|
|
|