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="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-27 20:27:30 +03:00
|
|
|
<object class="GtkImage" id="zoom-in">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="icon_name">zoom-in</property>
|
|
|
|
</object>
|
|
|
|
<object class="GtkImage" id="zoom-out">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="icon_name">zoom-out</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 19:59:34 +03:00
|
|
|
<signal name="key-press-event" handler="window_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"/>
|
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"/>
|
2019-12-29 19:58:36 +03:00
|
|
|
<accelerator key="y" signal="clicked" modifiers="GDK_CONTROL_MASK"/>
|
2019-12-29 20:12:49 +03:00
|
|
|
<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>
|
|
|
|
</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 06:59:28 +03:00
|
|
|
<object class="GtkBox" id="painting-box">
|
2019-12-26 05:06:06 +03:00
|
|
|
<property name="can_focus">False</property>
|
2019-12-29 20:12:49 +03:00
|
|
|
<property name="margin_left">10</property>
|
|
|
|
<property name="margin_right">10</property>
|
|
|
|
<property name="margin_top">10</property>
|
|
|
|
<property name="margin_bottom">10</property>
|
2019-12-26 05:06:06 +03:00
|
|
|
<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>
|
2019-12-27 00:44:11 +03:00
|
|
|
<property name="margin_bottom">15</property>
|
2019-12-27 02:24:21 +03:00
|
|
|
<property name="spacing">6</property>
|
2019-12-26 05:06:06 +03:00
|
|
|
<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-27 00:44:11 +03:00
|
|
|
<child>
|
|
|
|
<object class="GtkBox" id="brush-box">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="halign">center</property>
|
2019-12-27 20:27:30 +03:00
|
|
|
<property name="margin_bottom">15</property>
|
2019-12-27 00:44:11 +03:00
|
|
|
<child>
|
|
|
|
<object class="GtkBox">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="halign">start</property>
|
|
|
|
<property name="valign">baseline</property>
|
|
|
|
<property name="spacing">10</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkRadioButton" id="color-red-button">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="receives_default">True</property>
|
|
|
|
<property name="valign">center</property>
|
|
|
|
<property name="draw_indicator">False</property>
|
|
|
|
<signal name="clicked" handler="color_red_clicked_handler" swapped="no"/>
|
|
|
|
<child>
|
|
|
|
<object class="GtkImage">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<style>
|
|
|
|
<class name="color-red"/>
|
|
|
|
</style>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">0</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkRadioButton" id="color-green-button">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="receives_default">True</property>
|
|
|
|
<property name="valign">center</property>
|
|
|
|
<property name="draw_indicator">False</property>
|
|
|
|
<property name="group">color-red-button</property>
|
|
|
|
<signal name="clicked" handler="color_green_clicked_handler" swapped="no"/>
|
|
|
|
<child>
|
|
|
|
<object class="GtkImage">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<style>
|
|
|
|
<class name="color-green"/>
|
|
|
|
</style>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">1</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkRadioButton" id="color-blue-button">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="receives_default">True</property>
|
|
|
|
<property name="valign">center</property>
|
|
|
|
<property name="draw_indicator">False</property>
|
|
|
|
<property name="group">color-red-button</property>
|
|
|
|
<signal name="clicked" handler="color_blue_clicked_handler" swapped="no"/>
|
|
|
|
<child>
|
|
|
|
<object class="GtkImage">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<style>
|
|
|
|
<class name="color-blue"/>
|
|
|
|
</style>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">2</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
2019-12-27 01:42:32 +03:00
|
|
|
<style>
|
|
|
|
<class name="color-box"/>
|
|
|
|
</style>
|
|
|
|
</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>
|
2019-12-27 02:24:21 +03:00
|
|
|
<property name="margin_left">12</property>
|
2019-12-27 01:42:32 +03:00
|
|
|
<property name="spacing">5</property>
|
2019-12-27 00:44:11 +03:00
|
|
|
<child>
|
2019-12-28 00:21:13 +03:00
|
|
|
<object class="GtkRadioButton" id="color-custom-button">
|
2019-12-27 00:44:11 +03:00
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="receives_default">True</property>
|
|
|
|
<property name="valign">center</property>
|
|
|
|
<property name="draw_indicator">False</property>
|
|
|
|
<property name="group">color-red-button</property>
|
|
|
|
<signal name="clicked" handler="color_custom_clicked_handler" swapped="no"/>
|
|
|
|
<child>
|
|
|
|
<object class="GtkImage">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="stock">gtk-color-picker</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">True</property>
|
2019-12-27 01:42:32 +03:00
|
|
|
<property name="position">0</property>
|
2019-12-27 00:44:11 +03:00
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkColorButton" id="custom-color-button">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="sensitive">False</property>
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="receives_default">True</property>
|
|
|
|
<property name="valign">center</property>
|
2019-12-27 01:42:32 +03:00
|
|
|
<property name="title" translatable="yes"/>
|
|
|
|
<property name="rgba">rgb(193,125,17)</property>
|
2019-12-27 00:44:11 +03:00
|
|
|
<signal name="color-set" handler="color_custom_color_set_handler" swapped="no"/>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">True</property>
|
2019-12-27 01:42:32 +03:00
|
|
|
<property name="position">1</property>
|
2019-12-27 00:44:11 +03:00
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">True</property>
|
2019-12-27 01:42:32 +03:00
|
|
|
<property name="position">1</property>
|
2019-12-27 00:44:11 +03:00
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
2019-12-27 02:24:21 +03:00
|
|
|
<property name="fill">False</property>
|
2019-12-27 00:44:11 +03:00
|
|
|
<property name="position">2</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
2019-12-27 20:27:30 +03:00
|
|
|
<child>
|
|
|
|
<object class="GtkBox">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="spacing">2</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">Size</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">0</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkButton" id="minus-button">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="receives_default">True</property>
|
|
|
|
<property name="image">zoom-out</property>
|
|
|
|
<property name="always_show_image">True</property>
|
|
|
|
<signal name="clicked" handler="stroke_size_decrease_handler" swapped="no"/>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">False</property>
|
|
|
|
<property name="position">1</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkButton" id="stroke-size-button">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="receives_default">True</property>
|
|
|
|
<property name="always_show_image">True</property>
|
|
|
|
<signal name="clicked" handler="stroke_size_reset_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="GtkButton" id="plus-button">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="receives_default">True</property>
|
|
|
|
<property name="image">zoom-in</property>
|
|
|
|
<property name="always_show_image">True</property>
|
|
|
|
<signal name="clicked" handler="stroke_size_increase_handler" swapped="no"/>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">False</property>
|
|
|
|
<property name="position">3</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">3</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-29 20:12:49 +03:00
|
|
|
<object class="GtkFixed">
|
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>
|
2019-12-29 20:12:49 +03:00
|
|
|
<property name="halign">center</property>
|
|
|
|
<property name="valign">center</property>
|
2019-12-26 05:06:06 +03:00
|
|
|
<child>
|
2019-12-27 01:52:09 +03:00
|
|
|
<object class="GtkDrawingArea" id="painting-area">
|
2019-12-26 05:06:06 +03:00
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
2019-12-29 19:58:36 +03:00
|
|
|
<property name="events">GDK_POINTER_MOTION_MASK | GDK_BUTTON1_MOTION_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
2019-12-29 20:12:49 +03:00
|
|
|
<property name="margin_left">10</property>
|
|
|
|
<property name="margin_right">10</property>
|
|
|
|
<property name="margin_top">10</property>
|
|
|
|
<property name="margin_bottom">10</property>
|
2019-12-26 05:06:06 +03:00
|
|
|
<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>
|
|
|
|
</child>
|
2019-12-17 08:11:01 +03:00
|
|
|
</object>
|
|
|
|
<packing>
|
2019-12-29 20:12:49 +03:00
|
|
|
<property name="resize">True</property>
|
|
|
|
<property name="shrink">True</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>
|