Skip to content

OpenToonz - An open-source full-featured 2D animation creation software

C

Add Icon for Toggle Sub-Xsheet Navigation Bar

manongjohn52b494135e9f
diff --git a/toonz/sources/toonz/icons/dark/actions/16/toggle_sub_nav.svg b/toonz/sources/toonz/icons/dark/actions/16/toggle_sub_nav.svg
new file mode 100644
index 000000000..855f9a1e9
--- /dev/null
+++ b/toonz/sources/toonz/icons/dark/actions/16/toggle_sub_nav.svg
@@ -0,0 +1,58 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+ width="100%"
+ height="100%"
+ viewBox="0 0 16 16"
+ version="1.1"
+ xml:space="preserve"
+ style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;"
+ id="svg9"
+ sodipodi:docname="toggle_sub_nav.svg"
+ inkscape:version="1.1.2 (b8e25be833, 2022-02-05)"
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:svg="http://www.w3.org/2000/svg"><defs
+ id="defs13">
+
+
+
+
+ </defs><sodipodi:namedview
+ id="namedview11"
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="1.0"
+ inkscape:pageshadow="2"
+ inkscape:pageopacity="0.0"
+ inkscape:pagecheckerboard="0"
+ showgrid="false"
+ inkscape:zoom="31.775611"
+ inkscape:cx="11.596945"
+ inkscape:cy="9.1264964"
+ inkscape:window-width="1920"
+ inkscape:window-height="1141"
+ inkscape:window-x="-7"
+ inkscape:window-y="-7"
+ inkscape:window-maximized="1"
+ inkscape:current-layer="svg9" />
+
+<g
+ id="g8948"><rect
+ id="bg"
+ x="0"
+ y="0"
+ width="16"
+ height="16"
+ style="fill:#878787;fill-opacity:0" /><path
+ d="m 11,9 h 4 V 7 H 12 V 4 H 8 V 1 H 0 V 9 H 1 V 8 2 H 7 V 9 H 8 V 5 h 3 z m 1,0 V 8 h 2 v 1 z"
+ id="path3"
+ sodipodi:nodetypes="cccccccccccccccccccccccc" /><path
+ d="M 4.499,8 H 11 V 7 H 0 V 8 Z M 1,10 c 0.0027,0.526025 -0.257,0.696 0,1 H 14 V 10 Z M 0,4 V 5 H 7 V 4 Z"
+ style="fill-opacity:0.5"
+ id="path5"
+ sodipodi:nodetypes="cccccccccccccccc" /><path
+ id="rect4189"
+ style="fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:0;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:2;stroke-dasharray:none"
+ d="m 0,10 v 6 h 16 v -6 z m 1,1 h 4 l 3,2 -3,2 H 1 l 3,-2 z m 7,0 h 4 l 3,2 -3,2 H 8 l 3,-2 z"
+ sodipodi:nodetypes="ccccccccccccccccccc" /></g></svg>
diff --git a/toonz/sources/toonz/mainwindow.cpp b/toonz/sources/toonz/mainwindow.cpp
index 6f617a48b..452487003 100644
--- a/toonz/sources/toonz/mainwindow.cpp
+++ b/toonz/sources/toonz/mainwindow.cpp
@@ -2310,7 +2310,8 @@ void MainWindow::defineActions() {
createRightClickMenuAction(MI_ToggleXSheetToolbar,
QT_TR_NOOP("Toggle XSheet Toolbar"), "");
createRightClickMenuAction(MI_ToggleXsheetBreadcrumbs,
- QT_TR_NOOP("Toggle Sub-Xsheet Navigation Bar"), "");
+ QT_TR_NOOP("Toggle Sub-Xsheet Navigation Bar"), "",
+ "toggle_sub_nav");
createRightClickMenuAction(MI_ToggleXsheetCameraColumn,
QT_TR_NOOP("Show/Hide Xsheet Camera Column"), "");
createRightClickMenuAction(MI_SetKeyframes, QT_TR_NOOP("&Set Key"), "Z",
diff --git a/toonz/sources/toonz/toonz.qrc b/toonz/sources/toonz/toonz.qrc
index f7179e675..0224c2a55 100644
--- a/toonz/sources/toonz/toonz.qrc
+++ b/toonz/sources/toonz/toonz.qrc
@@ -382,6 +382,8 @@
<file>icons/dark/actions/16/next_nav_tag.svg</file>
<file>icons/dark/actions/16/prev_nav_tag.svg</file>
+ <file>icons/dark/actions/16/toggle_sub_nav.svg</file>
+
<!-- Modes, Types, Options -->
<file>icons/dark/actions/16/ink_check.svg</file>
<file>icons/dark/actions/16/inks_only.svg</file>