2019-11-21 07:16:15 +03:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!-- Generated with glade 3.22.1 -->
|
|
|
|
<interface>
|
2019-12-16 07:53:44 +03:00
|
|
|
<requires lib="gtk+" version="3.20"/>
|
2019-12-26 06:32:52 +03:00
|
|
|
<object class="GtkAccelGroup" id="accel-group"/>
|
|
|
|
<object class="GtkImage" id="edit-redo">
|
2019-12-26 05:06:06 +03:00
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="icon_name">edit-redo</property>
|
|
|
|
</object>
|
2019-12-26 06:32:52 +03:00
|
|
|
<object class="GtkImage" id="edit-undo">
|
2019-12-26 05:06:06 +03:00
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="icon_name">edit-undo</property>
|
|
|
|
</object>
|
2019-12-24 22:42:52 +03:00
|
|
|
<object class="GtkApplicationWindow" id="paint-window">
|
2019-11-21 07:16:15 +03:00
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
2019-12-26 05:06:06 +03:00
|
|
|
<property name="resizable">False</property>
|
|
|
|
<property name="window_position">center</property>
|
2019-12-24 22:42:52 +03:00
|
|
|
<property name="show_menubar">False</property>
|
2019-12-26 06:32:52 +03:00
|
|
|
<accel-groups>
|
|
|
|
<group name="accel-group"/>
|
|
|
|
</accel-groups>
|
2019-12-24 22:42:52 +03:00
|
|
|
<signal name="key-press-event" handler="keypress_handler" swapped="no"/>
|
2019-12-26 05:06:06 +03:00
|
|
|
<child type="titlebar">
|
|
|
|
<object class="GtkHeaderBar">
|
2019-11-21 07:16:15 +03:00
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<child>
|
2019-12-26 05:06:06 +03:00
|
|
|
<object class="GtkButtonBox">
|
2019-11-21 07:16:15 +03:00
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
2019-12-26 05:06:06 +03:00
|
|
|
<property name="layout_style">start</property>
|
2019-11-21 07:16:15 +03:00
|
|
|
<child>
|
2019-12-26 06:32:52 +03:00
|
|
|
<object class="GtkButton" id="undo-button">
|
2019-11-21 07:16:15 +03:00
|
|
|
<property name="visible">True</property>
|
2019-12-26 06:32:52 +03:00
|
|
|
<property name="sensitive">False</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="focus_on_click">False</property>
|
2019-12-26 05:06:06 +03:00
|
|
|
<property name="receives_default">True</property>
|
2019-12-26 06:32:52 +03:00
|
|
|
<property name="image">edit-undo</property>
|
2019-12-26 05:06:06 +03:00
|
|
|
<property name="always_show_image">True</property>
|
2019-12-26 06:32:52 +03:00
|
|
|
<signal name="clicked" handler="undo_clicked_handler" swapped="no"/>
|
|
|
|
<accelerator key="z" signal="clicked" modifiers="GDK_CONTROL_MASK"/>
|
2019-11-21 07:16:15 +03:00
|
|
|
</object>
|
|
|
|
<packing>
|
2019-12-26 05:06:06 +03:00
|
|
|
<property name="expand">True</property>
|
2019-11-21 07:16:15 +03:00
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">0</property>
|
2019-12-26 05:06:06 +03:00
|
|
|
<property name="non_homogeneous">True</property>
|
2019-11-21 07:16:15 +03:00
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
2019-12-26 06:32:52 +03:00
|
|
|
<object class="GtkButton" id="redo-button">
|
2019-11-21 07:16:15 +03:00
|
|
|
<property name="visible">True</property>
|
2019-12-26 06:32:52 +03:00
|
|
|
<property name="sensitive">False</property>
|
2019-12-24 22:42:52 +03:00
|
|
|
<property name="can_focus">False</property>
|
2019-12-26 06:32:52 +03:00
|
|
|
<property name="focus_on_click">False</property>
|
2019-12-26 05:06:06 +03:00
|
|
|
<property name="receives_default">True</property>
|
2019-12-26 06:32:52 +03:00
|
|
|
<property name="image">edit-redo</property>
|
2019-12-26 05:06:06 +03:00
|
|
|
<property name="always_show_image">True</property>
|
2019-12-26 06:32:52 +03:00
|
|
|
<signal name="clicked" handler="redo_clicked_handler" swapped="no"/>
|
|
|
|
<accelerator key="y" signal="clicked" modifiers="GDK_CONTROL_MASK"/>
|
|
|
|
<accelerator key="z" signal="clicked" modifiers="GDK_SHIFT_MASK | GDK_CONTROL_MASK"/>
|
2019-11-21 07:16:15 +03:00
|
|
|
</object>
|
|
|
|
<packing>
|
2019-12-26 05:06:06 +03:00
|
|
|
<property name="expand">True</property>
|
2019-11-21 07:16:15 +03:00
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">1</property>
|
2019-12-26 05:06:06 +03:00
|
|
|
<property name="non_homogeneous">True</property>
|
2019-11-21 07:16:15 +03:00
|
|
|
</packing>
|
|
|
|
</child>
|
2019-12-26 05:06:06 +03:00
|
|
|
<style>
|
|
|
|
<class name="right"/>
|
|
|
|
</style>
|
2019-11-21 07:16:15 +03:00
|
|
|
</object>
|
|
|
|
</child>
|
2019-12-16 07:53:44 +03:00
|
|
|
<child>
|
|
|
|
<object class="GtkBox">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
2019-12-26 05:06:06 +03:00
|
|
|
<property name="spacing">5</property>
|
2019-12-16 07:53:44 +03:00
|
|
|
<child>
|
2019-12-26 05:06:06 +03:00
|
|
|
<object class="GtkSeparator">
|
2019-12-16 07:53:44 +03:00
|
|
|
<property name="visible">True</property>
|
2019-12-17 07:48:33 +03:00
|
|
|
<property name="can_focus">False</property>
|
2019-12-16 07:53:44 +03:00
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">0</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
2019-12-26 05:06:06 +03:00
|
|
|
<object class="GtkButton" id="clear">
|
|
|
|
<property name="label" translatable="yes">Clear</property>
|
2019-12-16 07:53:44 +03:00
|
|
|
<property name="visible">True</property>
|
2019-12-17 07:48:33 +03:00
|
|
|
<property name="can_focus">False</property>
|
2019-12-26 05:06:06 +03:00
|
|
|
<property name="receives_default">True</property>
|
|
|
|
<signal name="clicked" handler="clear_clicked_handler" swapped="no"/>
|
2019-12-16 07:53:44 +03:00
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">1</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<packing>
|
2019-12-26 05:06:06 +03:00
|
|
|
<property name="position">2</property>
|
2019-12-16 07:53:44 +03:00
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
2019-12-26 05:06:06 +03:00
|
|
|
<object class="GtkBox" id="control_box">
|
2019-12-17 07:06:15 +03:00
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<child>
|
2019-12-26 05:06:06 +03:00
|
|
|
<object class="GtkButton" id="copy">
|
|
|
|
<property name="label" translatable="yes">Copy</property>
|
2019-12-17 07:06:15 +03:00
|
|
|
<property name="visible">True</property>
|
2019-12-26 05:06:06 +03:00
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="receives_default">True</property>
|
|
|
|
<signal name="clicked" handler="copy_clicked_handler" swapped="no"/>
|
2019-12-17 07:06:15 +03:00
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">1</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
2019-12-26 05:06:06 +03:00
|
|
|
<object class="GtkButton" id="save">
|
|
|
|
<property name="label" translatable="yes">Save</property>
|
2019-12-17 07:06:15 +03:00
|
|
|
<property name="visible">True</property>
|
2019-12-26 05:06:06 +03:00
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="receives_default">True</property>
|
|
|
|
<signal name="clicked" handler="save_clicked_handler" swapped="no"/>
|
2019-12-17 07:06:15 +03:00
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">2</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
2019-12-26 05:06:06 +03:00
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="pack_type">end</property>
|
|
|
|
<property name="position">1</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkOverlay">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkPaned">
|
|
|
|
<property name="width_request">100</property>
|
|
|
|
<property name="height_request">80</property>
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">True</property>
|
2019-12-17 08:11:01 +03:00
|
|
|
<child>
|
2019-12-26 05:06:06 +03:00
|
|
|
<object class="GtkBox">
|
2019-12-17 08:11:01 +03:00
|
|
|
<property name="visible">True</property>
|
2019-12-26 05:06:06 +03:00
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="orientation">vertical</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkBox">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="homogeneous">True</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="label" translatable="yes">B</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">0</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="label" translatable="yes">T</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">1</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="label" translatable="yes">R</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">2</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="label" translatable="yes">O</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">3</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="label" translatable="yes">A</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">4</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">0</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkBox">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="homogeneous">True</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkRadioButton" id="brush">
|
|
|
|
<property name="label" translatable="yes"></property>
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="receives_default">False</property>
|
|
|
|
<property name="active">True</property>
|
|
|
|
<property name="draw_indicator">False</property>
|
|
|
|
<signal name="clicked" handler="brush_clicked_handler" swapped="no"/>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">0</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkRadioButton" id="text">
|
|
|
|
<property name="label" translatable="yes"></property>
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="receives_default">False</property>
|
|
|
|
<property name="draw_indicator">False</property>
|
|
|
|
<property name="group">brush</property>
|
|
|
|
<signal name="clicked" handler="text_clicked_handler" swapped="no"/>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">1</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkRadioButton" id="rectangle">
|
|
|
|
<property name="label" translatable="yes"></property>
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="receives_default">False</property>
|
|
|
|
<property name="draw_indicator">False</property>
|
|
|
|
<property name="group">brush</property>
|
|
|
|
<signal name="clicked" handler="rectangle_clicked_handler" swapped="no"/>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">2</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkRadioButton" id="ellipse">
|
|
|
|
<property name="label" translatable="yes"></property>
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="receives_default">False</property>
|
|
|
|
<property name="draw_indicator">False</property>
|
|
|
|
<property name="group">brush</property>
|
|
|
|
<signal name="clicked" handler="ellipse_clicked_handler" swapped="no"/>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">3</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkRadioButton" id="arrow">
|
|
|
|
<property name="label" translatable="yes"></property>
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="receives_default">False</property>
|
|
|
|
<property name="draw_indicator">False</property>
|
|
|
|
<property name="group">brush</property>
|
|
|
|
<signal name="clicked" handler="arrow_clicked_handler" swapped="no"/>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">4</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<style>
|
|
|
|
<class name="drawing"/>
|
|
|
|
</style>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">1</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
2019-12-17 08:11:01 +03:00
|
|
|
</object>
|
|
|
|
<packing>
|
2019-12-26 05:06:06 +03:00
|
|
|
<property name="resize">False</property>
|
|
|
|
<property name="shrink">False</property>
|
2019-12-17 08:11:01 +03:00
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
2019-12-26 05:06:06 +03:00
|
|
|
<object class="GtkBox" id="container">
|
|
|
|
<property name="width_request">100</property>
|
|
|
|
<property name="height_request">80</property>
|
2019-12-17 08:11:01 +03:00
|
|
|
<property name="visible">True</property>
|
2019-12-26 05:06:06 +03:00
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="border_width">10</property>
|
|
|
|
<property name="orientation">vertical</property>
|
|
|
|
<child>
|
|
|
|
<placeholder/>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkDrawingArea" id="paint_area">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="events">GDK_POINTER_MOTION_MASK | GDK_BUTTON1_MOTION_MASK | GDK_BUTTON_PRESS_MASK |
|
|
|
|
GDK_BUTTON_RELEASE_MASK
|
|
|
|
</property>
|
|
|
|
<signal name="button-press-event" handler="draw_area_button_press_handler" swapped="no"/>
|
|
|
|
<signal name="button-release-event" handler="draw_area_button_release_handler" swapped="no"/>
|
|
|
|
<signal name="configure-event" handler="draw_area_configure_handler" swapped="no"/>
|
|
|
|
<signal name="draw" handler="draw_area_handler" swapped="no"/>
|
|
|
|
<signal name="motion-notify-event" handler="draw_area_motion_notify_handler" swapped="no"/>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">1</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
2019-12-17 08:11:01 +03:00
|
|
|
</object>
|
|
|
|
<packing>
|
2019-12-26 05:06:06 +03:00
|
|
|
<property name="resize">False</property>
|
|
|
|
<property name="shrink">False</property>
|
2019-12-17 08:11:01 +03:00
|
|
|
</packing>
|
|
|
|
</child>
|
2019-12-17 07:06:15 +03:00
|
|
|
</object>
|
|
|
|
<packing>
|
2019-12-26 05:06:06 +03:00
|
|
|
<property name="index">-1</property>
|
2019-12-17 07:06:15 +03:00
|
|
|
</packing>
|
2019-12-16 07:53:44 +03:00
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
2019-11-21 07:16:15 +03:00
|
|
|
</interface>
|