diff --git a/toonz/sources/toonz/Resources/tool_assistant.svg b/toonz/sources/toonz/Resources/tool_assistant.svg deleted file mode 100644 index 692eda7..0000000 --- a/toonz/sources/toonz/Resources/tool_assistant.svg +++ /dev/null @@ -1,13 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<svg version="1.1" id="Layer_1_copy_2" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" - y="0px" viewBox="0 0 26 26" style="enable-background:new 0 0 26 26;" xml:space="preserve"> -<style type="text/css"> - .st0{fill:url(#icon_1_);stroke:#000000;stroke-linejoin:round;} -</style> -<linearGradient id="icon_1_" gradientUnits="userSpaceOnUse" x1="13.5" y1="23.5" x2="13.5" y2="3.5" gradientTransform="matrix(1 0 0 -1 0 26)"> - <stop offset="0" style="stop-color:#FCFCFC"/> - <stop offset="1" style="stop-color:#CACACA"/> -</linearGradient> -<path id="icon" class="st0" d="M4.5,2.5h-1v20h3v-1h1v1h3v-1h1v1h3v-1h1v1h3v-1h0.8l1,1h3.2v-1L4.5,2.5z M6.5,8.7l9.8,9.8H6.5V8.7z" - /> -</svg> diff --git a/toonz/sources/toonz/Resources/tool_assistant_rollover.svg b/toonz/sources/toonz/Resources/tool_assistant_rollover.svg deleted file mode 100644 index ef3622f..0000000 --- a/toonz/sources/toonz/Resources/tool_assistant_rollover.svg +++ /dev/null @@ -1,13 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<svg version="1.1" id="Layer_1_copy_3" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" - y="0px" viewBox="0 0 26 26" style="enable-background:new 0 0 26 26;" xml:space="preserve"> -<style type="text/css"> - .st0{fill:url(#icon_1_);stroke:#000000;stroke-linejoin:round;} -</style> -<linearGradient id="icon_1_" gradientUnits="userSpaceOnUse" x1="13.5" y1="23.5" x2="13.5" y2="3.5" gradientTransform="matrix(1 0 0 -1 0 26)"> - <stop offset="0" style="stop-color:#FFFFE8"/> - <stop offset="1" style="stop-color:#EDCA6A"/> -</linearGradient> -<path id="icon" class="st0" d="M4.5,2.5h-1v20h3v-1h1v1h3v-1h1v1h3v-1h1v1h3v-1h0.8l1,1h3.2v-1L4.5,2.5z M6.5,8.7l9.8,9.8H6.5V8.7z" - /> -</svg> diff --git a/toonz/sources/toonz/icons/dark/tools/20/assistant.svg b/toonz/sources/toonz/icons/dark/tools/20/assistant.svg new file mode 100644 index 0000000..692eda7 --- /dev/null +++ b/toonz/sources/toonz/icons/dark/tools/20/assistant.svg @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="utf-8"?> +<svg version="1.1" id="Layer_1_copy_2" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" + y="0px" viewBox="0 0 26 26" style="enable-background:new 0 0 26 26;" xml:space="preserve"> +<style type="text/css"> + .st0{fill:url(#icon_1_);stroke:#000000;stroke-linejoin:round;} +</style> +<linearGradient id="icon_1_" gradientUnits="userSpaceOnUse" x1="13.5" y1="23.5" x2="13.5" y2="3.5" gradientTransform="matrix(1 0 0 -1 0 26)"> + <stop offset="0" style="stop-color:#FCFCFC"/> + <stop offset="1" style="stop-color:#CACACA"/> +</linearGradient> +<path id="icon" class="st0" d="M4.5,2.5h-1v20h3v-1h1v1h3v-1h1v1h3v-1h1v1h3v-1h0.8l1,1h3.2v-1L4.5,2.5z M6.5,8.7l9.8,9.8H6.5V8.7z" + /> +</svg> diff --git a/toonz/sources/toonz/mainwindow.cpp b/toonz/sources/toonz/mainwindow.cpp index 8249ec1..342c043 100644 --- a/toonz/sources/toonz/mainwindow.cpp +++ b/toonz/sources/toonz/mainwindow.cpp @@ -2472,7 +2472,7 @@ void MainWindow::defineActions() { createToolAction(T_Plastic, "plastic", QT_TR_NOOP("Plastic Tool"), "X"); createToolAction(T_Ruler, "ruler", QT_TR_NOOP("Ruler Tool"), ""); createToolAction(T_Finger, "finger", QT_TR_NOOP("Finger Tool"), ""); - createToolAction(T_EditAssistants, "tool_assistant", QT_TR_NOOP("Edit Assistants"), ""); + createToolAction(T_EditAssistants, "assistant", QT_TR_NOOP("Edit Assistants"), ""); /*-- Animate tool + mode switching shortcuts --*/ createAction(MI_EditNextMode, QT_TR_NOOP("Animate Tool - Next Mode"), "", diff --git a/toonz/sources/toonz/toonz.qrc b/toonz/sources/toonz/toonz.qrc index 708740e..dad7582 100644 --- a/toonz/sources/toonz/toonz.qrc +++ b/toonz/sources/toonz/toonz.qrc @@ -35,6 +35,7 @@ <file>icons/dark/tools/20/hand.svg</file> <file>icons/dark/tools/20/rotate.svg</file> <file>icons/dark/tools/20/zoom.svg</file> + <file>icons/dark/tools/20/assistant.svg</file> <file>icons/dark/tools/18/edit_center.svg</file> <file>icons/dark/tools/18/edit_all.svg</file>