diff --git a/synfig-studio/src/gui/resources/ui/CMakeLists.txt b/synfig-studio/src/gui/resources/ui/CMakeLists.txt index bd7e6240fce..e96753f4049 100644 --- a/synfig-studio/src/gui/resources/ui/CMakeLists.txt +++ b/synfig-studio/src/gui/resources/ui/CMakeLists.txt @@ -4,6 +4,11 @@ set(UI_FILES preview_options.glade dialog_workspaces.glade shortcuts_window.glade + history_toolbar.glade + right_toolbar.glade + file_top_toolbar.glade + top_toolbar.glade + studio_menubar.xml ) foreach(UI_FILE ${UI_FILES}) diff --git a/synfig-studio/src/gui/resources/ui/file_top_toolbar.glade b/synfig-studio/src/gui/resources/ui/file_top_toolbar.glade new file mode 100644 index 00000000000..d54d23ed7c4 --- /dev/null +++ b/synfig-studio/src/gui/resources/ui/file_top_toolbar.glade @@ -0,0 +1,246 @@ + + + + + True + False + + + True + False + Create a new document + app.new + action_doc_new_icon + + + False + True + + + + + True + False + Open an existing document + app.open + action_doc_open_icon + + + False + True + + + + + True + False + Save + app.save + action_doc_save_icon + + + False + True + + + + + True + False + Save As + app.save-as + action_doc_saveas_icon + + + False + True + + + + + True + False + Save all opened documents + app.save-all + action_doc_saveall_icon + + + False + True + + + + + True + False + + + False + True + + + + + + True + False + Undo the previous action + app.undo + action_doc_undo_icon + + + False + True + + + + + True + False + Redo the previously undone action + app.redo + action_doc_redo_icon + + + False + True + + + + + True + False + + + False + True + + + + + True + False + Shows the Preview Settings Dialog + app.preview + preview_options_icon + + + False + True + + + + + True + False + Shows the Render Settings Dialog + app.render + render_options_icon + + + False + True + + + + + True + False + + + False + True + + + + + True + False + Refresh workarea + app.refresh + view-refresh + + + False + True + + + + + True + False + + + + + True + False + Render future and past frames in background when enabled + app.background-rendering + background_rendering_icon + + + False + True + + + + + True + False + + + False + True + + + + + True + False + + + False + True + + + + + True + False + Show Onion Skin when enabled + app.onion-skin + onion_skin_icon + + + False + True + + + + + True + False + + + + + True + False + + + + + True + False + Show Onion Skin on Keyframes when enabled, on Frames when disabled + app.onion-skin-keyframes + keyframe_icon + + + False + True + + + + \ No newline at end of file diff --git a/synfig-studio/src/gui/resources/ui/history_toolbar.glade b/synfig-studio/src/gui/resources/ui/history_toolbar.glade new file mode 100644 index 00000000000..6cfbd14b654 --- /dev/null +++ b/synfig-studio/src/gui/resources/ui/history_toolbar.glade @@ -0,0 +1,74 @@ + + + + + True + False + History + + + True + False + Undo the previous action + app.undo + action_doc_undo_icon + + + False + True + + + + + True + False + Redo the previously undone action + app.redo + action_doc_redo_icon + + + False + True + + + + + True + False + Clear the undo stack + app.clear-undo + clear_undo_icon + + + False + True + + + + + True + False + Clear the redo stack + app.clear-redo + clear_redo_icon + + + False + True + + + + + True + False + Clear the undo and redo stack + app.clear-undo-redo + edit-clear + + + False + True + + + + \ No newline at end of file diff --git a/synfig-studio/src/gui/resources/ui/right_toolbar.glade b/synfig-studio/src/gui/resources/ui/right_toolbar.glade new file mode 100644 index 00000000000..f016e8cbd9f --- /dev/null +++ b/synfig-studio/src/gui/resources/ui/right_toolbar.glade @@ -0,0 +1,71 @@ + + + + + True + False + + + True + False + Show Grid when enabled + app.show-grid + show_grid_icon + + + False + True + + + + + True + False + Snap to Grid when enabled + app.snap-grid + snap_grid_icon + + + False + True + + + + + True + False + Show Guides when enabled + app.show-guides + show_guideline_icon + + + False + True + + + + + True + False + Snap to Guides when enabled + app.snap-guides + snap_guideline_icon + + + False + True + + + + + True + False + + + False + True + + + + + \ No newline at end of file diff --git a/synfig-studio/src/gui/resources/ui/studio_menubar.xml b/synfig-studio/src/gui/resources/ui/studio_menubar.xml new file mode 100644 index 00000000000..fc8837b6596 --- /dev/null +++ b/synfig-studio/src/gui/resources/ui/studio_menubar.xml @@ -0,0 +1,664 @@ + + + + + + + _File +
+ + _New + app.new + <Control>n + action_doc_new_icon + + + _Open + app.open + <Control>o + action_doc_open_icon + + + + + _Open Recent + + + +
+
+ + _Save + app.save + <Control>s + action_doc_save_icon + + + _Save As... + app.save-as + <Control><Shift>s + action_doc_saveas_icon + + + _Save All... + app.save-all + <Control>e + action_doc_saveall_icon + + + _Export... + app.export + action_export_icon + + + _Revert... + app.revert + document-revert + +
+
+ + _Import... + app.import + <Control>i + + + _Import Sequence... + app.import-sequence + +
+
+ + _Preview... + app.preview + F11 + preview_options_icon + + + _Render... + app.render + F9 + render_options_icon + +
+
+ + _Close Document + app.close-document + <Primary>w + window-close + +
+
+ + _Quit + app.quit + <Primary>q + application-exit + +
+
+ + + + _Edit +
+ + _Undo + app.undo + <Primary>z + True + action_doc_undo_icon + + + _Redo + app.redo + <Shift><Primary>z + action_doc_redo_icon + +
+
+ + _Cut + app.cut + <Primary>x + edit-cut + + + _Copy + app.copy + <Primary>c + edit-copy + + + _Paste + app.paste + <Primary>v + edit-paste + +
+
+ + _Select All Layers + app.select-all-layers + <Control><Shift>a + + + _Unselect All Layers + app.unselect-all-layers + <Control><Shift>d + + + _Select All Handles + app.select-all-ducks + <Control>a + + + _Unselect All Handles + app.unselect-all-ducks + <Control>d + + + _Select Parent Layer + app.select-parent-layer + <Alt>Page_Up + +
+
+ + _Input Devices... + app.input-devices + + + _Preferences... + app.setup + +
+
+ + + + _View +
+ + _Show Menubar + app.show-menubar + + + _Toolbar + app.show-toolbar + +
+
+ + + _Show/Hide Handles + + _Toggle None/Last visible Handles + app.mask-none-ducks + <Alt>0 + + + _Show Position Handles + app.mask-position-ducks + <Alt>1 + + + _Show Vertex Handles + app.mask-vertex-ducks + <Alt>2 + + + _Show Tangent Handles + app.mask-tangent-ducks + <Alt>3 + + + + _Show Radius Handles + app.mask-radius-ducks + <Alt>4 + + + _Show Width Handles + app.mask-width-ducks + <Alt>5 + + + _Show WidthPoints Position Handles + app.mask-widthpoint-position-ducks + + + _Show Angle Handles + app.mask-angle-ducks + <Alt>6 + + + + _Show Bone Setup Handles + + + + _Show Recursive Scale Bone Handles + app.mask-bone-recursive-ducks + <Alt>8 + + + _Next Bone Handles + app.mask-bone-ducks + <Alt>9 + + + + _Low-Res Pixel Size +
+ + _Decrease Low-Res Pixel Size + app.dec-lowres-pixel + <Control>parenleft + + + _Increase Low-Res Pixel Size + app.inc-lowres-pixel + <Control>parenright + +
+
+ + _Set Low-Res pixel size to 2 + app.lowres-pixel + 2 + + + _Set Low-Res pixel size to 4 + app.lowres-pixel + 4 + + + _Set Low-Res pixel size to 8 + app.lowres-pixel + 8 + + + _Set Low-Res pixel size to 16 + app.lowres-pixel + 16 + +
+
+
+
+ + _Show Grid + app.show-grid + numbersign + + + _Snap to Grid + app.snap-grid + <Control>L + + + _Show Guides + app.show-guides + + + _Snap to Guides + app.snap-guides + + + _Use Low-Res + app.toggle-low-res + <Control>grave + + + _Enable rendering in background + app.background-rendering + + + _Show Onion Skin + app.onion-skin + <Alt>O + + + _Onion Skin on Keyframes + app.onion-skin-keyframes + +
+
+ + _Zoom In + app.zoom-in + equal + zoom-in + + + _Zoom Out + app.zoom-out + minus + zoom-out + + + _Best Fit + app.zoom-fit + 0 + zoom-fit-best + + + _Normal Size + app.zoom-norm + zoom-original + +
+
+ + _Zoom In on Timeline + app.time-zoom-in + <Control>plus + zoom-in + + + _Zoom Out on Timeline + app.time-zoom-out + <Control>minus + zoom-out + +
+
+ + _Canvas + + _Properties... + app.properties + F8 + document-properties + + + _Options... + app.options + F12 + + + + + _Toolbox + + _Transform Tool + app.state-normal + tool_normal_icon + S + + + _SmoothMove Tool + app.state-smooth-move + tool_smooth_move_icon + M + + + _Scale Tool + app.state-scale + tool_scale_icon + L + + + _Rotate Tool + app.state-rotate + tool_rotate_icon + A + + + _Mirror Tool + app.state-mirror + tool_mirror_icon + I + + + _Circle Tool + app.state-circle + tool_circle_icon + E + + + _Rectangle Tool + app.state-rectangle + tool_rectangle_icon + R + + + _Star Tool + app.state-star + tool_star_icon + asterisk + + + _Polygon Tool + app.state-polygon + tool_polyline_icon + O + + + _Gradient Tool + app.state-gradient + tool_gradient_icon + G + + + _Spline Tool + app.state-bline + tool_spline_icon + B + + + _Draw Tool + app.state-draw + tool_draw_icon + P + + + _Cutout Tool + app.state-lasso + tool_cutout_icon + C + + + _Width Tool + app.state-width + tool_width_icon + W + + + _Fill Tool + app.state-fill + tool_fill_icon + U + + + _Eyedrop Tool + app.state-eyedrop + tool_eyedrop_icon + D + + + _Skeleton Tool + app.state-bone + tool_skeleton_icon + D + + + _Text Tool + app.state-text + tool_text_icon + T + + + _Sketch Tool + app.state-sketch + tool_sketch_icon + K + + + _Zoom Tool + app.state-zoom + tool_zoom_icon + Z + + + + + _Layer +
+ + _New Layer + + _Blurs + + + _Distortions + + + _Example + + + _Filters + + + _Fractals + + + _Geometry + + + _Gradients + + + _Other + + + _Stylize + + + _Time + + + _Transform + + +
+
+
+
+
+
+ + _Cut + app.cut + <Primary>x + edit-cut + + + _Copy + app.copy + <Primary>c + edit-copy + + + _Paste + app.paste + <Primary>v + edit-paste + +
+
+ + _Plug-Ins + + + _Window +
+ + _Workspace +
+ + _Default + app.workspace-default + + + _Composting + app.workspace-composting + + + _Animating + app.workspace-animating + +
+
+ + _Save Workspace... + app.save-workspace + action_doc_saveas_icon + + + _Edit Workspaces... + app.edit-workspacelist + +
+
+
+ + +
+ + _Help +
+ + _Help + app.help + help-browser + F1 + +
+
+ + _Keyboard Shortcuts + app.help-shortcuts + preferences-desktop-keyboard + + + _Tutorials + app.help-tutorials + help-browser + + + _Reference + app.help-reference + help-browser + + + _Frequently Asked Questions + app.help-faq + help-browser + +
+
+ + _Get Support + app.help-support + help-browser + +
+
+ + _About Synfig Studio + app.help-about + synfig_icon + +
+
+
+
\ No newline at end of file diff --git a/synfig-studio/src/gui/resources/ui/top_toolbar.glade b/synfig-studio/src/gui/resources/ui/top_toolbar.glade new file mode 100644 index 00000000000..440b13ee0d2 --- /dev/null +++ b/synfig-studio/src/gui/resources/ui/top_toolbar.glade @@ -0,0 +1,170 @@ + + + + + True + False + + + True + False + Undo the previous action + app.undo + action_doc_undo_icon + + + False + True + + + + + True + False + Redo the previously undone action + app.redo + action_doc_redo_icon + + + False + True + + + + + True + False + + + False + True + + + + + True + False + Shows the Preview Settings Dialog + app.preview + preview_options_icon + + + False + True + + + + + True + False + Shows the Render Settings Dialog + app.render + render_options_icon + + + False + True + + + + + True + False + + + False + True + + + + + True + False + Refresh workarea + app.refresh + view-refresh + + + False + True + + + + + True + False + + + + + True + False + Render future and past frames in background when enabled + app.background-rendering + background_rendering_icon + + + False + True + + + + + True + False + + + False + True + + + + + True + False + + + False + True + + + + + True + False + Show Onion Skin when enabled + app.onion-skin + onion_skin_icon + + + False + True + + + + + True + False + + + + + True + False + + + + + True + False + Show Onion Skin on Keyframes when enabled, on Frames when disabled + app.onion-skin-keyframes + keyframe_icon + + + False + True + + + + \ No newline at end of file