From cca66b9ec4e494c1d919bff0f71a820d8afab1fa Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 20:24:48 +0200 Subject: Adding upstream version 1.2.2. Signed-off-by: Daniel Baumann --- share/ui/Adwaita-dark.css | 70 + share/ui/Adwaita.css | 71 + share/ui/CMakeLists.txt | 6 + share/ui/Minwaita-Inkscape.css | 135 ++ share/ui/align-and-distribute.ui | 1339 ++++++++++++ share/ui/bad-marker.svg | 18 + share/ui/color-palette.glade | 415 ++++ share/ui/command-palette-main.glade | 112 + share/ui/command-palette-operation.glade | 112 + share/ui/dialog-css.glade | 134 ++ share/ui/dialog-export.glade | 1145 ++++++++++ share/ui/dialog-filter-editor.glade | 381 ++++ share/ui/dialog-livepatheffect-add.glade | 449 ++++ share/ui/dialog-livepatheffect-effect.glade | 270 +++ share/ui/dialog-save-template.glade | 154 ++ share/ui/dialog-text-edit.glade | 178 ++ share/ui/dialog-trace.glade | 1515 +++++++++++++ share/ui/gradient-edit.glade | 458 ++++ share/ui/gradient-stop.svg | 124 ++ share/ui/gradient-tip.svg | 76 + share/ui/highlight-colors.css | 59 + share/ui/inkscape-about.glade | 414 ++++ share/ui/inkscape-start.glade | 2252 ++++++++++++++++++++ share/ui/mac.css | 4 + share/ui/marker-popup.glade | 530 +++++ share/ui/menus.ui | 1293 +++++++++++ share/ui/page-properties.glade | 989 +++++++++ share/ui/resources/canvas_ad.png | Bin 0 -> 579 bytes share/ui/resources/canvas_aw.png | Bin 0 -> 612 bytes share/ui/resources/canvas_cd.png | Bin 0 -> 598 bytes share/ui/resources/canvas_cw.png | Bin 0 -> 612 bytes share/ui/resources/canvas_sw.png | Bin 0 -> 550 bytes share/ui/resources/template_about.svg | 126 ++ .../resources/template_businesscard_landscape.svg | 80 + .../resources/template_businesscard_portrait.svg | 80 + .../ui/resources/template_businesscard_square.svg | 80 + .../ui/resources/template_desktop_hd_landscape.svg | 129 ++ share/ui/resources/template_desktop_landscape.svg | 94 + share/ui/resources/template_envelope_landscape.svg | 81 + share/ui/resources/template_envelope_portrait.svg | 83 + share/ui/resources/template_icon_square.svg | 87 + share/ui/resources/template_image_landscape.svg | 89 + share/ui/resources/template_image_portrait.svg | 84 + share/ui/resources/template_image_square.svg | 86 + share/ui/resources/template_mobile_portrait.svg | 82 + share/ui/resources/template_photo_landscape.svg | 91 + share/ui/resources/template_photo_portrait.svg | 96 + share/ui/resources/template_photo_square.svg | 96 + share/ui/resources/template_print_US_landscape.svg | 88 + share/ui/resources/template_print_US_portrait.svg | 96 + share/ui/resources/template_print_landscape.svg | 95 + share/ui/resources/template_print_portrait.svg | 94 + share/ui/resources/template_social_landscape.svg | 94 + share/ui/resources/template_social_portrait.svg | 94 + share/ui/resources/template_social_square.svg | 91 + share/ui/resources/template_tablet_landscape.svg | 87 + share/ui/resources/template_video_landscape.svg | 91 + share/ui/resources/template_video_portrait.svg | 91 + share/ui/resources/template_video_square.svg | 90 + share/ui/spinbutton.css | 11 + share/ui/style.css | 737 +++++++ share/ui/toolbar-commands.ui | 330 +++ share/ui/toolbar-page.ui | 170 ++ share/ui/toolbar-select.ui | 0 share/ui/toolbar-snap.ui | 1204 +++++++++++ share/ui/toolbar-tool-prefs.ui | 853 ++++++++ share/ui/toolbar-tool.ui | 860 ++++++++ share/ui/toolbar-zoom.ui | 130 ++ share/ui/units.xml | 101 + share/ui/win32.css | 176 ++ 70 files changed, 19750 insertions(+) create mode 100644 share/ui/Adwaita-dark.css create mode 100644 share/ui/Adwaita.css create mode 100644 share/ui/CMakeLists.txt create mode 100644 share/ui/Minwaita-Inkscape.css create mode 100644 share/ui/align-and-distribute.ui create mode 100644 share/ui/bad-marker.svg create mode 100644 share/ui/color-palette.glade create mode 100644 share/ui/command-palette-main.glade create mode 100644 share/ui/command-palette-operation.glade create mode 100644 share/ui/dialog-css.glade create mode 100644 share/ui/dialog-export.glade create mode 100644 share/ui/dialog-filter-editor.glade create mode 100644 share/ui/dialog-livepatheffect-add.glade create mode 100644 share/ui/dialog-livepatheffect-effect.glade create mode 100644 share/ui/dialog-save-template.glade create mode 100644 share/ui/dialog-text-edit.glade create mode 100644 share/ui/dialog-trace.glade create mode 100644 share/ui/gradient-edit.glade create mode 100644 share/ui/gradient-stop.svg create mode 100644 share/ui/gradient-tip.svg create mode 100644 share/ui/highlight-colors.css create mode 100644 share/ui/inkscape-about.glade create mode 100644 share/ui/inkscape-start.glade create mode 100644 share/ui/mac.css create mode 100644 share/ui/marker-popup.glade create mode 100644 share/ui/menus.ui create mode 100644 share/ui/page-properties.glade create mode 100644 share/ui/resources/canvas_ad.png create mode 100644 share/ui/resources/canvas_aw.png create mode 100644 share/ui/resources/canvas_cd.png create mode 100644 share/ui/resources/canvas_cw.png create mode 100644 share/ui/resources/canvas_sw.png create mode 100644 share/ui/resources/template_about.svg create mode 100644 share/ui/resources/template_businesscard_landscape.svg create mode 100644 share/ui/resources/template_businesscard_portrait.svg create mode 100644 share/ui/resources/template_businesscard_square.svg create mode 100644 share/ui/resources/template_desktop_hd_landscape.svg create mode 100644 share/ui/resources/template_desktop_landscape.svg create mode 100644 share/ui/resources/template_envelope_landscape.svg create mode 100644 share/ui/resources/template_envelope_portrait.svg create mode 100644 share/ui/resources/template_icon_square.svg create mode 100644 share/ui/resources/template_image_landscape.svg create mode 100644 share/ui/resources/template_image_portrait.svg create mode 100644 share/ui/resources/template_image_square.svg create mode 100644 share/ui/resources/template_mobile_portrait.svg create mode 100644 share/ui/resources/template_photo_landscape.svg create mode 100644 share/ui/resources/template_photo_portrait.svg create mode 100644 share/ui/resources/template_photo_square.svg create mode 100644 share/ui/resources/template_print_US_landscape.svg create mode 100644 share/ui/resources/template_print_US_portrait.svg create mode 100644 share/ui/resources/template_print_landscape.svg create mode 100644 share/ui/resources/template_print_portrait.svg create mode 100644 share/ui/resources/template_social_landscape.svg create mode 100644 share/ui/resources/template_social_portrait.svg create mode 100644 share/ui/resources/template_social_square.svg create mode 100644 share/ui/resources/template_tablet_landscape.svg create mode 100644 share/ui/resources/template_video_landscape.svg create mode 100644 share/ui/resources/template_video_portrait.svg create mode 100644 share/ui/resources/template_video_square.svg create mode 100644 share/ui/spinbutton.css create mode 100644 share/ui/style.css create mode 100644 share/ui/toolbar-commands.ui create mode 100644 share/ui/toolbar-page.ui create mode 100644 share/ui/toolbar-select.ui create mode 100644 share/ui/toolbar-snap.ui create mode 100644 share/ui/toolbar-tool-prefs.ui create mode 100644 share/ui/toolbar-tool.ui create mode 100644 share/ui/toolbar-zoom.ui create mode 100644 share/ui/units.xml create mode 100644 share/ui/win32.css (limited to 'share/ui') diff --git a/share/ui/Adwaita-dark.css b/share/ui/Adwaita-dark.css new file mode 100644 index 0000000..8abddae --- /dev/null +++ b/share/ui/Adwaita-dark.css @@ -0,0 +1,70 @@ +/* ADWAITA DARK SPECIFIC STYLE */ + +/* + * Keep as small as possible + */ + +.inkswitch slider { + min-width: 18px; + min-height: 18px; +} + +.inkswitch image { + color: transparent; + background-color: transparent; + background-image: image(transparent); + -gtk-icon-style:symbolic; +} + +.inkswitch { + margin: 2px; + padding: 0; + font-size: 8px; +} + +/* Reduce width of +/- buttons. */ +.up, +.down { + padding-left: 0; + padding-right: 0; +} + +notebook notebook header label { + margin:0; +} + +notebook notebook header tab { + min-height:23px; + padding:3px 7px; +} + +notebook notebook header { + padding:0; +} + +notebook notebook header image { + -gtk-icon-transform:scale(0.8); + margin:-3px 0 -3px 0; +} + +#PaintSelector .toggle, +#PaintSelector .radio, +#StrokeSelector .toggle, +#StrokeSelector .radio{ + padding:5px; + min-height:12px; +} +#StrokeSelector{ + padding:0px; + margin:0px; +} + +#AlignDistribute .toggle, +#AlignDistribute .radio, +#AlignDistribute button{ + padding:4px; +} + +#AlignDistribute #align { + margin-top:-15px; +} diff --git a/share/ui/Adwaita.css b/share/ui/Adwaita.css new file mode 100644 index 0000000..a2053e9 --- /dev/null +++ b/share/ui/Adwaita.css @@ -0,0 +1,71 @@ +/* ADWAITA SPECIFIC STYLE */ + + +/* + * Keep as small as possible + */ + +.inkswitch slider { + min-width: 18px; + min-height: 18px; +} + +.inkswitch image { + color: transparent; + background-color: transparent; + background-image: image(transparent); + -gtk-icon-style:symbolic; +} + +.inkswitch { + margin: 2px; + padding: 0; + font-size: 8px; +} + +/* Reduce width of +/- buttons. */ +.up, +.down { + padding-left: 0; + padding-right: 0; +} + +notebook notebook header label { + margin:0; +} + +notebook notebook header tab { + min-height:23px; + padding:3px 7px; +} + +notebook notebook header { + padding:0; +} + +notebook notebook header image { + -gtk-icon-transform:scale(0.8); + margin:-3px 0 -3px 0; +} + +#PaintSelector .toggle, +#PaintSelector .radio, +#StrokeSelector .toggle, +#StrokeSelector .radio{ + padding:5px; + min-height:12px; +} +#StrokeSelector{ + padding:0px; + margin:0px; +} + +#AlignDistribute .toggle, +#AlignDistribute .radio, +#AlignDistribute button{ + padding:4px; +} + +#AlignDistribute #align { + margin-top:-15px; +} diff --git a/share/ui/CMakeLists.txt b/share/ui/CMakeLists.txt new file mode 100644 index 0000000..149d76e --- /dev/null +++ b/share/ui/CMakeLists.txt @@ -0,0 +1,6 @@ +# SPDX-License-Identifier: GPL-2.0-or-later +file(GLOB _FILES "*.xml" "*.rc" "*.css" "*.ui" "*.glade" "*.svg") +install(FILES ${_FILES} DESTINATION ${INKSCAPE_SHARE_INSTALL}/ui) + +file(GLOB _RESOURCES "resources/*.png" "resources/*.svg") +install(FILES ${_RESOURCES} DESTINATION ${INKSCAPE_SHARE_INSTALL}/ui/resources) diff --git a/share/ui/Minwaita-Inkscape.css b/share/ui/Minwaita-Inkscape.css new file mode 100644 index 0000000..b3add34 --- /dev/null +++ b/share/ui/Minwaita-Inkscape.css @@ -0,0 +1,135 @@ +/* Minwaita-Inkscape SPECIFIC STYLE */ + + +/* + * Keep as small as possible + */ + +toolbar toolbutton > button:disabled, toolbar toolbutton > button:backdrop:disabled, .toolbar toolbutton > button:disabled, .toolbar toolbutton > button:backdrop:disabled { + -gtk-icon-effect: dim; +} + +scrollbar { + margin: -1px; +} + +filechooser #pathbarbox button { + color: #2e3436; + outline-color: rgba(46, 52, 54, 0.3); + border-color: #c4c4bf; + border-bottom-color: #a0a097; + background-image: linear-gradient(to bottom, #f5f5f4, #ebebe9 60%, #ddddd9); + text-shadow: 0 1px rgba(255, 255, 255, 0.769231); + -gtk-icon-shadow: 0 1px rgba(255, 255, 255, 0.769231); + box-shadow: inset 0 1px white; +} + +filechooser #pathbarbox button:hover { + color: #2e3436; + outline-color: rgba(46, 52, 54, 0.3); + border-color: #c4c4bf; + border-bottom-color: #a0a097; + text-shadow: 0 1px rgba(255, 255, 255, 0.769231); + -gtk-icon-shadow: 0 1px rgba(255, 255, 255, 0.769231); + box-shadow: inset 0 1px white; + background-image: linear-gradient(to bottom, white, #f5f5f4 60%, #ebebe9); +} + +filechooser #pathbarbox button:active { + color: #2e3436; + outline-color: rgba(46, 52, 54, 0.3); + border-color: #c4c4bf; + background-image: image(#e6e6e4); + box-shadow: inset 0 1px rgba(255, 255, 255, 0); + text-shadow: none; + -gtk-icon-shadow: none; +} + +filechooser #pathbarbox button:disabled { + border-color: #c4c4bf; + background-image: image(#f9f9f8); + text-shadow: none; + -gtk-icon-shadow: none; + box-shadow: inset 0 1px rgba(255, 255, 255, 0); +} + +filechooser #pathbarbox button:disabled label, filechooser #pathbarbox button:disabled { + color: #313739; +} + +filechooser #pathbarbox button:backdrop { + border-color: #cecec9; + background-image: image(#f5f5f4); + text-shadow: none; + -gtk-icon-shadow: none; + box-shadow: inset 0 1px rgba(255, 255, 255, 0); +} + +filechooser #pathbarbox button:backdrop label, filechooser #pathbarbox button:backdrop { + color: #313739; +} + +filechooser #pathbarbox button:backdrop:disabled { + border-color: #cecec9; + background-image: image(#f9f9f8); + text-shadow: none; + -gtk-icon-shadow: none; + box-shadow: inset 0 1px rgba(255, 255, 255, 0); +} + +filechooser #pathbarbox button:backdrop:disabled label, filechooser #pathbarbox button:backdrop:disabled { + color: #566164; +} + +button.titlebutton { + color:inherit; + border-style: none; + background-position: center; + background-repeat: no-repeat; + background-image: -gtk-scaled(url("assets/window-buttons/titlebutton.png"), url("assets/window-buttons/titlebutton@2.png")); + text-shadow: none; + -gtk-icon-shadow:none; +} + +window.nautilus-desktop-window box.searchbar-container.vertical > searchbar, window.nautilus-desktop-window box.searchbar-container.vertical > searchbar:backdrop { + background-color: transparent; +} + +viewport.frame > list.tweak-categories label:backdrop { + color: #313739; +} + +.primary-toolbar button.raised { + margin: 0px; +} + +scrolledwindow undershoot.top,scrolledwindow undershoot.bottom,scrolledwindow undershoot.left,scrolledwindow undershoot.right { + background-image: none; +} + +#AuxToolbox { + min-height:38px; +} + +notebook notebook header label { + font-weight:normal; +} + +notebook notebook header image { + -gtk-icon-transform:scale(0.75); + margin:-1px 0 -1px -3px; +} + +/* checked buttons: light theme version */ +button.radio:checked, +button.toggle:checked { + background-color: transparent; + background-image: image(linear-gradient(rgba(0,0,0,0.16), rgba(0,0,0,0.04))); +} + +/* checked buttons: dark theme version */ +.dark button.radio:checked, +.dark button.toggle:checked { + background-color: transparent; + background-image: image(@theme_selected_bg_color); +} diff --git a/share/ui/align-and-distribute.ui b/share/ui/align-and-distribute.ui new file mode 100644 index 0000000..e30536b --- /dev/null +++ b/share/ui/align-and-distribute.ui @@ -0,0 +1,1339 @@ + + + + + + + + + + + + + + Last selected + last + + + First selected + first + + + Middle of selection + middle + + + Min value + min + + + Max value + max + + + + + + + + + + + + + Last selected + last + + + First selected + first + + + Biggest object + biggest + + + Smallest object + smallest + + + Page + page + + + Drawing + drawing + + + Selection Area + selection + + + + + -1000 + 1000 + 1 + 5 + + + -1000 + 1000 + 1 + 5 + + + True + False + align-horizontal-baseline + True + + + True + False + align-horizontal-center + True + + + True + False + align-horizontal-left + True + + + True + False + align-horizontal-left-to-anchor + True + + + True + False + align-horizontal-node + True + + + True + False + align-horizontal-right + True + + + True + False + align-horizontal-right-to-anchor + True + + + True + False + align-on-canvas + + + True + False + align-sel-as-group + True + + + True + False + align-vertical-baseline + True + + + True + False + align-vertical-bottom + True + + + True + False + align-vertical-bottom-to-anchor + True + + + True + False + align-vertical-center + True + + + True + False + align-vertical-node + True + + + True + False + align-vertical-top + True + + + True + False + align-vertical-top-to-anchor + True + + + True + False + distribute-graph + True + + + True + False + distribute-horizontal-baseline + True + + + True + False + distribute-horizontal-center + True + + + True + False + distribute-horizontal-gaps + True + + + True + False + distribute-horizontal-left + True + + + True + False + distribute-horizontal-node + True + + + True + False + distribute-horizontal-right + True + + + True + False + distribute-randomize + True + + + True + False + distribute-remove-overlaps + True + + + True + False + distribute-unclump + True + + + True + False + distribute-vertical-baseline + True + + + True + False + distribute-vertical-bottom + True + + + True + False + distribute-vertical-center + True + + + True + False + distribute-vertical-gaps + True + + + True + False + distribute-vertical-node + True + + + True + False + distribute-vertical-top + True + + + True + False + exchange-positions + True + + + True + False + exchange-positions-clockwise + True + + + True + False + exchange-positions-zorder + True + + + True + False + 4 + 4 + vertical + + + True + False + True + vertical + 4 + + + True + False + 4 + 0 + none + + + True + False + 12 + + + True + False + vertical + + + + True + False + + + True + True + True + image-align-on-canvas + none + True + Enable on-canvas alignment handles + app.object-align-on-canvas + + + 0 + 0 + + + + + True + True + True + image-align-sel-as-group + none + True + Treat selection as group + + + 0 + 1 + + + + + True + False + 4 + Alignment handles with third click + 0 + + + 1 + 0 + + + + + True + False + 4 + Move/align selection as group + 0 + + + 1 + 1 + + + + + False + True + 0 + + + + + True + False + + + True + False + Relative to: + + + False + True + 0 + + + + + True + False + 4 + RelativeToObject + 0 + 1 + + + + 0 + + + + + False + True + 1 + + + + + False + True + 1 + + + + + + True + False + + + True + True + True + image-align-horizontal-right-to-anchor + none + True + Align right edges of objects to the left edge of anchor + + + 0 + 0 + + + + + True + True + True + image-align-horizontal-left + none + True + Align left edges + + + 1 + 0 + + + + + True + True + True + image-align-horizontal-center + none + True + Center on vertical axis + + + 2 + 0 + + + + + True + True + True + image-align-horizontal-right + none + True + Align right edges + + + 3 + 0 + + + + + True + True + True + image-align-horizontal-left-to-anchor + none + True + Align left edges of objects to the right edge of anchor + + + 4 + 0 + + + + + True + True + True + image-align-horizontal-baseline + none + True + Align baseline anchors of texts horizontally + + + 5 + 0 + + + + + True + True + True + image-align-vertical-bottom-to-anchor + none + True + Align bottom edges of objects to the top edge of anchor + + + 0 + 1 + + + + + True + True + True + image-align-vertical-top + none + True + Align top edges + + + 1 + 1 + + + + + True + True + True + image-align-vertical-center + none + True + Center on horizontal axis + + + 2 + 1 + + + + + True + True + True + image-align-vertical-bottom + none + True + Align bottom edges + + + 3 + 1 + + + + + True + True + True + image-align-vertical-top-to-anchor + none + True + Align top edges of objects to bottom edge of anchor + + + 4 + 1 + + + + + True + True + True + image-align-vertical-baseline + none + True + Align baselines of texts + + + 5 + 1 + + + + + False + True + 2 + + + + + + + + + True + False + 2 + Align + + + + + + + + False + True + 0 + + + + + True + False + 4 + 0 + none + + + True + False + 12 + + + + True + False + + + True + True + True + app.object-distribute + 'left' + image-distribute-horizontal-left + none + True + Distribute horizontally with even spacing between left edges. + + + 0 + 0 + + + + + True + True + True + app.object-distribute + 'hcenter' + image-distribute-horizontal-center + none + True + Distribute horizontally with even spacing between centers. + + + 1 + 0 + + + + + True + True + True + app.object-distribute + 'right' + image-distribute-horizontal-right + none + True + Distribute horizontally with even spacing between right edges. + + + 2 + 0 + + + + + True + True + True + app.object-distribute + 'hgap' + image-distribute-horizontal-gaps + none + True + Distribute horizontally with even horizontal gaps. + + + 3 + 0 + + + + + True + True + True + app.object-distribute-text + 'horizontal' + image-distribute-horizontal-baseline + none + True + Distribute text alignment points horizontally + + + 4 + 0 + + + + + True + True + True + app.object-distribute + 'top' + image-distribute-vertical-top + none + True + Distribute vertically with even spacing between top edges. + + + 0 + 1 + + + + + True + True + True + app.object-distribute + 'vcenter' + image-distribute-vertical-center + none + True + Distribute vertically with even spacing between centers. + + + 1 + 1 + + + + + True + True + True + app.object-distribute + 'bottom' + image-distribute-vertical-bottom + none + True + Distribute vertically with even spacing between bottom edges. + + + 2 + 1 + + + + + True + True + True + app.object-distribute + 'vgap' + image-distribute-vertical-gaps + none + True + Distribute vertically with even vertical gaps. + + + 3 + 1 + + + + + True + True + True + app.object-distribute-text + 'vertical' + image-distribute-vertical-baseline + none + True + Distribute text alignment points vertically + + + 4 + 1 + + + + + + + + + True + False + 2 + Distribute + + + + + + + + False + True + 1 + + + + + True + False + 4 + 0 + none + + + True + False + 12 + + + + True + False + + + True + True + True + app.object-rearrange + 'graph' + image-distribute-graph + none + True + Nicely arrange selected connector network. + + + 0 + 0 + + + + + True + True + True + app.object-rearrange + 'exchange' + image-exchange-positions + none + True + Exchange positions of selected objects - selection order. + + + 1 + 0 + + + + + True + True + True + app.object-rearrange + 'exchangez' + image-exchange-positions-zorder + none + True + Exchange positions of selected objects - stacking order. + + + 2 + 0 + + + + + True + True + True + app.object-rearrange + 'rotate' + image-exchange-positions-clockwise + none + True + Exchange positions of selected objects - rotate around center point. + + + 3 + 0 + + + + + True + True + True + app.object-rearrange + 'randomize' + image-distribute-randomize + none + True + Randomize centers in both dimensions. + + + 4 + 0 + + + + + True + True + True + app.object-rearrange + 'unclump' + image-distribute-unclump + none + True + Unclump objects: try to equalize edge-to-edge distances. + + + 5 + 0 + + + + + + + + + True + False + 2 + Rearrange + + + + + + + + False + True + 2 + + + + + True + False + 0 + none + + + True + False + 12 + + + True + False + + + True + False + H: + + + False + True + 0 + + + + + True + True + number + RemoveOverlap_HGap + True + Minimum horizontal gap (in pixel units) between bounding boxes + + + False + True + 1 + + + + + True + False + 4 + V: + + + False + True + 2 + + + + + True + True + number + RemoveOverlap_VGap + True + Mininum vertical gap (in pixel units) between bounding boxes + + + False + True + 3 + + + + + True + True + True + 4 + image-distribute-remove-overlaps + none + True + Move objects as little as possible so that their bounding boxes do not overlap + + + False + True + 4 + + + + + + + + + True + False + 2 + Remove overlaps + + + + + + + + False + True + 3 + + + + + False + True + 0 + + + + + True + False + True + vertical + 4 + + + True + False + 4 + 0 + none + + + True + False + 12 + + + True + False + vertical + + + True + False + + + True + False + Relative to: + + + False + True + 0 + + + + + True + False + 4 + RelativeToNode + 0 + 1 + + + + 0 + + + + + False + True + 1 + + + + + False + True + 0 + + + + + + True + False + + + True + True + True + image-align-vertical-node + none + True + Align selected nodes to a common horizontal line + + + 0 + 0 + + + + + True + True + True + image-align-horizontal-node + none + True + Align selected nodes to a common vertical line + + + 1 + 0 + + + + + False + True + 1 + + + + + + + + + True + False + 2 + Align Nodes + + + + + + + + False + True + 0 + + + + + True + False + 0 + none + + + True + False + 12 + + + True + False + vertical + + + + True + False + + + True + True + True + win.node-distribute-horizontal + image-distribute-horizontal-node + none + True + Distribute selected nodes horizontally. + + + 0 + 0 + + + + + True + True + True + win.node-distribute-vertical + image-distribute-vertical-node + none + True + Distribute selected nodes vertically. + + + 1 + 0 + + + + + False + True + 1 + + + + + + + + + True + False + 2 + Distribute Nodes + + + + + + + + False + True + 1 + + + + + False + True + 1 + + + + diff --git a/share/ui/bad-marker.svg b/share/ui/bad-marker.svg new file mode 100644 index 0000000..85fde2d --- /dev/null +++ b/share/ui/bad-marker.svg @@ -0,0 +1,18 @@ + + + + + + diff --git a/share/ui/color-palette.glade b/share/ui/color-palette.glade new file mode 100644 index 0000000..0a7f1a3 --- /dev/null +++ b/share/ui/color-palette.glade @@ -0,0 +1,415 @@ + + + + + + -1 + 1 + 0.10 + 0.20 + + + 8 + 1 + 1 + + + 1 + 5 + 1 + 1 + 1 + + + 4 + 32 + 8 + 1 + 2 + + + True + False + go-up + + + True + False + go-down + + + True + False + go-next + + + True + False + go-previous + + + True + False + + + True + False + 5 + 5 + + + + + True + False + Configure... + True + + + + + True + False + + + True + True + end + 1 + 1 + True + True + external + never + 1 + 1 + False + + + True + False + none + + + True + False + start + end + True + 1 + 1 + 6 + 6 + none + + + + + + + + True + True + 0 + + + + + True + True + False + True + True + 1 + 1 + image5 + none + + + + False + True + 1 + + + + + True + True + False + True + True + 1 + 1 + image4 + none + + + + False + True + 2 + + + + + True + False + True + vertical + 1 + 2 + none + + + 10 + 10 + True + True + + + True + True + False + True + 1 + 1 + image1 + none + + + + + + + + 10 + 10 + True + True + + + True + True + False + True + 1 + 1 + image2 + none + + + + + + + + False + False + 3 + + + + + True + True + False + True + end + end + 1 + 1 + menu + none + False + + + + + + + False + False + 4 + + + + + + False + btn-menu + left + + + + True + False + start + start + 12 + 7 + 8 + + + True + False + start + Tile size: + + + 0 + 0 + + + + + 180 + True + True + adjustment-border + True + 50 + 0 + 0 + right + + + 1 + 3 + + + + + True + False + start + Border: + + + 0 + 3 + + + + + True + True + adjustment-size + True + 50 + 0 + 0 + right + + + 1 + 0 + + + + + True + False + start + Rows: + + + 0 + 4 + + + + + 180 + True + True + adjustment-rows + True + 50 + 0 + 0 + right + + + 1 + 4 + + + + + True + False + start + Aspect: + + + 0 + 1 + + + + + 180 + True + True + adjustment-aspect + True + 50 + right + + + 1 + 1 + + + + + Use scrollbar + True + False + start + True + + + 1 + 5 + + + + + Stretch to fill + True + True + False + start + True + + + 1 + 2 + + + + + + + + + + + + diff --git a/share/ui/command-palette-main.glade b/share/ui/command-palette-main.glade new file mode 100644 index 0000000..ae28c23 --- /dev/null +++ b/share/ui/command-palette-main.glade @@ -0,0 +1,112 @@ + + + + + + CommandPaletteBase + 720 + True + False + vertical + + + True + False + True + + + True + False + + + CPFilter + 696 + True + True + edit-find-symbolic + False + False + + + + False + True + 0 + + + + + + + False + True + 0 + + + + + 300 + True + False + + + 300 + True + True + in + + + True + False + + + CPSuggestions + True + False + + + + + + + True + True + 0 + + + + + 300 + True + True + in + + + True + False + + + True + False + + + + + + + True + True + 1 + + + + + True + True + 1 + + + + diff --git a/share/ui/command-palette-operation.glade b/share/ui/command-palette-operation.glade new file mode 100644 index 0000000..b3782cc --- /dev/null +++ b/share/ui/command-palette-operation.glade @@ -0,0 +1,112 @@ + + + + + + True + False + edit-copy + + + CPOperation + True + False + True + 0 + + + CPSynapseBox + True + False + + + True + False + Untranslated Name + 10 + 10 + 6 + 6 + Name + True + 0 + + + + + + False + True + 0 + + + + + True + False + A very long description to fill empty space until we encounter ellipsis may be wrong spelling + end + True + 0 + + + True + True + 1 + + + + + + True + True + Click to Copy + copy-icon + none + True + + + + False + True + 2 + + + + + True + False + Shortcut + 10 + 10 + 10 + 10 + Ctrl+F + + + False + True + 3 + + + + + CPGroup + False + False + 10 + Group + True + + + False + True + 4 + + + + + + diff --git a/share/ui/dialog-css.glade b/share/ui/dialog-css.glade new file mode 100644 index 0000000..4a5febb --- /dev/null +++ b/share/ui/dialog-css.glade @@ -0,0 +1,134 @@ + + + + + + True + False + vertical + top + + + True + False + + + True + False + + + True + False + 5 + list-add + + + + + False + True + 0 + + + + + True + False + + + True + False + Selector + + + + + False + True + 1 + + + + + True + True + + + False + True + 2 + + + + + True + False + { + + + False + True + 4 + + + + + False + True + 1 + + + + + True + False + True + True + natural + natural + False + True + True + False + 6 + True + + + + + + False + True + 2 + + + + + True + False + True + start + start + } + + + False + False + 3 + + + + + True + False + 6 + 6 + + + False + True + 4 + + + + diff --git a/share/ui/dialog-export.glade b/share/ui/dialog-export.glade new file mode 100644 index 0000000..e280be2 --- /dev/null +++ b/share/ui/dialog-export.glade @@ -0,0 +1,1145 @@ + + + + + + ExportDialog + True + False + False + vertical + True + + + True + False + False + False + + + True + False + True + False + vertical + 5 + + + True + True + False + True + never + False + False + + + True + False + natural + none + + + + True + False + 5 + 5 + 10 + + + True + True + True + 0 + 0 + False + + + 2 + 1 + + + + + True + True + True + 0 + 0 + + + 4 + 3 + + + + + True + True + True + 0 + 0 + + + 2 + 5 + + + + + True + True + True + 0 + 0 + + + 4 + 5 + + + + + True + False + 5 + 5 + Image Size + 0 + + + + + + 1 + 8 + 5 + + + + + True + False + + + + + + True + False + end + True + 5 + + + True + False + Units + True + 0 + + + False + True + 0 + + + + + True + False + 1 + + + False + True + 1 + + + + + False + True + 2 + + + + + 1 + 7 + 4 + + + + + True + False + 20 + + + export_preview_single + True + False + center + center + gtk-missing-image + + + False + True + 0 + + + + + True + False + center + vertical + + + Show Preview + False + False + True + True + True + + + False + True + 0 + + + + + Export Selected only + True + False + False + True + + + False + True + 1 + + + + + Hide Export Settings + True + True + False + Don't pop up the export options and use the previously used or default options. + True + + + False + True + 2 + + + + + True + True + end + 1 + + + + + 1 + 14 + 4 + + + + + True + True + True + 0 + 0 + + + 4 + 1 + + + + + True + True + True + 0 + 0 + + + 2 + 3 + + + + + True + False + Height + True + 0 + + + 3 + 5 + + + + + True + False + Width + True + 0 + + + 1 + 5 + + + + + True + False + Left + True + 0 + + + 1 + 1 + + + + + True + False + Right + True + 0 + + + 1 + 3 + + + + + True + False + Bottom + True + 0 + + + 3 + 3 + + + + + True + False + Top + True + 0 + + + 3 + 1 + + + + + True + False + Width +(px) + True + 0 + + + 1 + 10 + + + + + True + False + Height +(px) + True + 0 + + + 3 + 10 + + + + + True + True + center + True + 0 + 0 + number + + + 2 + 10 + + + + + True + True + center + True + 0 + 0 + + + 4 + 10 + + + + + True + False + DPI + True + 0 + + + 1 + 12 + + + + + True + True + start + True + 0 + 0 + + + 2 + 12 + + + + + + True + False + 2 + 20 + + + + + + + + + + + + + + + + + + 1 + 9 + 4 + + + + + + True + False + + + Selection + export_selection + True + False + False + False + Export selected objects + True + False + si_s_document + + + 2 + 0 + + + + + Document + export_selection + True + False + False + False + Export everything inside document + True + True + False + + + 0 + 0 + + + + + Page + export_selection + True + False + False + False + Export cropped content inside the page + True + False + si_s_document + + + 1 + 0 + + + + + Custom + export_selection + True + False + False + False + Export custom area by specifying coordinates + True + False + si_s_document + + + 3 + 0 + + + + + 0 + 0 + 6 + + + + + True + False + + + True + True + True + Select the previous page + + + True + False + pan-start + + + + + False + True + 0 + + + + + False + 5 + 5 + {name} + + + True + True + 1 + + + + + True + True + True + Select the next page + + + True + False + pan-end + + + + + False + True + 2 + + + + + 1 + 13 + 4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + True + True + 0 + + + + + + True + False + 5 + 10 + + + True + True + True + folder-open + Browse export directory + Filename + + + 0 + 0 + + + + + True + False + Select export format + center + 0 + + + 1 + 0 + + + + + True + False + + + 0 + 2 + 2 + + + + + Export + True + True + False + + + 0 + 1 + 2 + + + + + False + True + 1 + + + + + 1 + + + + + True + False + Export a part of document + Single Image + right + + + True + False + + + + + True + True + False + vertical + + + True + True + True + never + False + False + + + True + False + none + + + + True + False + 5 + vertical + 10 + 10 + + + 150 + True + True + True + True + in + + + True + False + + + True + False + 5 + 5 + 5 + 5 + 6 + 6 + 10 + none + False + + + + + + + 0 + 1 + 6 + + + + + True + False + True + expand + + + Selection + export_selection + True + False + False + Export selected objects to separate files + True + False + + + True + True + 0 + + + + + Layers + export_selection + True + False + False + Export layers as separate files + True + False + b_s_selection + + + True + True + 1 + + + + + Pages + export_selection + True + False + False + Export pages as separate files + True + False + b_s_selection + + + True + True + 2 + + + + + 0 + 0 + 6 + + + + + Preview + True + False + False + False + start + True + True + + + 0 + 2 + 5 + + + + + True + False + 5 Items + + + 5 + 2 + + + + + Export Selected Only + True + False + False + False + start + True + + + 0 + 3 + 6 + + + + + + True + False + 5 + 5 + 5 + 5 + 10 + 10 + + + + + + + + + + + + + + + 0 + 4 + 6 + 2 + + + + + + + + + True + True + 0 + + + + + + True + False + 5 + 5 + 10 + + + True + True + True + folder-open + Filename + + + 0 + 0 + + + + + Export + True + False + True + + + 0 + 1 + + + + + True + False + + + 0 + 2 + + + + + False + True + 1 + + + + + 1 + + + + + True + False + Export to multiple files and file formats + Batch Export + + + 2 + True + False + + + + + False + True + 0 + + + + diff --git a/share/ui/dialog-filter-editor.glade b/share/ui/dialog-filter-editor.glade new file mode 100644 index 0000000..908e0d7 --- /dev/null +++ b/share/ui/dialog-filter-editor.glade @@ -0,0 +1,381 @@ + + + + + + + + + + + + + + + + + + test1 + a + False + + + + test2 + b + False + + + + test3 + c + False + + + + + + False + + + + + + + + + + + + whatever + + + second choice + + + + + True + False + vertical + + + True + False + + + True + False + + filter1 + filter2 + + + + True + True + 0 + + + + + True + False + FER: + + + False + True + 1 + + + + + True + False + X: + + + False + True + 2 + + + + + True + True + number + vertical + -0.10000000000000001 + + + False + True + 3 + + + + + True + False + Y: + + + False + True + 4 + + + + + True + True + vertical + + + False + True + 5 + + + + + True + False + W: + + + False + True + 6 + + + + + True + True + vertical + + + False + True + 7 + + + + + True + False + H: + + + False + True + 8 + + + + + True + True + vertical + + + False + True + 9 + + + + + False + True + 0 + + + + + True + True + + + True + False + vertical + + + True + True + FilterStore + False + True + True + True + True + + + + + + fixed + Effect + + + + 0 + + + + + + + fixed + Name + + + + 1 + + + + + + + fixed + Origin(s) + True + + + FilterStore1 + 0 + + + + + + + True + True + 0 + + + + + True + False + + + True + False + + + True + True + 0 + + + + + Add + True + True + True + + + False + True + 1 + + + + + False + False + end + 1 + + + + + True + True + + + + + True + False + vertical + + + True + False + + + True + True + 0 + + + + + + + + True + False + + + True + False + gtk-dialog-info + 6 + + + False + False + 0 + + + + + True + False + This effect does this and that. + + + True + True + 1 + + + + + True + True + 2 + + + + + True + True + + + + + True + True + 1 + + + + + True + False + FilterStore1 + 0 + 0 + + diff --git a/share/ui/dialog-livepatheffect-add.glade b/share/ui/dialog-livepatheffect-add.glade new file mode 100644 index 0000000..ff6d298 --- /dev/null +++ b/share/ui/dialog-livepatheffect-add.glade @@ -0,0 +1,449 @@ + + + + + + LPEDialogSelector + False + Live Path Effects Selector + True + center-on-parent + True + dialog + True + static + True + + + + + + False + vertical + top + + + False + end + + + + + + + + + False + False + 0 + + + + + True + False + start + vertical + top + + + True + False + True + + + True + False + start + + + 300 + True + True + True + True + True + True + True + edit-find-symbolic + False + False + + + + False + True + 0 + + + + + True + False + + + False + True + 5 + 1 + + + + + True + False + start + center + expand + + + True + True + False + end + center + False + + + LPESelectorEffectPackLessImage + True + False + center + center + 22 + pack-less + 2 + + + + + False + False + 0 + True + + + + + True + True + False + center + center + False + LPESelectorEffectRadioPackLess + + + LPESelectorEffectPackMoreImage + True + False + center + center + 22 + pack-more + 2 + + + + + False + False + 1 + True + + + + + True + True + False + start + center + False + LPESelectorEffectRadioPackLess + + + LPESelectorEffectListImage + True + False + center + center + 22 + hamburger-menu + 2 + + + + + False + False + 2 + True + + + + + False + False + 2 + + + + + True + False + + + False + True + 4 + 3 + + + + + LPESelectorEffectEventFavShow + True + False + True + center + center + + + LPESelectorEffectFavShowImage + True + False + center + center + 25 + draw-star-outline + 2 + + + + + + False + True + 4 + + + + + True + False + + + False + True + 5 + 5 + + + + + LPEExperimental + True + True + center + center + + + False + False + 7 + + + + + True + False + Show Experimental + + + False + True + 5 + 8 + + + + + + + + True + True + 0 + + + + + False + True + Message + center + end + + + + False + True + 1 + + + + + True + True + never + in + 800 + 10 + True + + + LPEViewport + True + False + + + LPESelectorFlowBox + True + False + True + start + 1 + 1 + 3 + 30 + + + + + + + False + False + 2 + + + + + False + True + 0 + + + + + + + + LPESelectorEffectInfoPop + False + True + start + LPEInfo + bottom + False + False + + + LPESelectorEffectInfoEventBox + True + False + + + True + False + vertical + + + True + False + + + LPESelectorEffectInfoIcon + True + False + start + 40 + align-vertical-baseline + 6 + + + False + False + 0 + + + + + LPESelectorEffectInfoName + True + False + Name + center + True + 20 + + + False + True + 1 + + + + + False + True + 0 + + + + + True + False + + + False + True + 1 + + + + + LPESelectorEffectInfoDescription + True + False + Description + center + True + 20 + + + False + True + 2 + + + + + + + + + diff --git a/share/ui/dialog-livepatheffect-effect.glade b/share/ui/dialog-livepatheffect-effect.glade new file mode 100644 index 0000000..bee2189 --- /dev/null +++ b/share/ui/dialog-livepatheffect-effect.glade @@ -0,0 +1,270 @@ + + + + + + LPESelectorEffect + True + True + start + False + + + True + True + False + start + False + vertical + top + + + LPEOverlay + True + False + + + True + False + center + start + 60 + align-vertical-baseline + 6 + + + 1 + + + + + True + False + True + end + start + + + LPESelectorEffectFavTop + True + False + end + start + 20 + draw-star + 2 + + + + + + 2 + + + + + False + True + 0 + + + + + True + False + LPEName + center + True + end + 14 + 23 + + + + False + False + 1 + + + + + 200 + False + True + Description + True + end + True + 1 + + + False + False + 10 + 2 + + + + + Experimental + True + False + True + True + + + False + True + 3 + + + + + True + False + True + + + True + False + True + center + center + 5 + 5 + 5 + 5 + 16 + go-down + 2 + + + + + + False + True + 4 + + + + + LPESelectorButtonBox + True + False + center + start + top + center + + + LPESelectorEffectEventInfo + True + False + end + start + False + + + LPESelectorEffectInfo + False + end + start + 23 + info-outline + 2 + + + + + + False + True + end + 0 + True + + + + + LPESelectorEffectEventFav + True + False + center + start + False + + + LPESelectorEffectFav + False + center + start + 23 + draw-star-outline + 2 + + + + + + False + True + end + 1 + True + + + + + LPESelectorEffectEventApply + True + False + start + start + False + + + False + start + start + 23 + on-outline + 2 + + + + + + False + True + end + 2 + True + + + + + True + True + 5 + + + + + + + diff --git a/share/ui/dialog-save-template.glade b/share/ui/dialog-save-template.glade new file mode 100644 index 0000000..ab34ee5 --- /dev/null +++ b/share/ui/dialog-save-template.glade @@ -0,0 +1,154 @@ + + + + + + 400 + 200 + False + Save Document as Template + dialog + + + + + + False + vertical + 2 + + + False + end + + + + + + + + + False + False + 0 + + + + + True + False + + + True + False + start + Name: + + + 0 + 0 + + + + + True + False + start + Author: + + + 0 + 1 + + + + + True + False + start + Description: + + + 0 + 2 + + + + + True + False + start + Keywords: + + + 0 + 3 + + + + + True + True + True + + + 1 + 0 + + + + + True + True + + + 1 + 1 + + + + + True + True + + + 1 + 2 + + + + + True + True + + + 1 + 3 + + + + + False + True + 1 + + + + + Set as default template + True + True + False + start + True + + + False + True + 2 + + + + + + diff --git a/share/ui/dialog-text-edit.glade b/share/ui/dialog-text-edit.glade new file mode 100644 index 0000000..135efae --- /dev/null +++ b/share/ui/dialog-text-edit.glade @@ -0,0 +1,178 @@ + + + + + + + TextEdit Dialog Box + False + vertical + 4 + + + TextEdit Notebook + True + True + + + True + False + 4 + vertical + + + + + + True + False + text + center + end + False + + + False + False + 4 + 1 + + + + + + + True + False + _Font + True + + + False + + + + + True + False + 4 + vertical + + + + + + True + False + text + center + end + False + + + False + False + 4 + 1 + + + + + 1 + + + + + True + False + _Features + True + + + 1 + False + + + + + True + True + in + + + 64 + True + True + word + text_buffer + + + + + 2 + + + + + True + False + _Text + True + + + 2 + False + + + + + True + True + 0 + + + + + True + False + 4 + start + + + Set as _default + True + True + True + True + + + False + True + 0 + + + + + Apply + True + True + True + True + + + False + True + 1 + True + + + + + False + False + 4 + 1 + + + + diff --git a/share/ui/dialog-trace.glade b/share/ui/dialog-trace.glade new file mode 100644 index 0000000..578bead --- /dev/null +++ b/share/ui/dialog-trace.glade @@ -0,0 +1,1515 @@ + + + + + + 2 + 256 + 8 + 1 + 5 + + + -10 + 10 + 1 + 0.20 + 1 + + + -20 + 20 + 5 + 1 + 2 + + + 2 + 8 + 4 + 1 + 1 + + + -10 + 10 + 1 + 0.20 + 1 + + + 1 + 10 + 2 + 0.10 + 1 + + + 1 + 20 + 4 + 1 + 2 + + + 1 + 0.45 + 0.01 + 0.10 + + + 2 + 64 + 8 + 1 + 2 + + + 1 + 0.65 + 0.01 + 0.10 + + + This dialog allows you to automatically convert a raster graphic into vector paths. Several options are available for different use cases: + * "Brightness cutoff" detects areas that are darker than the threshold value and creates a path enclosing them (using potrace). + * "Edge detection" detects changes greater than the given threshold value in the brightness of color patches and creates paths to separate them (using potrace). + * "Color quantization" separates the image into the given number of colors, and separates them with a path (using potrace). + * "Autotrace" uses the autotrace algorithm with the given option. + * "Centerline tracing" tries to vectorize a line drawing (with autotrace). + * "Multicolor" options separate the image into a number of scans, depending on brightness, color separation, or gray levels (using potrace), or using the autotrace algorithm, and create several paths for those. + * The "Pixel art" tab allows to use an algorithm for pixel recognition or one for depixelizing to vectorize pixel art images. + + * NOTE: + 1) Save your work before tracing + 2) Watch your pixel count: "Trace pixel art" creates up to one path per pixel. It is not recommended for images that are not pixel art. + 3) Autotrace is slower than potrace, it is not recommended for big images. Preprocessing your images to increase contrast is recommended. + 4) If your goal is to get few nodes and good precision, manual tracing is always best. + + + 300 + 400 + False + none + + + True + True + never + False + + + True + True + natural + natural + False + word + helptext + + + + + + + True + False + off-outline-symbolic + + + 5 + 0.20 + 0.05 + 10 + + + 1.34 + 1 + 0.01 + 10 + + + 1000 + 2 + 1 + 10 + + + True + False + vertical + + + True + False + vertical + top + + + True + True + True + start + True + False + + + True + False + start + vertical + + + + True + False + True + start + 8 + 8 + 4 + 4 + 4 + + + Speckles + True + True + False + Ignore small spots (speckles) in the bitmap + start + True + True + + + 0 + 10 + + + + + Smooth corners + True + True + False + Smooth out sharp corners of the trace + start + True + True + + + 0 + 11 + + + + + 60 + True + True + True + speckles + 1 + False + + + 1 + 10 + 2 + + + + + True + True + True + smooth + False + + + 1 + 11 + 2 + + + + + Optimize + True + True + False + Try to optimize paths by joining adjacent Bezier curve segments + start + True + True + + + 0 + 12 + + + + + True + True + True + optimize + False + + + 1 + 12 + 2 + + + + + True + False + start + Threshold + + + 0 + 2 + + + + + True + False + start + Edge threshold + + + 0 + 3 + + + + + True + False + start + Colors + + + 0 + 4 + + + + + True + False + start + Filter iterations + + + 0 + 5 + + + + + True + False + start + Error threshold + + + 0 + 6 + + + + + Invert image + True + True + False + Invert black and white regions + start + start + True + + + 0 + 7 + 4 + + + + + True + False + start + Details: + + + + + + 0 + 9 + 4 + + + + + True + True + SS_AT_ET_T + False + + + 1 + 6 + 2 + + + + + True + True + SS_AT_FI_T + False + + + 1 + 5 + 2 + + + + + True + True + SS_CQ_T + False + + + 1 + 4 + 2 + + + + + True + True + SS_ED_T + False + + + 1 + 3 + 2 + + + + + True + True + SS_BC_T + False + + + 1 + 2 + 2 + + + + + True + False + 0 + + Brightness cutoff + Edge detection + Color quantization + Autotrace + Centerline tracing (autotrace) + + + + 0 + 1 + 4 + + + + + True + False + start + Detection mode: + + + + + + 0 + 0 + 4 + + + + + True + True + SS_BC_T + 3 + + + 3 + 2 + + + + + True + True + SS_ED_T + 3 + + + 3 + 3 + + + + + True + True + SS_CQ_T + + + 3 + 4 + + + + + True + True + SS_AT_FI_T + + + 3 + 5 + + + + + True + True + SS_AT_ET_T + 1 + + + 3 + 6 + + + + + True + True + Speckles of up to this many pixels will be suppressed + speckles + + + 3 + 10 + + + + + True + True + Increase this to smooth corners more + smooth + 2 + + + 3 + 11 + + + + + True + True + Increase this to reduce the number of nodes in the trace by more aggressive optimization + optimize + 3 + 0.20 + + + 3 + 12 + + + + + User-assisted trace + True + True + False + Cover the area you want to select as the foreground then select both objects + start + True + + + 0 + 13 + 4 + + + + + + + + + + + + + + + + + False + False + 0 + + + + + + + True + False + Single scan + + + False + + + + + True + False + start + vertical + + + + True + False + True + start + 8 + 8 + 4 + 4 + 4 + + + True + False + 0 + + Brightness steps + Colors + Grays + Autotrace (slower) + + + + 0 + 1 + 4 + + + + + True + False + start + Scans + + + 0 + 2 + + + + + True + False + start + Detection mode: + + + + + + 0 + 0 + 3 + + + + + Smooth + True + True + False + Apply Gaussian blur to the bitmap before tracing + start + True + + + 0 + 4 + + + + + Remove background + True + True + False + Remove bottom (background) layer when done + start + True + + + 0 + 5 + 3 + + + + + True + True + The desired number of scans + MS_scans + 8 + + + 3 + 2 + + + + + True + False + start + Details: + + + + + + 0 + 8 + 3 + + + + + 60 + True + True + True + speckles + False + + + 1 + 10 + 2 + + + + + True + True + Speckles of up to this many pixels will be suppressed + speckles + 2 + + + 3 + 10 + + + + + Speckles + True + True + False + Ignore small spots (speckles) in the bitmap + start + True + True + + + 0 + 10 + + + + + Optimize + True + True + False + Try to optimize paths by joining adjacent Bezier curve segments + start + True + True + + + 0 + 12 + + + + + True + True + True + optimize + False + + + 1 + 12 + 2 + + + + + True + True + Increase this to smooth corners more + smooth + 2 + 1 + + + 3 + 11 + + + + + True + True + True + smooth + False + + + 1 + 11 + 2 + + + + + Smooth corners + True + True + False + Smooth out sharp corners of the trace + start + True + True + + + 0 + 11 + + + + + True + True + Increase this to reduce the number of nodes in the trace by more aggressive optimization + optimize + 3 + 0.20 + + + 3 + 12 + + + + + User-assisted trace + True + True + False + Cover the area you want to select as the foreground then select both objects + start + True + + + 0 + 13 + 3 + + + + + True + True + True + MS_scans + 1 + False + + + 1 + 2 + 2 + + + + + Stack + True + True + False + Stack scans on top of one another (no gaps) instead of tiling (usually with gaps) + start + True + + + 1 + 4 + 3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + False + False + 0 + + + + + 1 + + + + + True + False + Multicolor + + + 1 + False + + + + + True + False + start + vertical + + + + True + False + start + 8 + 8 + 4 + 4 + 4 + 2 + + + True + False + Favors connections that are part of a long curve (multiplier) + start + Curves + + + 0 + 1 + + + + + True + False + Avoid single disconnected pixels (weight) + start + Islands + + + 0 + 2 + + + + + True + False + Favors connections that are part of foreground color + start + 8 + Sparse pixels: + + + 0 + 3 + 2 + + + + + True + True + The heuristic computed vote will be multiplied by this value + PA_curves + 3 + True + 1 + + + 2 + 1 + + + + + True + True + A constant vote value + PA_islands + True + 5 + + + 2 + 2 + + + + + True + True + The radius of the window analyzed + PA_sparse1 + True + 2 + + + 2 + 4 + + + + + True + True + The heuristic computed vote will be multiplied by this value + PA_sparse2 + 3 + True + 1 + + + 2 + 5 + + + + + True + False + start + Heuristics: + + + + + + 0 + 0 + 2 + + + + + 60 + True + True + True + PA_curves + 1 + False + + + 1 + 1 + + + + + True + True + True + PA_islands + False + + + 1 + 2 + + + + + True + True + True + PA_sparse1 + False + + + 1 + 4 + + + + + True + True + True + PA_sparse2 + False + + + 1 + 5 + + + + + B-splines + True + True + False + Preserve staircasing artifacts + start + True + RB_PA_voronoi + + + 0 + 9 + 2 + + + + + Voronoi + True + True + False + Output composed of straight lines + start + True + True + + + 0 + 8 + 2 + + + + + True + False + start + Output: + + + + + + 0 + 7 + 2 + + + + + Optimize + True + True + False + Try to optimize paths by joining adjacent Bezier curve segments + start + True + + + 0 + 6 + 2 + + + + + True + False + Favors connections that are part of foreground color + start + Multiplier + + + 0 + 5 + + + + + True + False + Favors connections that are part of foreground color + start + Window radius + + + 0 + 4 + + + + + + + + + + + + + + + + + + + + + + + False + True + 0 + + + + + 2 + + + + + True + False + start + Pixel art + + + 2 + False + + + + + + + + + + + False + True + 0 + + + + + True + False + 4 + 4 + True + True + 0 + none + + + True + False + 5 + 5 + 5 + 5 + True + True + vertical + + + 100 + 100 + True + False + 4 + + + True + True + 0 + + + + + True + False + + + Live updates + True + True + False + True + + + False + True + 0 + + + + + Update preview + True + True + True + center + + + False + True + end + 1 + + + + + False + True + 1 + + + + + + + True + False + 4 + Preview: + + + + + True + True + 1 + + + + + True + True + 0 + + + + + True + False + 4 + 5 + 5 + + + True + True + False + True + Instructions + 4 + up + popover1 + + + True + False + info-outline-symbolic + + + + + False + True + 0 + + + + + True + True + Abort trace operation + image1 + + + False + True + 1 + + + + + True + False + True + baseline + 3 + center + + + gtk-revert-to-saved + True + True + True + + + True + True + 0 + + + + + Apply + 150 + True + True + True + + + True + True + 1 + + + + + True + True + 2 + + + + + False + True + 1 + + + + diff --git a/share/ui/gradient-edit.glade b/share/ui/gradient-edit.glade new file mode 100644 index 0000000..b556563 --- /dev/null +++ b/share/ui/gradient-edit.glade @@ -0,0 +1,458 @@ + + + + + + 360 + 440 + False + bottom + none + + + + + + 1 + 0.01 + 0.1 + + + True + False + False + + + True + False + None + True + + + + + True + False + Direct + True + + + + + True + False + Reflected + True + + + + + + mainGrid + True + False + True + 4 + + + True + False + True + + + 65 + True + False + start + 4 + Gradient: + + + False + True + 0 + + + + + True + True + False + True + Gradient library + center + 4 + 4 + libraryPopover + + + True + False + + + True + False + 8 + gradient-library + + + False + True + 0 + + + + + True + False + pan-down-symbolic + + + False + True + 1 + + + + + + + False + True + 1 + + + + + False + True + True + True + Linear gradient + none + + + False + True + 2 + + + + + False + True + True + True + Radial gradient + none + + + False + True + 3 + + + + + True + False + + + + + + True + True + 4 + + + + + True + False + False + True + Reverse the direction of the gradient + 16 + none + + + False + True + 5 + + + + + True + False + 4 + Repeat: + + + False + True + 6 + + + + + True + True + False + True + end + center + none + repeatMenu + + + True + False + + + True + False + 8 + gtk-missing-image + + + False + True + 0 + + + + + True + False + pan-down-symbolic + + + False + True + 1 + + + + + + + False + True + 7 + + + + + 0 + 0 + 2 + + + + + True + False + 12 + 3 + 3 + True + + + True + True + center + + + + + + True + False + Stops + + + + + False + True + 0 + + + + + + + + True + False + end + 4 + Stop Offset: + + + True + True + 2 + + + + + True + True + Offset of selected stop + offset + 2 + True + + + False + True + 3 + + + + + 0 + 2 + 2 + + + + + True + False + 2 + 2 + True + vertical + + + + + + + + + 0 + 1 + 2 + + + + + True + False + True + True + + + True + False + True + 4 + 4 + vertical + + + True + True + 1 + 1 + in + + + 65 + True + True + 1 + False + False + + + + + + + + True + True + 0 + + + + + True + False + + + True + True + True + Insert new stop + none + + + False + True + 0 + + + + + True + True + True + Delete stop + none + + + False + True + 1 + + + + + + + + False + True + 1 + + + + + False + True + 0 + + + + + True + False + True + True + vertical + + + + + + False + True + 1 + + + + + 0 + 3 + 2 + + + + diff --git a/share/ui/gradient-stop.svg b/share/ui/gradient-stop.svg new file mode 100644 index 0000000..c2578ed --- /dev/null +++ b/share/ui/gradient-stop.svg @@ -0,0 +1,124 @@ + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + diff --git a/share/ui/gradient-tip.svg b/share/ui/gradient-tip.svg new file mode 100644 index 0000000..2f557b0 --- /dev/null +++ b/share/ui/gradient-tip.svg @@ -0,0 +1,76 @@ + + + + + + + + + + image/svg+xml + + + + + + + + + + diff --git a/share/ui/highlight-colors.css b/share/ui/highlight-colors.css new file mode 100644 index 0000000..1739d45 --- /dev/null +++ b/share/ui/highlight-colors.css @@ -0,0 +1,59 @@ +/* default highlight colors; variant for light backgrounds + * + * gray, blue, yellow, red, green, orange, cyan, purple + */ + +.bright .highlight-color-1 { + color: #babdb6; +} +.bright .highlight-color-2 { + color: #729fcf; +} +.bright .highlight-color-3 { + color: #edd400; +} +.bright .highlight-color-4 { + color: #eb486a; +} +.bright .highlight-color-5 { + color: #73b92f; +} +.bright .highlight-color-6 { + color: #fcaf3e; +} +.bright .highlight-color-7 { + color: #54d5ba; +} +.bright .highlight-color-8 { + color: #ad7fa8; +} + +/* default highlight colors; variant for dark backgrounds + * + * gray, blue, yellow, red, green, orange, cyan, purple + */ + +.dark .highlight-color-1 { + color: #b1b5ad; +} +.dark .highlight-color-2 { + color: #3b80ee; +} +.dark .highlight-color-3 { + color: #c3e33e; +} +.dark .highlight-color-4 { + color: #f3215a; +} +.dark .highlight-color-5 { + color: #36a949; +} +.dark .highlight-color-6 { + color: #f37f35; +} +.dark .highlight-color-7 { + color: #3be3c2; +} +.dark .highlight-color-8 { + color: #b85ac9; +} diff --git a/share/ui/inkscape-about.glade b/share/ui/inkscape-about.glade new file mode 100644 index 0000000..ef14cca --- /dev/null +++ b/share/ui/inkscape-about.glade @@ -0,0 +1,414 @@ + + + + + + True + False + bug + + + True + False + 3 + edit-copy + + + about + False + Inkscape. Draw freely. + False + center-always + org.inkscape.Inkscape + north + + + True + False + vertical + 4 + + + True + True + False + True + about_stack + + + 750 + 625 + True + False + 0 + none + 0 + + + + + + + + True + False + Official splash artwork of this version + True + About + + + False + + + + + True + False + vertical + + + True + False + 3 + <big><b>Do you want to get involved with Inkscape? <a href="https://inkscape.org/contribute/">Check this page!</a></b></big> + True + + + False + True + 10 + 0 + + + + + True + True + + + True + True + False + center + 10 + 10 + 10 + 10 + False + False + + + + + True + True + 4 + 1 + + + + + 1 + + + + + True + False + List of authors who contributed to the code + True + Authors + + + 1 + False + + + + + True + False + vertical + + + True + False + 3 + <big><b>Do you want to contribute to translation activities? <a href="https://inkscape.org/contribute/translations/">Join us here!</a></b></big> + True + + + False + True + 10 + 0 + + + + + True + True + + + True + True + False + center + 10 + 10 + 10 + 10 + False + False + + + + + True + True + 4 + 1 + + + + + 2 + False + + + + + True + False + List of translators + True + Translators + + + 2 + False + + + + + True + False + vertical + + + True + True + 3 + <big><b>See the full details about the Inkscape licenses <a href="https://inkscape.org/about/license/">here</a>!</b></big> + True + + + False + True + 10 + 0 + + + + + True + False + + + True + False + + + True + False + 50 + 50 + 20 + 20 + License file failed to load. + True + center + True + True + 0.5 + 0 + + + + + + + True + True + 4 + 1 + + + + + 3 + False + + + + + True + False + Inkscape license + True + License + + + 3 + False + + + + + False + False + 0 + + + + + True + False + 5 + 5 + 1 + 5 + + + True + False + 10 + © 2022 Inkscape Developers + True + char + + + False + False + 0 + + + + + www.inkscape.org + True + True + False + True + Link to the official website + 15 + none + https://inkscape.org/?about-screen=1 + + + True + False + 1 + + + + + + True + False + + + True + False + crossfade + 1000 + True + + + $version + True + True + True + Click to copy the version number to the clipboard + copy-icon + True + + + + + 0 + 0 + + + + + True + False + slide-right + 1000 + + + True + False + Version Copied! + + + + + 0 + 0 + + + + + True + False + slide-right + 1000 + + + True + False + Debug Info Copied! + + + + + 0 + 0 + + + + + False + True + 3 + + + + + True + True + True + Click to copy debug info to the clipboard + 4 + bug_icon + True + + + False + True + 3 + + + + + False + True + 2 + + + + + + diff --git a/share/ui/inkscape-start.glade b/share/ui/inkscape-start.glade new file mode 100644 index 0000000..f1af851 --- /dev/null +++ b/share/ui/inkscape-start.glade @@ -0,0 +1,2252 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + light + Default + resources/canvas_aw.png + rgba(255, 255, 255, 0) + False + #999999 + False + + + dark + Dark + resources/canvas_ad.png + rgba(80, 80, 80, 0) + False + #eeeeee + False + + + light-check + Light Checkerboard + resources/canvas_cw.png + rgba(255, 255, 255, 0) + True + #111111 + False + + + dark-check + Dark Checkerboard + resources/canvas_cd.png + rgba(80, 80, 80, 0) + True + #ffffff + False + + + light-solid + Solid White + resources/canvas_sw.png + #ffffff + False + #cccccc + False + + + + + + + + + + + + + Inkscape (default) + default + + + Filled by code + nope + + + + + + + + + + + + + + + + + + + + + About Screen + resources/template_about.svg + about_screen.svg + 750px + 625px + 750px × 625px + + + Icon 120x120 + resources/template_icon_square.svg + - + 120px + 120px + 120px × 120px + + + Icon 16x16 + resources/template_icon_square.svg + - + 16px + 16px + 16px × 16px + + + Icon 180x180 + resources/template_icon_square.svg + - + 180px + 180px + 180px × 180px + + + Icon 32x32 + resources/template_icon_square.svg + - + 32px + 32px + 32px × 32px + + + Icon 48x48 + resources/template_icon_square.svg + - + 48px + 48px + 48px × 48px + + + Icon 512x512 + resources/template_icon_square.svg + - + 512px + 512px + 512px × 512px + + + ID Card (ISO 7810) + resources/template_businesscard_landscape.svg + - + 85.6mm + 53.98mm + 85.6mm × 53.98mm + + + + + + + + + + + + + + + + + + + + + A4 + resources/template_print_portrait.svg + - + 210mm + 297mm + 210mm × 297mm + + + A4 (Landscape) + resources/template_print_landscape.svg + - + 297mm + 210mm + 297mm × 210mm + + + US Letter + resources/template_print_US_portrait.svg + - + 8.5in + 11in + 8.5in × 11in + + + US Letter (Landscape) + resources/template_print_US_landscape.svg + - + 11in + 8.5in + 11in × 8.5in + + + A0 + resources/template_print_portrait.svg + - + 841mm + 1189mm + 841mm × 1189mm + + + A0 (Landscape) + resources/template_print_landscape.svg + - + 1189mm + 841mm + 1189mm × 841mm + + + A1 + resources/template_print_portrait.svg + - + 594mm + 841mm + 594mm × 841mm + + + A1 (Landscape) + resources/template_print_landscape.svg + - + 841mm + 594mm + 841mm × 594mm + + + A2 + resources/template_print_portrait.svg + - + 420mm + 594mm + 420mm × 594mm + + + A2 (Landscape) + resources/template_print_landscape.svg + - + 594mm + 420mm + 594mm × 420mm + + + A3 + resources/template_print_portrait.svg + - + 297mm + 420mm + 297mm × 420mm + + + A3 (Landscape) + resources/template_print_landscape.svg + - + 420mm + 297mm + 420mm × 297mm + + + A5 + resources/template_print_portrait.svg + - + 148mm + 210mm + 148mm × 210mm + + + A5 (Landscape) + resources/template_print_landscape.svg + - + 210mm + 148mm + 210mm × 148mm + + + Business Card AU/NZ (Landscape) + resources/template_businesscard_landscape.svg + - + 90mm + 55mm + 90mm × 55mm + + + Business Card AU/NZ (Portrait) + resources/template_businesscard_portrait.svg + - + 55mm + 90mm + 55mm × 90mm + + + Business Card EU (Landscape) + resources/template_businesscard_landscape.svg + - + 85mm + 55mm + 85mm × 55mm + + + Business Card EU (Portrait) + resources/template_businesscard_portrait.svg + - + 55mm + 85mm + 55mm × 85mm + + + Business Card EU (Square) + resources/template_businesscard_square.svg + - + 55mm + 55mm + 55mm × 55mm + + + Business Card US (Landscape) + resources/template_businesscard_landscape.svg + - + 3.5in + 2in + 3.5in × 2in + + + Business Card US (Portrait) + resources/template_businesscard_portrait.svg + - + 2in + 3.5in + 2in × 3.5in + + + Business Card US (Square) + resources/template_businesscard_square.svg + - + 2in + 2in + 2in × 2in + + + DL Envelope + resources/template_envelope_landscape.svg + - + 220mm + 110mm + 220mm × 110mm + + + Ledger/Tabloid + resources/template_print_portrait.svg + - + 11in + 17in + 11in × 17in + + + US #10 Envelope + resources/template_envelope_landscape.svg + - + 9.5in + 4.125in + 9.5in × 4.125in + + + US Executive + resources/template_print_US_portrait.svg + - + 7.25in + 10.5in + 7.25in × 10.5in + + + US Executive (Landscape) + resources/template_print_US_landscape.svg + - + 10.5in + 7.25in + 10.5in × 7.25in + + + US Legal + resources/template_print_US_portrait.svg + - + 8.5in + 14in + 8.5in × 14in + + + US Legal (Landscape) + resources/template_print_US_landscape.svg + - + 14in + 8.5in + 14in × 8.5in + + + + + + + + + + + + + + + + + + + + + Desktop 1080p + resources/template_desktop_hd_landscape.svg + - + 1920px + 1080px + 1920px × 1080px + + + Desktop 2K + resources/template_desktop_hd_landscape.svg + - + 2560px + 1440px + 2560px × 1440px + + + Desktop 4K + resources/template_desktop_hd_landscape.svg + - + 3840px + 2160px + 3840px × 2160px + + + Desktop 720p + resources/template_desktop_hd_landscape.svg + - + 1366px + 768px + 1366px × 768px + + + Desktop SD + resources/template_desktop_landscape.svg + - + 1024px + 768px + 1024px × 768px + + + iPhone 5 + resources/template_mobile_portrait.svg + - + 640px + 1136px + 640px × 1136px + + + iPhone X + resources/template_mobile_portrait.svg + - + 1125px + 2436px + 1125px × 2436px + + + Mobile-smallest + resources/template_mobile_portrait.svg + - + 360px + 640px + 360px × 640px + + + iPad Pro + resources/template_tablet_landscape.svg + - + 2388px + 1668px + 2388px × 1668px + + + Tablet-smallest + resources/template_tablet_landscape.svg + - + 1024px + 768px + 1024px × 768px + + + + + + + + + + + + + + + + + + + + + Facebook cover photo + resources/template_social_landscape.svg + - + 820px + 462px + 820px × 462px + + + Facebook event image + resources/template_social_landscape.svg + - + 1920px + 1080px + 1920px × 1080px + + + Facebook image post + resources/template_social_landscape.svg + - + 1200px + 630px + 1200px × 630px + + + Facebook link image + resources/template_social_landscape.svg + - + 1200px + 630px + 1200px × 630px + + + Facebook profile picture + resources/template_social_square.svg + - + 180px + 180px + 180px × 180px + + + Facebook video + resources/template_social_landscape.svg + - + 1280px + 720px + 1280px × 720px + + + Instagram landscape + resources/template_social_landscape.svg + - + 1080px + 608px + 1080px × 608px + + + Instagram portrait + resources/template_social_portrait.svg + - + 1080px + 1350px + 1080px × 1350px + + + Instagram square + resources/template_social_square.svg + - + 1080px + 1080px + 1080px × 1080px + + + LinkedIn business banner image + resources/template_social_landscape.svg + - + 646px + 220px + 646px × 220px + + + LinkedIn company logo + resources/template_social_square.svg + - + 300px + 300px + 300px × 300px + + + LinkedIn cover photo + resources/template_social_landscape.svg + - + 1536px + 768px + 1536px × 768px + + + LinkedIn dynamic ad + resources/template_social_square.svg + - + 100px + 100px + 100px × 100px + + + LinkedIn hero image + resources/template_social_landscape.svg + - + 1128px + 376px + 1128px × 376px + + + LinkedIn sponsored content image + resources/template_social_landscape.svg + - + 1200px + 627px + 1200px × 627px + + + Snapchat advertisement + resources/template_social_portrait.svg + - + 1080px + 1920px + 1080px × 1920px + + + Twitter card image + resources/template_social_landscape.svg + - + 1200px + 628px + 1200px × 628px + + + Twitter header + resources/template_social_landscape.svg + - + 1500px + 500px + 1500px × 500px + + + Twitter post image + resources/template_social_landscape.svg + - + 1024px + 512px + 1024px × 512px + + + Twitter profile picture + resources/template_social_square.svg + - + 400px + 400px + 400px × 400px + + + Twitter video landscape + resources/template_social_landscape.svg + - + 1280px + 720px + 1280px × 720px + + + Twitter video portrait + resources/template_social_portrait.svg + - + 720px + 1280px + 720px × 1280px + + + Twitter video square + resources/template_social_square.svg + - + 720px + 720px + 720px × 720px + + + + + + + + + + + + + + + + + + + + + Video DCI 2k (Full Frame) + resources/template_video_landscape.svg + - + 2048px + 1080px + 2048px × 1080px + + + Video DCI 4k (Full Frame) + resources/template_video_landscape.svg + - + 4096px + 2160px + 4096px × 2160px + + + Video HD 1080p + resources/template_video_landscape.svg + - + 1920px + 1080px + 1920px × 1080px + + + Video HD 720p + resources/template_video_landscape.svg + - + 1280px + 720px + 1280px × 720px + + + Video SD / NTSC + resources/template_video_landscape.svg + - + 544px + 480px + 544px × 480px + + + Video SD / PAL + resources/template_video_landscape.svg + - + 768px + 576px + 768px × 576px + + + Video SD-Widescreen / NTSC + resources/template_video_landscape.svg + - + 872px + 486px + 872px × 486px + + + Video SD-Widescreen / PAL + resources/template_video_landscape.svg + - + 1024px + 576px + 1024px × 576px + + + Video UHD 4k + resources/template_video_landscape.svg + - + 3840px + 2160px + 3840px × 2160px + + + Video UHD 8k + resources/template_video_landscape.svg + - + 7680px + 4320px + 7680px × 4320px + + + + + + + + + + + + + test.svg + a + + + test2.svg + b + + + another_example_file.svg + c + + + drawing.eps + d + + + test3.svg + e + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + colorful + Colorful + Adwaita + multicolor + #000000 + #ebebeb + #00990a + #ff1990 + #0099e6 + True + False + False + + + grayscale + Grayscale + Adwaita + multicolor + #000000 + #e5e5e5 + #cccccc + #808080 + #808080 + True + False + False + + + symbolic + Classic Symbolic + Adwaita + Adwaita + 0 + 0 + 0 + 0 + 0 + True + False + False + + + compacted + Compacted (Small Screens) + Minwaita-Inkscape + hicolor + 0 + 0 + 0 + 0 + 0 + True + True + False + + + system + System Default + + + 0 + 0 + 0 + 0 + 0 + False + False + True + + + classic + Classic Inkscape + Adwaita + Adwaita + 0 + 0 + 0 + 0 + 0 + False + False + False + + + + + True + True + True + True + True + True + center + 700 + 360 + True + + + + + + startscreennotebook + True + True + False + + + True + False + vertical + + + False + error + + + False + 6 + end + + + + + + + + + + + + False + False + 0 + + + + + False + 16 + + + True + False + gtk-dialog-warning + 3 + + + False + True + 0 + + + + + True + False + <b>Warning:</b> Using a non-standard shortcut keyboard layout could make it harder to follow tutorials. + True + True + 0 + + + True + True + 1 + + + + + + + + False + False + 0 + + + + + + + + False + True + 0 + + + + + True + False + + + True + False + + + True + True + 0 + + + + + True + False + 40 + 30 + 8 + 4 + True + + + True + False + Appearance + 0 + + + + + + 0 + 2 + + + + + True + False + Canvas + 0 + + + + + + 0 + 0 + + + + + True + False + Keyboard + 0 + + + + + + 0 + 1 + + + + + True + False + themelist + 0 + + + + 11 + 1 + + + + + 1 + 2 + + + + + True + False + keyslist + 0 + 1 + + + + 0 + + + + + 1 + 1 + 2 + + + + + True + False + 4 + 4 + 3 + True + + + True + False + tool-pointer + 3 + + + False + True + 0 + + + + + True + False + tool-node-editor + 3 + + + False + True + 1 + + + + + True + False + center + + + False + True + 2 + + + + + True + False + draw-rectangle + 3 + + + False + True + 3 + + + + + True + False + draw-polygon-star + 3 + + + False + True + 4 + + + + + True + False + center + + + False + True + 5 + + + + + True + False + draw-path + 3 + + + False + True + 6 + + + + + True + False + draw-freehand + 3 + + + False + True + 7 + + + + + 1 + 3 + 2 + + + + + True + False + Select the default color background for the canvas + canvases + 0 + + + 10 + + + 2 + + + + + + 1 + + + + + 1 + 0 + 2 + + + + + True + False + vertical + + + True + False + end + 2 + Dark + + + True + True + 0 + + + + + True + True + Set to dark theme + center + start + 2 + + + True + True + 1 + + + + + 2 + 2 + + + + + + + + False + True + 1 + + + + + True + False + + + True + True + 2 + + + + + True + True + 1 + + + + + True + False + 8 + 8 + start + + + gtk-save + True + True + True + False + True + True + + + + True + True + 0 + True + + + + + Load Preferences + True + False + True + + + True + True + 1 + + + + + False + True + 4 + 2 + + + + + + + True + False + Quick Setup + + + True + False + + + + + True + False + vertical + + + True + False + 30 + 30 + 10 + 10 + <big><b>The Inkscape project is supported by users like you.</b> Through our collective time, money and skill, we have made this software for everyone in the world to enjoy free from restrictions and free from costs. <b> +If you would like to get involved and make the next version of Inkscape even better, please consider joining the Inkscape project today.</b></big> + True + True + 50 + 0 + + + False + False + 0 + + + + + True + False + 90 + 90 + vertical + + + True + False + 8 + top + + + True + True + True + none + https://inkscape.org/splash/contribute/ + + + True + False + vertical + + + True + False + 10 + 10 + 10 + 10 + ../pixmaps/user.png + + + False + True + 0 + + + + + True + False + 8 + 8 + 8 + 8 + Learn how to +Contribute Time + center + True + + + + + + + False + True + 2 + + + + + + + True + False + 0 + + + + + True + True + True + none + https://inkscape.org/splash/support/ + + + True + False + vertical + + + True + False + 10 + 10 + ../pixmaps/support.png + + + False + True + 0 + + + + + True + False + 8 + 8 + 8 + 8 + Learn how to +Fund Inkscape + center + True + + + + + + + False + True + 2 + + + + + + + True + False + end + 1 + + + + + False + True + 0 + + + + + True + False + 1 + + + + + True + False + 8 + 8 + start + + + Thanks! + True + True + True + False + True + + + + True + True + 0 + True + + + + + False + True + 4 + 2 + + + + + 1 + + + + + True + False + Supported by You + + + 1 + True + False + + + + + True + False + vertical + + + True + True + left + + + True + True + in + + + True + True + recent_files + 1 + 1 + + + + + + Recent Files + True + True + + + + 0 + + + + + + + + + + + True + False + Existing Files + + + False + + + + + True + True + in + + + True + True + 6 + pages_print + + + 6 + 6 + + + 1 + + + + + center + 0.5 + + + 0 + + + + + center + 0.5 + 0.9 + rgb(136,138,133) + + + 5 + + + + + + + 1 + + + + + True + False + Print + + + 1 + False + + + + + True + True + never + in + + + True + True + 6 + pages_screen + + + 6 + 6 + + + 1 + + + + + center + 0.5 + + + 0 + + + + + center + 0.5 + 0.9 + rgb(136,138,133) + + + 5 + + + + + + + 2 + + + + + True + False + Screen + + + 2 + False + + + + + True + True + in + + + True + True + 6 + pages_video + + + 6 + 6 + + + 1 + + + + + center + 0.5 + + + 0 + + + + + center + 0.5 + 0.9 + rgb(136,138,133) + + + 5 + + + + + + + 3 + + + + + True + False + Video + + + 3 + False + + + + + True + True + in + + + True + True + 6 + pages_social + + + 6 + 6 + + + 1 + + + + + center + 0.5 + + + 0 + + + + + center + 0.5 + 0.9 + rgb(136,138,133) + + + 5 + + + + + + + 4 + + + + + True + False + Social + + + 4 + False + + + + + True + True + in + + + True + True + 6 + pages_other + + + 6 + 6 + + + 1 + + + + + center + 0.5 + + + 0 + + + + + center + 0.5 + 0.9 + rgb(136,138,133) + + + 5 + + + + + + + 5 + + + + + True + False + Other + + + 5 + False + + + + + True + True + 0 + + + + + True + False + 8 + 8 + 4 + start + + + Load + True + False + True + True + False + True + + + True + True + 0 + True + + + + + Show this every time + True + True + False + False + True + True + + + True + True + 1 + + + + + New Document + True + True + False + True + + + True + True + 2 + True + + + + + False + True + 4 + end + 1 + + + + + 2 + + + + + True + False + Time to Draw + + + 2 + True + False + + + + + + diff --git a/share/ui/mac.css b/share/ui/mac.css new file mode 100644 index 0000000..694aa6f --- /dev/null +++ b/share/ui/mac.css @@ -0,0 +1,4 @@ +/* This fix a bad performance on Mac (maybe others) on some themes */ +button, +spinbutton, +combobox {box-shadow: none;} \ No newline at end of file diff --git a/share/ui/marker-popup.glade b/share/ui/marker-popup.glade new file mode 100644 index 0000000..eb163e6 --- /dev/null +++ b/share/ui/marker-popup.glade @@ -0,0 +1,530 @@ + + + + + + -360 + 360.00999999999999 + 1 + 15 + + + -10000 + 10000 + 1 + 10 + + + -10000 + 10000 + 1 + 10 + + + 0.001 + 10000 + 1 + 2 + + + 0.001 + 10000 + 1 + 2 + + + True + False + entries-linked-symbolic + 3 + + + True + False + entries-unlinked-symbolic + 3 + + + True + False + orient-auto-reverse + + + True + False + orient-auto + + + True + False + orient-angle + + + True + False + object-flip-horizontal-symbolic + + + radiobutton + True + True + False + True + True + + + False + none + + + 378 + 500 + True + False + vertical + + + True + True + True + never + + + True + False + natural + + + True + True + start + start + 8 + 8 + + + + + + + False + True + 0 + + + + + True + False + center + + + False + True + 1 + + + + + + True + False + 4 + 4 + 4 + + + True + False + start + Size X: + + + 1 + 0 + + + + + True + True + adjustment-scale + 3 + True + 0.0001 + + + 3 + 0 + + + + + True + False + start + Size Y: + + + 1 + 1 + + + + + True + True + adjustment-scale-2 + 3 + True + 0.0001 + + + 3 + 1 + + + + + Scale with stroke + True + True + False + end + True + + + 1 + 2 + 3 + + + + + True + False + start + 4 + Orientation: + + + 1 + 3 + 2 + + + + + True + False + 4 + + + True + True + True + Orient along the path, reversing at the start + image1 + True + False + radio-orient + + + + False + True + 0 + + + + + True + True + True + Orient along the path + image2 + True + False + radio-orient + + + + False + True + 1 + + + + + True + True + False + Fixed specified angle + image3 + True + False + radio-orient + + + + False + True + 2 + + + + + True + False + True + Flip marker horizontally + 8 + image4 + + + + False + True + 3 + + + + + 3 + 3 + + + + + True + False + start + 4 + Fixed angle: + + + 1 + 4 + 2 + + + + + True + True + adjustment-angle + 2 + + + 3 + 4 + + + + + True + False + start + 4 + Offset X: + + + 1 + 6 + 2 + + + + + True + False + start + 4 + Offset Y: + + + 1 + 7 + 2 + + + + + True + True + adjustment-offset + 3 + True + + + 3 + 6 + + + + + True + True + adjustment-offset-2 + 3 + True + + + 3 + 7 + + + + + Edit on canvas + True + False + False + True + center + + + 0 + 7 + + + + + True + False + 4 + True + vertical + + + True + False + 4 + True + + + True + True + end + 0 + + + + + True + False + 4 + 4 + 4 + 4 + ID + True + middle + + + False + True + 1 + + + + + 0 + 0 + 7 + + + + + LockGuides + True + False + False + True + end + 1 + 5 + 5 + none + + + 2 + 0 + 2 + + + + + True + False + 5 + + + 1 + 5 + + + + + + + + + + + False + True + 2 + + + + + + + True + True + False + True + popover + + + True + False + + + True + False + True + gtk-missing-image + + + False + True + 0 + + + + + True + False + pan-down-symbolic + + + False + True + end + 1 + + + + + + diff --git a/share/ui/menus.ui b/share/ui/menus.ui new file mode 100644 index 0000000..99b0d07 --- /dev/null +++ b/share/ui/menus.ui @@ -0,0 +1,1293 @@ + + + + + + + _File +
+ + _New + win.document-new + document-new + + + New from _Template... + win.document-dialog-templates + dialog-templates + + + _Open... + win.document-open + document-open + +
+ + Open _Recent + +
+ + Re_vert + win.document-revert + document-revert + + + _Save + win.document-save + document-save + + + Save _As... + win.document-save-as + document-save-as + + + Save a Cop_y... + win.document-save-copy + + + Save Template... + win.document-save-template + +
+
+ + _Import... + win.document-import + document-import + + + Import _Web Image... + app.org.inkscape.import-web-image + document-import-web + + + _Export... + win.dialog-open + Export + document-export + +
+
+ + _Print... + win.document-print + document-print + +
+
+ + Clean _Up Document + win.document-cleanup + document-cleanup + +
+
+ + _Document Properties... + win.dialog-open + DocumentProperties + document-properties + +
+
+ + _Close + win.document-close + window-close + + + _Quit + app.quit + application-exit + macos-menubar + +
+
+ + + _Edit +
+ + _Undo + app.undo + edit-undo + + + _Redo + app.redo + edit-redo + + + Undo _History... + win.dialog-open + UndoHistory + edit-undo-history + +
+
+ + Cu_t + app.cut + edit-cut + + + _Copy + app.copy + edit-copy + + + _Paste + win.paste + edit-paste + + + Paste _In Place + win.paste-in-place + edit-paste-in-place + + + Paste _Style + app.paste-style + edit-paste-style + +
+ + Paste Si_ze +
+ + Paste Si_ze + app.paste-size + edit-paste-size + + + Paste _Width + app.paste-width + edit-paste-width + + + Paste _Height + app.paste-height + edit-paste-height + + + Paste Size Separately + app.paste-size-separately + edit-paste-size-separately + + + Paste Width Separately + app.paste-width-separately + edit-paste-width-separately + + + Paste Height Separately + app.paste-height-separately + edit-paste-height-separately + +
+
+
+ + _Find/Replace... + win.dialog-open + Find + edit-find + +
+
+ + Duplic_ate + app.duplicate + edit-duplicate + + + Clo_ne +
+ + Create Clo_ne + app.clone + edit-clone + + + Create Tiled Clones... + win.dialog-open + CloneTiler + dialog-tile-clones + + + Unlin_k Clone + app.clone-unlink + edit-clone-unlink + + + Unlink Clones _recursively + app.clone-unlink-recursively + edit-clone-unlink + + + Relink to Copied + app.clone-link + edit-clone-link + + + Select _Original + app.select-original + edit-select-original + + + Clone original path (LPE) + app.clone-link-lpe + edit-clone-link-lpe + +
+
+ + Make a _Bitmap Copy + app.selection-make-bitmap-copy + selection-make-bitmap-copy + +
+
+ + _Delete + app.delete + edit-delete + +
+
+ + Select Al_l + win.select-all + edit-select-all + + + Select All in All La_yers + win.select-all-layers + edit-select-all-layers + + + Select Sa_me +
+ + Fill _and Stroke + win.select-same-fill-and-stroke + edit-select-same-fill-and-stroke + + + _Fill Color + win.select-same-fill + edit-select-same-fill + + + _Stroke Color + win.select-same-stroke-color + edit-select-same-stroke-color + + + Stroke St_yle + win.select-same-stroke-style + edit-select-same-stroke-style + + + _Object Type + win.select-same-object-type + edit-select-same-object-type + +
+
+ + In_vert Selection + win.select-invert + edit-select-invert + + + D_eselect + win.select-none + edit-select-none + +
+
+ + _Resize Page to Selection + app.page-fit-to-selection + +
+
+ + Create _Guides Around the Page + doc.create-guides-around-page + + + Lock All Guides + doc.lock-all-guides + + + Delete All Guides + doc.delete-all-guides + +
+
+ + _XML Editor... + win.dialog-open + XMLEditor + dialog-xml-editor + +
+
+ + _Input Devices... + win.dialog-open + Input + dialog-input-devices + + + P_references + win.dialog-open + Preferences + preferences-system + true + macos-menubar + +
+
+ + + _View + + _Zoom +
+ + Zoom in + win.canvas-zoom-in + zoom-in + + + Zoom out + win.canvas-zoom-out + zoom-out + +
+
+ + Zoom to 1:1 + win.canvas-zoom-1-1 + zoom-original + + + Zoom to 1:2 + win.canvas-zoom-1-2 + zoom-half-size + + + Zoom to 2:1 + win.canvas-zoom-2-1 + zoom-double-size + +
+
+ + Zoom Selection + win.canvas-zoom-selection + zoom-fit-selection + + + Zoom Drawing + win.canvas-zoom-drawing + zoom-fit-drawing + + + Zoom Page + win.canvas-zoom-page + zoom-fit-page + + + Zoom Page Width + win.canvas-zoom-page-width + zoom-fit-width + + + Center Page + win.canvas-zoom-center-page + zoom-center-page + +
+
+ + Zoom Previous + win.canvas-zoom-prev + zoom-previous + + + Zoom Next + win.canvas-zoom-next + zoom-next + +
+
+ + _Orientation +
+ + Rotate Clockwise + win.canvas-rotate-cw + + + Rotate Counter-Clockwise + win.canvas-rotate-ccw + + + Reset Rotation + win.canvas-rotate-reset + + + Lock Rotation + win.canvas-rotate-lock + +
+
+ + Flip Horizontally + win.canvas-flip-horizontal + + + Flip Vertically + win.canvas-flip-vertical + + + Reset Flipping + win.canvas-flip-reset + +
+
+ + _Display Mode +
+ + Normal + win.canvas-display-mode + 0 + + + Outline + win.canvas-display-mode + 1 + + + No Filters + win.canvas-display-mode + 2 + + + Visible Hairlines + win.canvas-display-mode + 3 + + + Outline Overlay + win.canvas-display-mode + 4 + + + Cycle + win.canvas-display-mode-cycle + + + Toggle + win.canvas-display-mode-toggle + +
+
+ + _Split Mode +
+ + None + win.canvas-split-mode + 0 + + + Split + win.canvas-split-mode + 1 + + + X-Ray + win.canvas-split-mode + 2 + +
+
+
+ + Gray Scale + win.canvas-color-mode + + + Color Management + win.canvas-color-manage + +
+ + Page _Grid + win.canvas-show-grid + + + G_uides + doc.show-all-guides + +
+ + Sh_ow/Hide +
+ + _Commands Bar + win.canvas-commands-bar + + + Sn_ap Controls Bar + win.canvas-snap-controls-bar + + + T_ool Controls Bar + win.canvas-tool-control-bar + + + _Toolbox + win.canvas-toolbox + + + _Rulers + win.canvas-rulers + + + Scroll_bars + win.canvas-scroll-bars + + + _Palette + win.canvas-palette + + + _Statusbar + win.canvas-statusbar + +
+
+ + Show/Hide D_ialogs + win.dialog-toggle + show-dialogs + + + _Command Palette + win.canvas-command-palette + +
+
+ + S_watches... + win.dialog-open + Swatches + swatches + + + _Messages... + win.dialog-open + Messages + dialog-messages + +
+
+ + P_revious Window + win.window-previous + window-previous + + + N_ext Window + win.window-next + window-next + +
+
+ + Icon Preview + win.dialog-open + IconPreview + dialog-icon-preview + + + Duplic_ate Window + win.window-new + window-new + +
+
+ + _Fullscreen + win.view-fullscreen + view-fullscreen + +
+
+ + Wide Screen + win.canvas-interface-mode + +
+
+ + + _Layer +
+ + Layers and Objects... + win.dialog-open + Objects + dialog-objects + +
+
+ + _Add Layer... + win.layer-new + layer-new + + + Re_name Layer... + win.layer-rename + layer-rename + +
+
+ + _Show/Hide Current Layer + win.layer-hide-toggle + + + _Lock/Unlock Current Layer + win.layer-lock-toggle + +
+
+ + Switch to Layer Abov_e + win.layer-previous + layer-previous + true + + + Switch to Layer Belo_w + win.layer-next + layer-next + true + +
+
+ + Move Selection to Layer Abo_ve + win.selection-move-to-layer-above + selection-move-to-layer-above + true + + + Move Selection to Layer Bel_ow + win.selection-move-to-layer-below + selection-move-to-layer-below + true + + + Move Selection to Layer... + win.selection-move-to-layer + selection-move-to-layer + true + +
+
+ + Layer to _Top + win.layer-top + layer-top + true + + + _Raise Layer + win.layer-raise + layer-raise + true + + + _Lower Layer + win.layer-lower + layer-lower + true + + + Layer to _Bottom + win.layer-bottom + layer-bottom + true + +
+
+ + D_uplicate Current Layer + win.layer-duplicate + layer-duplicate + + + _Delete Current Layer + win.layer-delete + layer-delete + +
+
+ + + _Object +
+ + Layers and Objects... + win.dialog-open + Objects + dialog-objects + + + _Fill and Stroke... + win.dialog-open + FillStroke + dialog-fill-and-stroke + + + _Object Properties... + win.dialog-open + ObjectProperties + dialog-object-properties + + + S_ymbols... + win.dialog-open + Symbols + symbols + + + _Paint Servers... + win.dialog-open + PaintServers + symbols + + + _Selectors and CSS... + win.dialog-open + Selectors + dialog-selectors + +
+
+ + _Group + app.selection-group + object-group + + + _Ungroup + app.selection-ungroup + object-ungroup + + + _Pop Selected Objects out of Group + app.selection-ungroup-pop + object-ungroup-pop-selection + +
+
+ + Cli_p +
+ + _Set Clip + app.object-set-clip + + + _Set Inverse Clip (LPE) + app.object-set-inverse-clip + + + _Release Clip + app.object-release-clip + +
+
+
+ + Mas_k +
+ + _Set Mask + app.object-set-mask + + + _Set Inverse Mask (LPE) + app.object-set-inverse-mask + + + _Release Mask + app.object-release-mask + +
+
+ + Patter_n +
+ + Objects to Patter_n + app.object-to-pattern + + + Pattern to _Objects + app.pattern-to-object + +
+
+
+ + Objects to _Marker + app.object-to-marker + + + Objects to Gu_ides + app.object-to-guides + +
+
+ + Raise to _Top + app.selection-top + selection-top + true + + + _Raise + app.selection-raise + selection-raise + true + + + _Lower + app.selection-lower + selection-lower + true + + + Lower to _Bottom + app.selection-bottom + selection-bottom + true + +
+
+ + Rotate 90° CW + app.object-rotate-90-cw + object-rotate-right + true + + + Rotate 90° CCW + app.object-rotate-90-ccw + object-rotate-left + true + + + Flip _Horizontal + app.object-flip-horizontal + object-flip-horizontal + true + + + Flip _Vertical + app.object-flip-vertical + object-flip-vertical + true + +
+
+ + Unhide All + app.unhide-all + + + Unlock All + app.unlock-all + +
+
+ + Transfor_m... + win.dialog-open + Transform + dialog-transform + + + _Align and Distribute... + win.dialog-open + AlignDistribute + dialog-align-and-distribute + +
+
+ + + _Path +
+ + _Object to Path + app.object-to-path + object-to-path + + + _Stroke to Path + app.object-stroke-to-path + stroke-to-path + + + _Trace Bitmap... + win.dialog-open + Trace + bitmap-trace + +
+
+ + _Union + app.path-union + path-union + true + + + _Difference + app.path-difference + path-difference + true + + + _Intersection + app.path-intersection + path-intersection + true + + + E_xclusion + app.path-exclusion + path-exclusion + true + + + Di_vision + app.path-division + path-division + true + + + Cut _Path + app.path-cut + path-cut + true + +
+
+ + _Combine + app.path-combine + path-combine + true + + + Break _Apart + app.path-break-apart + path-break-apart + true + + + Split Pat_h + app.path-split + path-split + true + +
+
+ + I_nset + win.path-inset + path-inset + true + + + Outs_et + win.path-offset + path-outset + true + + + D_ynamic Offset + win.path-offset-dynamic + path-offset-dynamic + true + + + _Linked Offset + win.path-offset-linked + path-offset-linked + true + +
+
+ + Fill between paths + app.path-fill-between-paths + +
+
+ + Si_mplify + app.path-simplify + path-simplify + + + _Reverse + win.path-reverse + path-reverse + +
+
+ + Path E_ffects... + win.dialog-open + LivePathEffect + dialog-path-effects + + + Paste Path _Effect + app.paste-path-effect + + + Remove Path _Effect + app.remove-path-effect + +
+
+ + + _Text +
+ + _Text and Font... + win.dialog-open + Text + dialog-text-and-font + + + SVG Font Editor... + win.dialog-open + SVGFonts + + + _Unicode Characters... + win.dialog-open + Glyphs + accessories-character-map + +
+
+ + _Put on Path + app.text-put-on-path + text-put-on-path + + + _Remove from Path + app.text-remove-from-path + text-remove-from-path + +
+
+ + _Flow into Frame + app.text-flow-into-frame + text-flow-into-frame + + + Set _Subtraction Frames + app.text-flow-subtract-frame + text-flow-subtract-frame + + + _Unflow + app.text-unflow + text-unflow + + + _Convert to Text + app.text-convert-to-regular + text-convert-to-regular + +
+
+ + Remove Manual _Kerns + app.text-unkern + text-unkern + +
+
+ + Check Spellin_g... + win.dialog-open + Spellcheck + tools-check-spelling + +
+
+ + + Filter_s +
+
+ + Filter _Editor... + win.dialog-open + FilterEffects + dialog-filters + + + _Remove Filters + app.edit-remove-filter + +
+ + + + Exte_nsions +
+ + Previous Exte_nsion + app.last-effect + + + _Previous Extension Settings... + app.last-effect-pref + +
+
+
+ + Manage Extensions... + app.org.inkscape.extension.manager + +
+ + + + _Help +
+ + Inkscape Manual + win.help-url-manual + + + Keys and Mouse Reference + win.help-url-keys + + + Ask Us a Question + win.help-url-ask-question + + + Tutorials + + Inkscape: _Basic + app.tutorial-basic + + + Inkscape: _Shapes + app.tutorial-shapes + + + Inkscape: _Advanced + app.tutorial-advanced + + + Inkscape: T_racing + app.tutorial-tracing + + + Inkscape: Tracing Pixel Art + app.tutorial-tracing-pixelart + + + Inkscape: _Calligraphy + app.tutorial-calligraphy + + + Inkscape: _Interpolate + app.tutorial-interpolate + + + _Elements of Design + app.tutorial-design + + + _Tips and Tricks + app.tutorial-tips + + + + Command Line Options + win.help-url-man + + + FAQ + win.help-url-faq + + + New in This Version + win.help-url-release-notes + + + Report a Bug + win.help-url-report-bug + + + Donate + win.help-url-donate + + + SVG 1.1 Specification + win.help-url-svg11-spec + + + SVG 2 Specification + win.help-url-svg2-spec + +
+
+ + About _Memory + win.dialog-open + Memory + dialog-memory + + + _About Inkscape + app.about + inkscape-logo + true + macos-menubar + +
+
+
+ +
diff --git a/share/ui/page-properties.glade b/share/ui/page-properties.glade new file mode 100644 index 0000000..22415f2 --- /dev/null +++ b/share/ui/page-properties.glade @@ -0,0 +1,989 @@ + + + + + + 0.001 + 10000000 + 1 + 10 + + + 0.001 + 10000000 + 1 + 10 + + + 9.9999999999999995e-07 + 1000000 + 1 + 0.10 + 1 + + + 0.001 + 10000000 + 1 + 10 + + + 0.001 + 10000000 + 1 + 10 + + + -10000000 + 10000000 + 1 + 10 + + + -10000000 + 10000000 + 1 + 10 + + + True + False + pages-resize-symbolic + + + True + False + 20 + page-portrait-symbolic + + + True + False + 20 + page-landscape-symbolic + + + True + False + False + + + + True + False + True + start + start + + + + True + False + start + start + 4 + + + True + False + start + Front page + + + + 0 + 0 + 3 + + + + + True + False + start + center + Width: + + + 0 + 2 + + + + + True + False + start + center + Height: + + + 0 + 3 + + + + + True + True + Width of front page + 9 + adj-page-width + 3 + + + 1 + 2 + 2 + + + + + True + True + Height of front page + 9 + adj-page-height + 3 + + + 1 + 3 + 2 + + + + + True + False + start + center + Resize to content: + + + 0 + 6 + 2 + + + + + True + False + 3 + 3 + True + + + True + False + start + center + Orientation: + + + False + True + 0 + + + + + + + + True + True + False + 5 + image2 + True + True + page-portrait + + + False + True + end + 2 + + + + + True + True + False + 5 + image1 + True + True + + + False + True + end + 3 + + + + + 0 + 5 + 3 + + + + + 50 + True + False + True + Fit the page to the current selection or the drawing if there's no selection. + end + image-resize + + + 2 + 6 + + + + + LockGuides + True + False + False + True + start + 2 + 5 + 5 + none + + + + 3 + 2 + 2 + + + + + True + False + start + center + Scale: + + + 0 + 7 + + + + + True + True + Document scale establishes size of user units. +SVG element positions are expressed in user units. + 9 + adj-scale-x + 6 + + + 1 + 7 + 2 + + + + + True + False + start + center + X: + + + + 0 + 11 + + + + + True + False + start + center + Y: + + + + 0 + 12 + + + + + True + False + start + center + Width: + + + + 0 + 13 + + + + + True + False + start + center + Height: + + + + 0 + 14 + + + + + True + True + 9 + adj-viewbox-x + 3 + + + + 1 + 11 + 2 + + + + + True + True + 9 + adj-viewbox-y + 3 + + + + 1 + 12 + 2 + + + + + True + True + 9 + adj-viewbox-width + 3 + + + + 1 + 13 + 2 + + + + + True + True + 9 + adj-viewbox-height + 3 + + + + 1 + 14 + 2 + + + + + True + False + start + center + 2 + Format: + + + 0 + 1 + + + + + 80 + True + True + False + True + Predefined paper sizes to choose from + 2 + True + True + page-templates-menu + False + + + True + False + start + A4 + end + True + 8 + + + + + 1 + 1 + + + + + True + False + Document's units used to specify document size only + + + 2 + 1 + + + + + True + True + 6 + 4 + + + + + + True + False + Advanced viewbox scaling options + Viewbox + + + + + 0 + 10 + 4 + + + + + True + False + center + center + 2 + gtk-missing-image + + + + 3 + 13 + 2 + + + + + True + False + + + non-uniform-scale + True + False + start + Non-uniform scale! + + + + + + False + True + 0 + + + + + 1 + 9 + 3 + + + + + True + False + + + True + False + xx + + + + False + True + 0 + + + + + True + False + 4 + per user unit + + + + False + True + 1 + + + + + 1 + 8 + 3 + + + + + True + False + start + Unsupported percentage size! + + + + + + 1 + 4 + 3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + 0 + + + + + + True + False + start + start + 4 + + + True + False + start + Display + + + + 0 + 0 + 4 + + + + + True + False + start + center + Display units: + + + 0 + 1 + 3 + + + + + True + False + Units used throughout the user interface + end + + + 3 + 1 + + + + + 132 + True + False + + + + + + 0 + 2 + 4 + + + + + + True + False + center + 6 + 2 + 4 + True + + + True + True + True + Page background color used during editing and exporting + center + + + 0 + 0 + + + + + True + True + True + Page border and drop shadow color + center + + + 1 + 0 + + + + + True + True + True + Desk background color surrounding pages + center + + + 2 + 0 + + + + + True + False + center + Border + + + 1 + 1 + + + + + True + False + center + Page + + + 0 + 1 + + + + + True + False + center + Desk + + + 2 + 1 + + + + + 0 + 3 + 4 + + + + + True + False + vertical + + + Checkerboard + True + True + False + If set, use a colored checkerboard for the desk background. + start + center + True + + + False + True + 0 + + + + + Border + True + True + False + If set, a rectangular page border is shown. + start + center + True + + + False + True + 1 + + + + + Always on top + True + True + False + If set, the page border is always on top of the drawing. + start + center + True + + + + False + True + 2 + + + + + Show shadow + True + True + False + If set, the page border shows a shadow on its right and lower side. + start + center + True + + + + False + True + 3 + + + + + True + False + start + Render + + + + False + True + 4 + + + + + Use antialiasing + True + True + False + If unset, no antialiasing will be done on the drawing. + start + center + True + + + False + True + 5 + + + + + + + + 0 + 4 + 4 + + + + + + + + + + + + + + + + + + + + 2 + 0 + + + + + True + False + + + + 1 + 0 + + + + + + + + + + + + + diff --git a/share/ui/resources/canvas_ad.png b/share/ui/resources/canvas_ad.png new file mode 100644 index 0000000..733104d Binary files /dev/null and b/share/ui/resources/canvas_ad.png differ diff --git a/share/ui/resources/canvas_aw.png b/share/ui/resources/canvas_aw.png new file mode 100644 index 0000000..6f4a4e5 Binary files /dev/null and b/share/ui/resources/canvas_aw.png differ diff --git a/share/ui/resources/canvas_cd.png b/share/ui/resources/canvas_cd.png new file mode 100644 index 0000000..1005785 Binary files /dev/null and b/share/ui/resources/canvas_cd.png differ diff --git a/share/ui/resources/canvas_cw.png b/share/ui/resources/canvas_cw.png new file mode 100644 index 0000000..96f1584 Binary files /dev/null and b/share/ui/resources/canvas_cw.png differ diff --git a/share/ui/resources/canvas_sw.png b/share/ui/resources/canvas_sw.png new file mode 100644 index 0000000..ef0cfb6 Binary files /dev/null and b/share/ui/resources/canvas_sw.png differ diff --git a/share/ui/resources/template_about.svg b/share/ui/resources/template_about.svg new file mode 100644 index 0000000..62daafe --- /dev/null +++ b/share/ui/resources/template_about.svg @@ -0,0 +1,126 @@ + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + diff --git a/share/ui/resources/template_businesscard_landscape.svg b/share/ui/resources/template_businesscard_landscape.svg new file mode 100644 index 0000000..4181147 --- /dev/null +++ b/share/ui/resources/template_businesscard_landscape.svg @@ -0,0 +1,80 @@ + + + + + + + + image/svg+xml + + + + + + + + + + + + + + diff --git a/share/ui/resources/template_businesscard_portrait.svg b/share/ui/resources/template_businesscard_portrait.svg new file mode 100644 index 0000000..7c18b66 --- /dev/null +++ b/share/ui/resources/template_businesscard_portrait.svg @@ -0,0 +1,80 @@ + + + + + + + + image/svg+xml + + + + + + + + + + + + + + diff --git a/share/ui/resources/template_businesscard_square.svg b/share/ui/resources/template_businesscard_square.svg new file mode 100644 index 0000000..8ea5fb3 --- /dev/null +++ b/share/ui/resources/template_businesscard_square.svg @@ -0,0 +1,80 @@ + + + + + + + + image/svg+xml + + + + + + + + + + + + + + diff --git a/share/ui/resources/template_desktop_hd_landscape.svg b/share/ui/resources/template_desktop_hd_landscape.svg new file mode 100644 index 0000000..a784bee --- /dev/null +++ b/share/ui/resources/template_desktop_hd_landscape.svg @@ -0,0 +1,129 @@ + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/share/ui/resources/template_desktop_landscape.svg b/share/ui/resources/template_desktop_landscape.svg new file mode 100644 index 0000000..397a41d --- /dev/null +++ b/share/ui/resources/template_desktop_landscape.svg @@ -0,0 +1,94 @@ + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + diff --git a/share/ui/resources/template_envelope_landscape.svg b/share/ui/resources/template_envelope_landscape.svg new file mode 100644 index 0000000..f94d873 --- /dev/null +++ b/share/ui/resources/template_envelope_landscape.svg @@ -0,0 +1,81 @@ + + + + + + + + image/svg+xml + + + + + + + + + + + + + + diff --git a/share/ui/resources/template_envelope_portrait.svg b/share/ui/resources/template_envelope_portrait.svg new file mode 100644 index 0000000..867e38e --- /dev/null +++ b/share/ui/resources/template_envelope_portrait.svg @@ -0,0 +1,83 @@ + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + diff --git a/share/ui/resources/template_icon_square.svg b/share/ui/resources/template_icon_square.svg new file mode 100644 index 0000000..e406433 --- /dev/null +++ b/share/ui/resources/template_icon_square.svg @@ -0,0 +1,87 @@ + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + diff --git a/share/ui/resources/template_image_landscape.svg b/share/ui/resources/template_image_landscape.svg new file mode 100644 index 0000000..e832e17 --- /dev/null +++ b/share/ui/resources/template_image_landscape.svg @@ -0,0 +1,89 @@ + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + diff --git a/share/ui/resources/template_image_portrait.svg b/share/ui/resources/template_image_portrait.svg new file mode 100644 index 0000000..6166fee --- /dev/null +++ b/share/ui/resources/template_image_portrait.svg @@ -0,0 +1,84 @@ + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + diff --git a/share/ui/resources/template_image_square.svg b/share/ui/resources/template_image_square.svg new file mode 100644 index 0000000..3fab82e --- /dev/null +++ b/share/ui/resources/template_image_square.svg @@ -0,0 +1,86 @@ + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + diff --git a/share/ui/resources/template_mobile_portrait.svg b/share/ui/resources/template_mobile_portrait.svg new file mode 100644 index 0000000..84d2e29 --- /dev/null +++ b/share/ui/resources/template_mobile_portrait.svg @@ -0,0 +1,82 @@ + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + diff --git a/share/ui/resources/template_photo_landscape.svg b/share/ui/resources/template_photo_landscape.svg new file mode 100644 index 0000000..9b40acc --- /dev/null +++ b/share/ui/resources/template_photo_landscape.svg @@ -0,0 +1,91 @@ + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + diff --git a/share/ui/resources/template_photo_portrait.svg b/share/ui/resources/template_photo_portrait.svg new file mode 100644 index 0000000..c188381 --- /dev/null +++ b/share/ui/resources/template_photo_portrait.svg @@ -0,0 +1,96 @@ + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + diff --git a/share/ui/resources/template_photo_square.svg b/share/ui/resources/template_photo_square.svg new file mode 100644 index 0000000..64c8ceb --- /dev/null +++ b/share/ui/resources/template_photo_square.svg @@ -0,0 +1,96 @@ + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + diff --git a/share/ui/resources/template_print_US_landscape.svg b/share/ui/resources/template_print_US_landscape.svg new file mode 100644 index 0000000..2382646 --- /dev/null +++ b/share/ui/resources/template_print_US_landscape.svg @@ -0,0 +1,88 @@ + + + + + + + + image/svg+xml + + + + + + + + + + + + + + diff --git a/share/ui/resources/template_print_US_portrait.svg b/share/ui/resources/template_print_US_portrait.svg new file mode 100644 index 0000000..b83c578 --- /dev/null +++ b/share/ui/resources/template_print_US_portrait.svg @@ -0,0 +1,96 @@ + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + diff --git a/share/ui/resources/template_print_landscape.svg b/share/ui/resources/template_print_landscape.svg new file mode 100644 index 0000000..25dfc83 --- /dev/null +++ b/share/ui/resources/template_print_landscape.svg @@ -0,0 +1,95 @@ + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + diff --git a/share/ui/resources/template_print_portrait.svg b/share/ui/resources/template_print_portrait.svg new file mode 100644 index 0000000..dd8d159 --- /dev/null +++ b/share/ui/resources/template_print_portrait.svg @@ -0,0 +1,94 @@ + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + diff --git a/share/ui/resources/template_social_landscape.svg b/share/ui/resources/template_social_landscape.svg new file mode 100644 index 0000000..8e21751 --- /dev/null +++ b/share/ui/resources/template_social_landscape.svg @@ -0,0 +1,94 @@ + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + diff --git a/share/ui/resources/template_social_portrait.svg b/share/ui/resources/template_social_portrait.svg new file mode 100644 index 0000000..a7c84c6 --- /dev/null +++ b/share/ui/resources/template_social_portrait.svg @@ -0,0 +1,94 @@ + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + diff --git a/share/ui/resources/template_social_square.svg b/share/ui/resources/template_social_square.svg new file mode 100644 index 0000000..4616d8a --- /dev/null +++ b/share/ui/resources/template_social_square.svg @@ -0,0 +1,91 @@ + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + diff --git a/share/ui/resources/template_tablet_landscape.svg b/share/ui/resources/template_tablet_landscape.svg new file mode 100644 index 0000000..48a7366 --- /dev/null +++ b/share/ui/resources/template_tablet_landscape.svg @@ -0,0 +1,87 @@ + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + diff --git a/share/ui/resources/template_video_landscape.svg b/share/ui/resources/template_video_landscape.svg new file mode 100644 index 0000000..1c5d033 --- /dev/null +++ b/share/ui/resources/template_video_landscape.svg @@ -0,0 +1,91 @@ + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + diff --git a/share/ui/resources/template_video_portrait.svg b/share/ui/resources/template_video_portrait.svg new file mode 100644 index 0000000..010e477 --- /dev/null +++ b/share/ui/resources/template_video_portrait.svg @@ -0,0 +1,91 @@ + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + diff --git a/share/ui/resources/template_video_square.svg b/share/ui/resources/template_video_square.svg new file mode 100644 index 0000000..53d34c6 --- /dev/null +++ b/share/ui/resources/template_video_square.svg @@ -0,0 +1,90 @@ + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + diff --git a/share/ui/spinbutton.css b/share/ui/spinbutton.css new file mode 100644 index 0000000..c87aa5e --- /dev/null +++ b/share/ui/spinbutton.css @@ -0,0 +1,11 @@ +/* those styles make spin buttons narrow; if enabled in preferences they are applied to all themes */ + +spinbutton > button { + padding-left: 0; + padding-right: 0; +} + +spinbutton > entry { + padding-left: 0.5em; + padding-right: 0; +} \ No newline at end of file diff --git a/share/ui/style.css b/share/ui/style.css new file mode 100644 index 0000000..fc6e1db --- /dev/null +++ b/share/ui/style.css @@ -0,0 +1,737 @@ +/* GTK3 WIDGET STYLING */ + + +/* + * Keep in order of: + * General -> Specific + * Order of appearance in widget tree. + * See GtkInspector + * GTK_DEBUG=interactive ~/path_to_gtk3/bin/inkscape + * + * We need a standardized naming scheme. + * + * As of Gtk 3.20, you cannot use widget names. + */ + + +/* Standard theme based colors. Prefer these. + * + * @theme_bg_color + * @theme_fg_color + * @theme_base_color + * @theme_text_color + * @theme_selected_bg_color + * @theme_selected_fg_color + * @theme_tooltip_bg_color + * @theme_tooltip_fg_color + * + */ + + +/* Our own custom shades... better not to use. + * Lightest to darkest based on linear rgb. + */ + +@define-color bg_color0 #ffffff; + +/* White */ + +@define-color bg_color05 #f8f8f8; + +/* Slightly off white */ + +@define-color bg_color1 #f0f0f0; +@define-color bg_color2 #e0e0e0; +@define-color bg_color3 #d0d0d0; +@define-color bg_color4 #bbbbbb; + +/* 50% Gray */ + +@define-color bg_color5 #a5a5a5; +@define-color bg_color6 #898989; +@define-color bg_color7 #636363; +@define-color bg_color8 #000000; + +/* Black */ + +@import url("highlight-colors.css"); + +/* Inkscape CSS helper + * to add a class to a widget do some thing like + * widget->get_style_context()->add_class("mycoolclass"); + * we define a bunch of helper CSS styles + * Each Inkscape desktop has some classes in top level window + * called "dark|bright" (syncked with dark or brighrt themes) and "symbolic|regular" (defined by the user in themes preferences) + * so you can style using this clases + * by this way you can always know if the UI is in dark mode or using symbolic icons + * Also added some helper clases: + * ".inverted" invert colors fon widhet and childs + * ".highlight-dark" highlights with red tint + * ".highlight-light" highlights with yellow tint + * ".symbolic" Force icon symbolic + * ".regular" Force colorful icons + * " .forcebright Force darlk even if the towp wingow has clas dark (happends when theme is dark) + * " .forcedark" Force darlk even if the towp wingow has clas bright + * :::::::: Combo box. + * "..combobright" Combo bright + */ + +*{ + font-feature-settings: "tnum=1"; +} + +*:disabled image { + opacity: 0.4; +} + +.symbolic image { + -gtk-icon-style: symbolic; +} + +.regular image { + -gtk-icon-style: regular; +} + +.regular .symbolic image { + -gtk-icon-style: symbolic; +} + +.titlebutton > image { + -gtk-icon-style: requested; +} + +.inverted, +.dark .forcebright, +.bright .forcedark { + color: @theme_bg_color; + background-color: @theme_fg_color; + background-image: image(@theme_fg_color); + caret-color: @theme_bg_color; + -gtk-secondary-caret-color: @theme_fg_color; +} + +.highlight { + color: @theme_fg_color; + background-color: alpha(@theme_selected_bg_color,0.5); + background-image: image(alpha(@theme_selected_bg_color,0.5)); + caret-color: @theme_bg_color; + border-radius:4px; + -gtk-secondary-caret-color: @theme_fg_color; +} + +.noborder{ + border-width:0; +} + +/* blinking animation for dialogs */ +@keyframes blink_border { + from { border-color: @theme_selected_fg_color; } + to { border-color: @theme_selected_bg_color; } +} +@keyframes blink_background { + from { background-color: @theme_bg_color; } + to { background-color: @theme_selected_bg_color; } +} +notebook.blink { + animation: blink_border 333ms ease-in-out infinite; +} +notebook.blink > header > tabs > tab:checked { + animation: blink_background 333ms ease-in-out infinite; +} + + +.inverted :not(menuitem):not(.rawstyle):not(overshoot):not(undershoot):not(selection), +.bright .forcedark :not(menuitem):not(.rawstyle):not(overshoot):not(undershoot):not(selection), +.dark .forcebright :not(menuitem):not(.rawstyle):not(overshoot):not(undershoot):not(selection) { + color: inherit; + background-color: inherit; + background-image: inherit; +} + +.dark .combobright .combo, +.dark .combobright menu{ + background-color: @theme_text_color; + background-image: linear-gradient(to top, @theme_text_color, @theme_fd_color); + caret-color: @theme_base_color; + -gtk-secondary-caret-color: @theme_base_color; +} +.dark .combobright box *{ + color: @theme_base_color; +} +.dark .combobright .combo *, +.dark .combobright menu *{ + color: inherit; +} + +/* attribute dialog popup size */ +.attrpop textview { + font-size: 13px; +} + +/* +*to get system default colors +* with Gdk::RGBA success =_symbolic_error_color.get_stseparatole_context()->get_color(); +* _symbolic_error_color has one of this classes applied +*/ + +.system_base_color { + color: @theme_fg_color; + background-color: @theme_bg_color; +} + +.system_error_color { + color: @error_color; +} + +.system_warning_color { + color: @warning_color; +} + +.system_success_color { + color: @success_color; +} + +iconview *:hover { + border-width: 1px; + border-color: @theme_fg_color; + border-style: solid; + border-radius: 4px; +} + +.dark iconview *:hover { + border-color: @theme_bg_color; +} + +#startscreennotebook iconview *:hover{ + background-color:@theme_selected_bg_color; + border-radius:5px; + border-width:0; +} + +#start-screen-window .combo { + padding:15px 20px; +} +#start-screen-window notebook > *:nth-child(2) label{ + font-size:12px; +} + +.inksmall { + font-size: 11px; +} + +.menu-category { + font-size: small; + font-weight: bold; +} + +.small-heading { + font-size: small; + font-weight: bold; + opacity: 0.5; +} + +.halfrem-vert-space { + margin-top: 0.5rem; +} + +#CommandPaletteBase { + background-color: @theme_base_color; /* some themes don't seem to have a background color for list rows defined and would end up transparent otherwise */ + border: 5px solid @theme_bg_color; + border-radius: 5px; +} + +#CommandPaletteBase list row:not(:last-child) { + border-bottom: 1px solid @bg_color5; +} + +/* LPE Dialog add */ +#LPESelectorFlowBox GtkFlowBoxChild, +#LPESelectorFlowBox flowboxchild { + border-width: 0px; + border-radius: 6px; + margin: 10px; + padding: 10px; + margin-bottom: 0px; + padding-bottom: 10px; + outline: none; +} + +#LPESelectorFlowBox flowboxchild * { + color: @theme_fg_color; +} + +#LPESelectorFlowBox flowboxchild image, +#LPESelectorFlowBox flowboxchild label { + background-color: transparent; + background-image: image(transparent); +} + +#LPESelectorFlowBox flowboxchild:selected image, +#LPESelectorFlowBox flowboxchild:selected label { + color: @theme_selected_fg_color; +} + +#LPESelectorFlowBox *:selected #LPESelectorEffectFavTop, +#LPESelectorFlowBox *:selected:focus #LPESelectorEffectFavTop { + opacity: 0; +} + +#LPESelectorFlowBox .lpename { + font-size: 16px; + margin-bottom: 5px; +} + +#LPESelectorFlowBox .lpeinfo { + font-size: 16px; + padding: 20px; +} + +#LPESelectorFlowBox .lpedisabled { + opacity: 0.3; +} + +#LPESelectorEffectInfoPop { + padding: 15px; +} + +#LPESelectorEffectInfoName { + font-weight: bold; + padding: 15px; +} + +#LPEDialogSelector .lpeinfo { + padding: 8px; + background-color: @theme_bg_color; + color: @theme_selected_fg_color; + border-color: @theme_selected_bg_color; + border-style: solid; + margin: 0px 0px 10px 0px; + border-radius: 0px; + border-width: 0 0 1px 0; + padding:5px; +} + +#LPESelectorFlowBox image{ + background-color:@theme_bg_color; + border-color:transparent; +} + +#LPEExperimental image { + color: transparent; +} + +#LPEDialogSelector .searchbar entry image, +#LPEDialogSelector .searchbar label, +#LPEDialogSelector .searchbar #LPESelectorEffectFavShowImage { + color: @theme_fg_color; +} + +#LPEDialogSelector.LPEPackMore flowboxchild { +margin:5px 1px 0px; +padding:3px 3px 10px 3px; +} + +#LPEDialogSelector.LPEPackMore flowboxchild label { +font-size:14px; +} + +#LPEDialogSelector.LPEPackMore #LPESelectorEffectInfoPop label{ +font-size:13px; +} + +#LPEDialogSelector.LPEList .lpename { + margin-bottom: 1px; + font-weight:bold; +} + +#LPEDialogSelector.LPEList flowboxchild { + padding:3px 1px 3px 10px; + margin:1px 0px 1px; + border-radius:0; + border-style:dotted; + border-color:@theme_fg_color; + border-width: 0 0 1px 0; +} + +#LPEDialogSelector.LPEList flowboxchild:selected { + border-style:none; + margin:-3px 0px 0px; + padding:4px 1px 4px 10px; +} + +#LPEDialogSelector.LPEList #LPESelectorFlowBox *:selected #LPESelectorEffectFavTop, +#LPEDialogSelector.LPEList #LPESelectorFlowBox *:selected:focus #LPESelectorEffectFavTop { + opacity: 1; +} + +/* Selector and XML dialog */ +#SelectorsAndStyleDialog button { + padding: 4px; + min-height: 16px; + margin: 2px; + padding: 2px; +} + +#XMLAndAttributesDialog .toggle, +#SelectorsAndStyleDialog .toggle { + min-width: 18px; + padding-left: 6px; + padding-right: 6px; + padding-top: 0; + padding-bottom: 0; +} + +#XMLAndAttributesDialog .radio.image-button, +#SelectorsAndStyleDialog .radio.image-button { + margin: 0; + padding: 0px; + border-radius: 2px 0 0 2px; +} + +#XMLAndAttributesDialog .radio.image-button:last-child, +#SelectorsAndStyleDialog .radio.image-button:last-child { + border-radius: 0 2px 2px 0; + border-left-width: 0; +} + +#SelectorsAndStyleDialog treeview button { + border-width: 0; + margin: 0 0 1px 0; +} + +#SelectorsAndStyleDialog treeview button:nth-child(3), +#SelectorsAndStyleDialog treeview.style_sheet button:nth-child(4) { + border-width: 0 0 0 2px; + border-color: @theme_fg_color; + border-style: solid; + opacity: 0.5; +} + +#SelectorsAndStyleDialog treeview.style_sheet button:nth-child(3) { + border-width: 0; +} + +#SelectorsAndStyleDialog #StyleDialog treeview button *{ + font-size:5px; + min-height:1px; + padding:0; + margin:0; +} + +#SelectorsAndStyleDialog #StyleDialog treeview button { + padding:0; + min-height:1px; + border-left-width:4px; + border-color:@success_color; +} + +#InkRuler { + /* make size relative */ + font-size: smaller; + opacity: 0.6; +} + +/* The actual canvas (Inkscape's drawing area). */ +SPCanvas { + background-color: white; +} + +#TextFontFamilyAction_combobox { + -GtkComboBox-appears-as-list: true; +} + +#LockGuides, +#StickyZoom, +#CMS_Adjust { + padding: 0; +} + +/* Keep palette scrollbar from generating warnings. */ +#PreviewHolderScroller .vertical slider { + min-height: 15px; +} + +/* Override minimum size of container children for palette. */ +#ColorItemPreview { + min-height: 5px; + min-width: 5px; +} + +/* Reduce width of Fill and Stroke dialog */ +#ColorModeButton { + padding-left: 0; + padding-right: 0; +} + +/* InkSpinScale */ +#InkSpinScale { + background: @theme_bg_color; + padding: 0px; + margin: 2px 4px; +} + +#InkSpinScale trough, +#InkSpinScale slider, +#InkSpinScale highlight { + border-top-right-radius: 0; + border-bottom-right-radius: 0; +} + +/* Hide slider */ +#InkSpinScale slider { + background: none; + border: none; + outline: none; + min-width: 0px; + min-height: 0px; + padding: 0px; + margin: 0px; +} + +#InkSpinScale scale { + padding: 0px; + margin:0; +} + +#InkSpinScale trough { + min-height: 26px; + padding: 2px; /* some themes have humongous scale margins; rein in */ +} + +#InkSpinScale box.active { + box-shadow: 0 0 0 1px rgb(74, 144, 217); +} + +#InkSpinScale spinbutton { + box-shadow: none; + min-height: 10px; + border-left:0; + border-top-left-radius: 0; + border-bottom-left-radius: 0; +} + +#InkSpinScale spinbutton entry { + min-height: 30px; + outline-style: none; +} + +#UnicodeIconView { + font-size: 16px; +} + +/* GtkTreeView: clarify drop locations (especially important for XML editor) */ +treeview.view:drop(active) { + border-style: solid; + border-width: 2px; +} + +treeview.view:drop(active).after { + border-style: none none solid none; +} + +treeview.view:drop(active).before { + border-style: solid none none none; +} + +treeview.view:drop(active).after, +treeview.view:drop(active).before { + border-width: 4px; + border-radius: 10px; +} + +button.close-button{ + background-image: none; + padding: 0px; + min-height: 1px; + min-width: 1px; + border: none; + opacity: 0.5; + box-shadow: none; +} + +button.close-button:hover{ + box-shadow: none; + opacity: 1; +} + +/* + * Inkscape start dialog styles + */ +button.primary { + background-image: linear-gradient(to bottom, rgba(22, 169, 249, 1), rgba(2, 135, 204, 1)); + box-shadow: 0 1px rgba(255, 255, 255, 0.3) inset; + text-shadow: none; +} +button.primary:hover { + background-image: linear-gradient(to bottom, rgba(32, 179, 255, 1), rgba(12, 145, 214, 1)); +} +button.primary:active { + background-image: linear-gradient(to top, rgba(12, 149, 219, 1), rgba(0, 115, 184, 1)); +} +button.primary label { + color: white; +} +button.link:hover image { + -gtk-icon-effect: dim; +} + +.marker-item.box { + padding: 4px; +} +.marker-separator { + padding: 0; +} + +.tight-button { + padding: 5px 3px; +} + +.link-edit-button { + padding: 5px 3px; + min-width: 0.5em; +} + +/* In some themes stack switcher buttons are extra wide forcing dialogs too wide */ +stackswitcher button { + padding-left: 1px; + padding-right: 1px; + min-width: 40px; +} + +/*removes dashed line (scrolling indicator) on color palette for all themes */ +.color-palette-main-box scrolledwindow undershoot.top, +.color-palette-main-box scrolledwindow undershoot.right, +.color-palette-main-box scrolledwindow undershoot.bottom, +.color-palette-main-box scrolledwindow undershoot.left { + background-image: none; +} + +.backgnd-passive { + background-color: @theme_bg_color; + opacity: 0.5; + transition: background-color 300ms linear; +} + +@keyframes pulse { + 0% { + opacity: 0.3; + } + 50% { + opacity: 0.9; + } + 100% { + opacity: 0.3; + } +} + +.backgnd-active { + animation-name: pulse; + background-color: @theme_selected_bg_color; + animation-duration: 1s; + animation-timing-function: ease; + animation-iteration-count: infinite; +} + +.nb-highlight > header.top { + background-color: @theme_selected_bg_color; +} + +.tight-flowbox flowboxchild { + margin: 0; + padding: 0px; +} +.tight-flowbox button { + margin: 0; + padding: 4px; +} + +/* add .small-marks class to Gtk::Scale to have smaller font used, since markup didn't work there */ +scale.small-marks.marks-after { + font-size: small; +} + +/* Square toolbar buttons: request square buttons for all toolbars. */ +button.square-button { + padding: 3px; +} + +button.square-button image { + padding: 0; + min-width: 16px; + min-height: 16px; +} + +/* Give layer selector button label a highlight color */ +#LayerSelector label +{ + padding-left: 6px; + border-left: 3px solid white; +} + +#StyleSwatch label { + font-size: small; +} + +#DocumentProperties #NotebookPage { + margin-left: 4px; + margin-right: 4px; +} + +/* heading label in dialogs */ +.heading { + font-weight: bold; + font-size: 1.1em; /* make it optically comparable with non-bold */ + margin-top: 0.5em; +} +/* topmost heading in dialogs */ +.heading.top { + margin-top: 0.2em; +} + +/* single-level indentation for labels in a dialog */ +.indent { + margin-left: 1em; +} + +.small-font { + font-size: small; +} + +.toolbar-separator { + margin: 7px 3px; +} + +/* for dialogs with "Apply" button (or equivalent) - larger hit target */ +.wide-apply-button { + min-width: 150px; +} + +#DockedDialogNotebook { + border: none; +} + +#DialogMenuButton { + padding: 3px; + border: none; + opacity: 0.5; +} + +#DialogMenuButton:hover { + opacity: 1; +} + +#DesktopStatusBar { + margin-right: 1em; +} +/* + * Inkscape Export Dialog + */ +#ExportDialog #export_selection{ + border-radius: 0px; +} +#ExportDialog #export_preview_single { + border: 1px solid; +} +#ExportDialog #export_preview_batch { + border: 1px solid; +} diff --git a/share/ui/toolbar-commands.ui b/share/ui/toolbar-commands.ui new file mode 100644 index 0000000..ab71615 --- /dev/null +++ b/share/ui/toolbar-commands.ui @@ -0,0 +1,330 @@ + + + + + + + + + True + + + + True + win.document-new + document-new + _New + True + + + + + True + win.document-open + document-open + _Open... + True + + + + + True + win.document-save + document-save + _Save + True + + + + + True + win.document-print + document-print + _Print... + True + + + + + + True + + + + + + True + win.document-import + document-import + _Import... + True + + + + + True + win.dialog-open + 'Export' + document-export + _Export... + True + + + + + + True + + + + + + True + doc.undo + edit-undo + _Undo + True + + + + + True + doc.redo + edit-redo + _Redo + True + + + + + + True + + + + + + True + app.copy + edit-copy + _Copy + True + + + + + True + app.cut + edit-cut + Cu_t + True + + + + + True + win.paste + edit-paste + _Paste + True + + + + + + True + + + + + + True + win.canvas-zoom-selection + zoom-fit-selection + Zoom _Selection + True + + + + + True + win.canvas-zoom-drawing + zoom-fit-drawing + Zoom _Drawing + True + + + + + True + win.canvas-zoom-page + zoom-fit-page + Zoom _Page + True + + + + + True + win.canvas-zoom-center-page + zoom-center-page + Zoom _Center Page + True + + + + + + True + + + + + + True + app.duplicate + edit-duplicate + Duplic_ate + True + + + + + True + app.clone + edit-clone + Create Clo_ne + True + + + + + True + app.clone-unlink + edit-clone-unlink + Unlin_k Clone + True + + + + + + True + + + + + + True + app.selection-group + object-group + _Group + True + + + + + True + app.selection-ungroup + object-ungroup + _Ungroup + True + + + + + + True + + + + + + True + win.dialog-open + 'FillStroke' + dialog-fill-and-stroke + _Fill and Stroke... + True + + + + + True + win.dialog-open + 'Text' + dialog-text-and-font + _Text and Font... + True + + + + + True + win.dialog-open + 'Objects' + dialog-objects + Layers and Objects... + True + + + + + True + win.dialog-open + 'XMLEditor' + dialog-xml-editor + _XML Editor... + True + + + + + True + win.dialog-open + 'Selectors' + dialog-selectors + _Selectors and CSS... + True + + + + + True + win.dialog-open + 'AlignDistribute' + dialog-align-and-distribute + _Align and Distribute... + True + + + + + + True + + + + + + True + win.dialog-open + 'DocumentProperties' + document-properties + _Document Properties... + True + + + + + True + win.dialog-open + 'Preferences' + preferences-system + P_references... + True + + + + + diff --git a/share/ui/toolbar-page.ui b/share/ui/toolbar-page.ui new file mode 100644 index 0000000..c600a8b --- /dev/null +++ b/share/ui/toolbar-page.ui @@ -0,0 +1,170 @@ + + + + + + True + False + + + True + False + doc.page-new + New Page + pages-add + + + False + True + + + + + True + False + + + True + True + 0 + True + -1 + + Custom + + + + True + + + + + + + False + True + + + + + True + False + app.page-fit-to-selection + Fit Page to Selection + pages-resize + + + False + True + + + + + True + False + + + False + False + + + + + True + False + doc.page-move-backward + Move Before Previous + pages-order-backwards + + + False + True + + + + + True + False + + + True + False + + 1/- + + + + + False + True + + + + + True + False + doc.page-move-forward + Move After Next + pages-order-forwards + + + False + True + + + + + True + False + + + True + True + Page Label + + + + + False + True + + + + + True + False + doc.page-delete + New Page + pages-remove + + + False + True + + + + + True + False + + + False + False + + + + + True + False + doc.page-move-objects + Move Objects + True + pages-move-toggle + + + False + True + + + + diff --git a/share/ui/toolbar-select.ui b/share/ui/toolbar-select.ui new file mode 100644 index 0000000..e69de29 diff --git a/share/ui/toolbar-snap.ui b/share/ui/toolbar-snap.ui new file mode 100644 index 0000000..3703c09 --- /dev/null +++ b/share/ui/toolbar-snap.ui @@ -0,0 +1,1204 @@ + + + + + + False + + + + True + False + start + start + 8 + 16 + 8 + 8 + + + Enable snapping + True + True + False + start + win.snap-global-toggle + True + + + 0 + 1 + 2 + + + + + Bounding boxes + True + True + False + start + win.snap-bbox + True + + + 0 + 3 + 2 + + + + + Edges + True + True + False + start + win.snap-bbox-edge + True + + + 1 + 4 + + + + + Corners + True + True + False + start + win.snap-bbox-corner + True + + + 1 + 5 + + + + + Edge midpoints + True + True + False + start + win.snap-bbox-edge-midpoint + True + + + 1 + 6 + + + + + Centers + True + True + False + start + win.snap-bbox-center + True + + + 1 + 7 + + + + + Nodes + True + True + False + start + win.snap-node-category + True + + + 0 + 9 + 2 + + + + + Paths + True + True + False + start + win.snap-path + True + + + 1 + 10 + + + + + Path intersections + True + True + False + start + win.snap-path-intersection + True + + + 1 + 11 + + + + + Cusp nodes + True + True + False + start + win.snap-node-cusp + True + + + 1 + 12 + + + + + Smooth nodes + True + True + False + start + win.snap-node-smooth + True + + + 1 + 13 + + + + + Line midpoints + True + True + False + start + win.snap-line-midpoint + True + + + 1 + 14 + + + + + Object midpoints + True + True + False + start + win.snap-object-midpoint + True + + + 1 + 19 + + + + + Other points + True + True + False + start + win.snap-others + True + + + 0 + 18 + 2 + + + + + Object rotation centers + True + True + False + start + win.snap-rotation-center + True + + + 1 + 20 + + + + + Text baselines and anchors + True + True + False + start + win.snap-text-baseline + True + + + 1 + 21 + + + + + Grids + True + True + False + start + win.snap-grid + True + + + 0 + 29 + 2 + + + + + Guide lines + True + True + False + start + win.snap-guide + True + + + 0 + 30 + 2 + + + + + Page borders + True + True + False + start + win.snap-page-border + True + + + 0 + 31 + 2 + + + + + Alignment + True + True + False + start + win.snap-alignment + True + + + 0 + 25 + 2 + + + + + Nodes in same path + True + True + False + start + win.snap-alignment-self + True + + + 1 + 26 + + + + + Reset to simple snapping mode + True + True + True + end + none + + + 1 + 33 + 2 + + + + + True + False + start + center + snap-bounding-box-edges + + + 2 + 4 + + + + + True + False + start + center + snap-bounding-box-corners + + + 2 + 5 + + + + + True + False + start + center + snap-bounding-box-midpoints + + + 2 + 6 + + + + + True + False + start + center + snap-bounding-box-center + + + 2 + 7 + + + + + True + False + start + center + snap-nodes-path + + + 2 + 10 + + + + + True + False + start + center + snap-nodes-intersection + + + 2 + 11 + + + + + True + False + start + center + snap-nodes-cusp + + + 2 + 12 + + + + + True + False + start + center + snap-nodes-smooth + + + 2 + 13 + + + + + True + False + start + center + snap-nodes-midpoint + + + 2 + 14 + + + + + True + False + start + center + snap-nodes-center + + + 2 + 19 + + + + + True + False + start + center + snap-nodes-rotation-center + + + 2 + 20 + + + + + True + False + start + center + snap-text-baseline + + + 2 + 21 + + + + + True + False + start + center + grid-rectangular + + + 2 + 29 + + + + + True + False + start + center + guides + + + 2 + 30 + + + + + True + False + start + center + snap-page + + + 2 + 31 + + + + + Masks + True + True + False + start + win.snap-path-mask + True + + + 1 + 22 + + + + + Clips + True + True + False + start + win.snap-path-clip + True + + + 1 + 23 + + + + + True + False + start + center + path-mask-edit + + + 2 + 22 + + + + + True + False + start + center + path-clip-edit + + + 2 + 23 + + + + + Same distances + True + True + False + start + win.snap-distribution + True + + + 1 + 27 + + + + + True + False + snap-alignment + + + 2 + 25 + + + + + True + False + snap-alignment-self + + + 2 + 26 + + + + + True + False + snap-distribution + + + 2 + 27 + + + + + Perpendicular lines + True + True + False + start + win.snap-line-perpendicular + True + + + 1 + 15 + + + + + Tangential lines + True + True + False + start + win.snap-line-tangential + True + + + 1 + 16 + + + + + True + False + snap-lines-perpendicular + + + 2 + 15 + + + + + True + False + snap-lines-tangential + + + 2 + 16 + + + + + True + False + 5 + 5 + 0 + + + 0 + 2 + + + + + False + 0 + + + 1 + 2 + + + + + True + False + 0 + + + 1 + 8 + + + + + True + False + 0 + + + 1 + 17 + + + + + True + False + 0 + + + 1 + 24 + + + + + True + False + 0 + + + 1 + 28 + + + + + True + False + 0 + + + 1 + 32 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + True + False + snap-bounding-box-center + + + True + False + snap-nodes-cusp + + + True + False + align-horizontal-left-to-anchor-symbolic + + + False + + + + True + False + start + start + 8 + 16 + 8 + 8 + 4 + 4 + + + Enable snapping + True + True + False + start + win.snap-global-toggle + True + + + 0 + 1 + 3 + + + + + True + False + False + True + win.simple-snap-bbox + image1 + + + 1 + 3 + + + + + True + False + start + Bounding boxes + + + 2 + 3 + + + + + True + False + False + True + win.simple-snap-nodes + image2 + + + 1 + 4 + + + + + True + False + start + Nodes + + + 2 + 4 + + + + + True + False + False + True + win.simple-snap-alignment + image3 + + + 1 + 5 + + + + + True + False + start + Alignment + + + 2 + 5 + + + + + True + False + + + + + + + 1 + 6 + + + + + Advanced mode + True + True + True + end + none + + + 2 + 7 + + + + + True + False + + + + 0 + 2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + True + False + + + True + False + win.snap-global-toggle + snap + + + False + True + + + + + True + False + True + + + True + True + False + True + left + advanced + + + + + + + + False + False + + + + + True + False + True + + + True + True + False + True + left + simple + + + + + + + + False + False + + + + diff --git a/share/ui/toolbar-tool-prefs.ui b/share/ui/toolbar-tool-prefs.ui new file mode 100644 index 0000000..d071158 --- /dev/null +++ b/share/ui/toolbar-tool-prefs.ui @@ -0,0 +1,853 @@ + + + + + + True + False + color-fill + + + True + False + draw-calligraphic + + + True + False + draw-connector + + + True + False + color-picker + + + True + False + draw-ellipse + + + True + False + draw-eraser + + + True + False + draw-geometry + + + True + False + color-gradient + + + True + False + tool-measure + + + True + False + mesh-gradient + + + True + False + tool-node-editor + + + True + False + tool-pages + + + True + False + draw-path + + + True + False + draw-freehand + + + True + False + draw-rectangle + + + True + False + tool-pointer + + + True + False + draw-spiral + + + True + False + tool-spray + + + True + False + draw-polygon-star + + + True + False + draw-cuboid + + + True + False + tool-tweak + + + True + False + zoom + + + True + False + draw-text + + + tool-toolbar + True + False + start + vertical + 1 + + + True + False + start + SELECTING + + + + False + False + 0 + + + + + True + False + start + start + True + 3 + 10 + + + True + True + + + True + True + False + center + center + win.tool-switch + 'Select' + icon-select + none + + + + + + + + True + True + + + True + True + False + center + center + win.tool-switch + 'Node' + icon-node + none + + + + + + + + + False + False + 1 + + + + + True + False + start + SHAPES + + + + False + False + 2 + + + + + True + False + start + start + True + 3 + 10 + + + True + True + + + True + True + False + center + center + win.tool-switch + 'Rect' + icon-rect + none + + + + + + + + True + True + + + True + True + False + center + center + win.tool-switch + 'Arc' + icon-ellipse + none + + + + + + + + True + True + + + True + True + False + center + center + win.tool-switch + 'Star' + icon-star + none + + + + + + + + True + True + + + True + True + False + center + center + win.tool-switch + '3DBox' + icon-threedee + none + + + + + + + + True + True + + + True + True + False + center + center + win.tool-switch + 'Spiral' + icon-spiral + none + + + + + + + + + False + False + 3 + + + + + True + False + start + CREATING NEW + + + + False + False + 4 + + + + + True + False + start + start + True + 3 + 10 + + + True + True + + + True + True + False + center + center + win.tool-switch + 'Pen' + icon-pen + none + + + + + + + + True + True + + + True + True + False + center + center + win.tool-switch + 'Pencil' + icon-pencil + none + + + + + + + + True + True + + + True + True + False + center + center + win.tool-switch + 'Calligraphic' + icon-calligraphic + none + + + + + + + + True + True + + + True + True + False + center + center + win.tool-switch + 'Text' + image-text-tool + none + + + + + + + + + False + False + 5 + + + + + True + False + start + COLORS AND STYLES + + + + False + False + 6 + + + + + True + False + start + start + True + 3 + 10 + + + True + True + + + True + True + False + center + center + win.tool-switch + 'Gradient' + icon-gradient + none + + + + + + + + True + True + + + True + True + False + center + center + win.tool-switch + 'Mesh' + icon-mesh-gradient + none + + + + + + + + True + True + + + True + True + False + center + center + win.tool-switch + 'Dropper' + icon-dropper + none + + + + + + + + True + True + + + True + True + False + center + center + win.tool-switch + 'PaintBucket' + icon-bucket + none + + + + + + + + + False + False + 7 + + + + + True + False + start + OTHER + + + + False + False + 8 + + + + + True + False + start + start + True + 3 + 10 + + + True + True + + + True + True + False + center + center + win.tool-switch + 'Tweak' + icon-tweak + none + + + + + + + + True + True + + + True + True + False + center + center + win.tool-switch + 'Spray' + icon-spray + none + + + + + + + + True + True + + + True + True + False + center + center + win.tool-switch + 'Eraser' + icon-eraser + none + + + + + + + + True + True + + + True + True + False + center + center + win.tool-switch + 'Connector' + icon-connector + none + + + + + + + + True + True + + + True + True + False + center + center + win.tool-switch + 'LPETool' + icon-geometry + none + + + + + + + + + False + False + 9 + + + + + True + False + start + CANVAS TOOLS + + + + False + False + 10 + + + + + True + False + start + start + True + 3 + 10 + + + True + True + + + True + True + False + center + center + win.tool-switch + 'Measure' + icon-measure + none + + + + + + + + True + True + + + True + True + False + center + center + win.tool-switch + 'Zoom' + icon-zoom + none + + + + + + + + True + True + + + True + True + False + center + center + win.tool-switch + 'Pages' + icon-pages + none + + + + + + + + + False + False + 11 + + + + + + + diff --git a/share/ui/toolbar-tool.ui b/share/ui/toolbar-tool.ui new file mode 100644 index 0000000..5d20aa9 --- /dev/null +++ b/share/ui/toolbar-tool.ui @@ -0,0 +1,860 @@ + + + + + + True + False + tool-pointer + + + True + False + draw-calligraphic + + + True + False + draw-text + + + True + False + color-gradient + + + True + False + mesh-gradient + + + True + False + color-picker + + + True + False + color-fill + + + True + False + tool-tweak + + + True + False + tool-spray + + + True + False + draw-eraser + + + True + False + draw-connector + + + True + False + tool-node-editor + + + True + False + draw-geometry + + + True + False + zoom + + + True + False + tool-measure + + + True + False + draw-rectangle + + + True + False + draw-ellipse + + + True + False + draw-polygon-star + + + True + False + draw-cuboid + + + True + False + draw-spiral + + + True + False + draw-path + + + True + False + draw-freehand + + + True + False + tool-pages + + + True + False + none + False + True + never + external + + + tool-toolbar + True + False + vertical + start + fill + + + True + True + False + start + start + horizontal + 2 + + + + True + True + + + toolsradio + False + True + True + False + center + center + win.tool-switch + 'Select' + icon-select + none + + + + + + + + True + True + + + toolsradio + False + True + True + False + center + center + win.tool-switch + 'Node' + icon-node + none + + + + + + + + False + False + 0 + + + + + True + False + + + False + False + 1 + + + + + True + True + False + start + start + horizontal + 5 + + + + True + True + + + toolsradio + False + True + True + False + center + center + win.tool-switch + 'Rect' + icon-rect + none + + + + + + + + True + True + + + toolsradio + False + True + True + False + center + center + win.tool-switch + 'Arc' + icon-ellipse + none + + + + + + + + True + True + + + toolsradio + False + True + True + False + center + center + win.tool-switch + 'Star' + icon-star + none + + + + + + + + True + True + + + toolsradio + False + True + True + False + center + center + win.tool-switch + '3DBox' + icon-threedee + none + + + + + + + + True + True + + + toolsradio + False + True + True + False + center + center + win.tool-switch + 'Spiral' + icon-spiral + none + + + + + + + + False + False + 2 + + + + + True + False + + + False + False + 3 + + + + + True + True + False + start + start + horizontal + 6 + + + + True + True + + + toolsradio + False + True + True + False + center + center + win.tool-switch + 'Pen' + icon-pen + none + + + + + + + + True + True + + + toolsradio + False + True + True + False + center + center + win.tool-switch + 'Pencil' + icon-pencil + none + + + + + + + + True + True + + + toolsradio + False + True + True + False + center + center + win.tool-switch + 'Calligraphic' + icon-calligraphic + none + + + + + + + + True + True + + + toolsradio + False + True + True + False + center + center + win.tool-switch + 'Text' + image-text-tool + none + + + + + + + + False + False + 4 + + + + + True + False + + + False + False + 5 + + + + + True + True + False + start + start + horizontal + 5 + + + + True + True + + + toolsradio + False + True + True + False + center + center + win.tool-switch + 'Gradient' + icon-gradient + none + + + + + + + + True + True + + + toolsradio + False + True + True + False + center + center + win.tool-switch + 'Mesh' + icon-mesh-gradient + none + + + + + + + + True + True + + + toolsradio + False + True + True + False + center + center + win.tool-switch + 'Dropper' + icon-dropper + none + + + + + + + + True + True + + + toolsradio + False + True + True + False + center + center + win.tool-switch + 'PaintBucket' + icon-bucket + none + + + + + + + + False + False + 6 + + + + + True + False + + + False + False + 7 + + + + + True + True + False + start + start + horizontal + 5 + + + + True + True + + + toolsradio + False + True + True + False + center + center + win.tool-switch + 'Tweak' + icon-tweak + none + + + + + + + + True + True + + + toolsradio + False + True + True + False + center + center + win.tool-switch + 'Spray' + icon-spray + none + + + + + + + + True + True + + + toolsradio + False + True + True + False + center + center + win.tool-switch + 'Eraser' + icon-eraser + none + + + + + + + + True + True + + + toolsradio + False + True + True + False + center + center + win.tool-switch + 'Connector' + icon-connector + none + + + + + + + + + False + False + 8 + + + + + True + False + + + False + False + 9 + + + + + True + True + False + start + start + horizontal + 5 + + + + True + True + + + toolsradio + False + True + True + False + center + center + win.tool-switch + 'Measure' + icon-measure + none + + + + + + + + True + True + + + toolsradio + False + True + True + False + center + center + win.tool-switch + 'Zoom' + icon-zoom + none + + + + + + + + True + True + + + toolsradio + False + True + True + False + center + center + win.tool-switch + 'Pages' + icon-pages + none + + + + + + + + False + False + 10 + + + + + + diff --git a/share/ui/toolbar-zoom.ui b/share/ui/toolbar-zoom.ui new file mode 100644 index 0000000..09c1a98 --- /dev/null +++ b/share/ui/toolbar-zoom.ui @@ -0,0 +1,130 @@ + + + + + + + + + True + + + + True + win.canvas-zoom-in + zoom-in + Zoom In + + + + + True + win.canvas-zoom-out + zoom-out + Zoom Out + + + + + + True + + + + + + True + win.canvas-zoom-1-1 + zoom-original + Zoom 1-1 + + + + + True + win.canvas-zoom-1-2 + zoom-half-size + Zoom 1-2 + + + + + True + win.canvas-zoom-2-1 + zoom-double-size + Zoom 2-1 + + + + + + True + + + + + + True + win.canvas-zoom-selection + zoom-fit-selection + Zoom Selection + + + + + True + win.canvas-zoom-drawing + zoom-fit-drawing + Zoom Drawing + + + + + True + win.canvas-zoom-page + zoom-fit-page + Zoom Page + + + + + True + win.canvas-zoom-page-width + zoom-fit-width + Zoom Page Width + + + + + True + win.canvas-zoom-center-page + zoom-center-page + Center Page + + + + + + True + + + + + + True + win.canvas-zoom-prev + zoom-previous + Zoom Previous + + + + + True + win.canvas-zoom-next + zoom-next + Zoom Next + + + + + diff --git a/share/ui/units.xml b/share/ui/units.xml new file mode 100644 index 0000000..713a538 --- /dev/null +++ b/share/ui/units.xml @@ -0,0 +1,101 @@ + + + + % + % + % + 1.00 + Percentage + + + pixel + pixels + px + 1.00 + CSS Pixels (96/inch) + + + point + points + pt + 1.333333333333333 + PostScript points (72/inch) + + + pica + picas + pc + 16.0 + 12 points + + + inch + inches + in + 96.0 + Inches (96 px/in) + + + millimeter + millimeters + mm + 3.779527559055119 + Millimeters (25.4 mm/in) + + + centimeter + centimeters + cm + 37.79527559055119 + Centimeters (10 mm/cm) + + + degree + degrees + ° + 1.00 + Degrees + + + radian + radians + rad + 57.29577951308232 + Radians (180/pi deg/rad) + + + gradian + gradians + grad + 0.9 + Gradians (360/400 deg/grad) + + + turn + turns + turn + 360 + Turns (360 deg/turn) + + + font-height + font-heights + em + 1.00 + Font height + + + x-height + x-heights + ex + 0.50 + Height of letter 'x' + + + half-em + half-ems + en + 0.50 + Half of font height + + diff --git a/share/ui/win32.css b/share/ui/win32.css new file mode 100644 index 0000000..a260e21 --- /dev/null +++ b/share/ui/win32.css @@ -0,0 +1,176 @@ +/* Appearance of switches */ + +switch slider { + background-image: none; + background-color: @selected_bg_color; + border-radius: 3px; +} + +switch image { + background-color: -gtk-win32-color(button, 10); + border-radius: 1px; +} + + +/* Menu appearance */ + +menu separator { + border-bottom-width: 1px; + border-bottom-style: solid; + margin-left: 5px; + margin-right: 5px; +} + +toolbar separator { + border-bottom-width: 1px; + border-bottom-style: solid; + margin: 2px; +} + +menuitem arrow { + min-width: 10px; + min-height: 10px; +} + +menuitem arrow.right { + -gtk-icon-source: -gtk-icontheme("pan-end-symbolic"); +} + +menuitem arrow.left { + -gtk-icon-source: -gtk-icontheme("pan-start-symbolic"); +} + + +/* Add margin to images */ + +widget>box>image, +toolbar button image { + margin: 2px; +} + + +/* Style spinbuttons, GTK style (see discussion in https://gitlab.com/inkscape/inkscape/-/issues/762) */ + +spinbutton { + background-image: none; +} + +spinbutton button { + margin-top: 0px; + margin-bottom: 0px; + background-size: 20px 100%; + border-width: 1px; + border-style: solid; + background-image: none; + color: black; + background-color: white; + border-color: shade(-gtk-win32-color(button, menu), 0.6); +} + +spinbutton button.down { + margin-right: 15px; +} + +spinbutton button:hover { + background-image: -gtk-win32-theme-part(button, 1, 2); + background-size: 200% 200%; + ; + background-position: center; + border-color: #add8e6; +} + +spinbutton button:disabled { + background-color: blue; +} + +spinbutton entry:not(:disabled) { + border: 1px solid shade(-gtk-win32-color(button, menu), 0.6); + background-color: white; +} + +spinbutton entry:disabled, +spinbutton button:disabled { + background-color: -gtk-win32-color(button, 4); +} + +spinbutton entry:disabled { + border-width: 1px; + border-style: solid; +} + + +/* Fix height of sliders in F&S dialog */ + +#InkSpinScale spinbutton { + padding-top: 10px; + padding-bottom: 10px; +} + + +/* Fix colors in LPE dialog */ + +@define-color theme_fg_color black; +#LPEDialogSelector separator { + border-color: black; + border-right: 1px solid; + margin: 2px; +} + + +/* Fix hidden palette */ + +#InkscapePanel #PreviewHolderGrid { + padding-bottom: 20px; +} + + +/* Fix right button of horizontal scrollbar */ + +scrollbar.horizontal:hover button.down:disabled { + background-image: -gtk-win32-theme-part(scrollbar, 1, 16); +} + +scrollbar.horizontal:hover button.down:active { + background-image: -gtk-win32-theme-part(scrollbar, 1, 15); +} + + +/* Make room for the scroll bar of the dialog region*/ + +#DockBox { + margin-right: 15px; +} + +#InkSpinScale spinbutton { + margin-right: 5px; +} + +/* Fix text contrast issues while hovering */ + +treeview.view:selected { + color: #000; +} + +treeview.view:selected:focus { + background-color: #a0d4fc; +} + +/*fix context-menu decoration */ + +.popup decoration { + all: unset; +} + +/*add expander arrow*/ + +expander arrow { + -gtk-icon-source: -gtk-icontheme("pan-end-symbolic"); +} + +expander arrow:dir(rtl) { + -gtk-icon-source: -gtk-icontheme("pan-end-symbolic-rtl"); +} + +expander arrow:checked { + -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); +} -- cgit v1.2.3