From cf4cd6949475addc1d9c2c75e8665c6f8ac40cec Mon Sep 17 00:00:00 2001 From: Jeremy Bullock Date: Fri, 7 Aug 2020 00:08:17 -0700 Subject: [PATCH] Add some extra brush commands to the status bar. (#118) --- .travis.yml | 3 --- toonz/sources/toonz/statusbar.cpp | 17 +++++++++++------ 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/.travis.yml b/.travis.yml index 6f5c4649..fa023614 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,9 +13,6 @@ script: matrix: include: - - os: linux - compiler: gcc - cache: ccache - os: linux compiler: clang - os: osx diff --git a/toonz/sources/toonz/statusbar.cpp b/toonz/sources/toonz/statusbar.cpp index e3558847..39bbc352 100644 --- a/toonz/sources/toonz/statusbar.cpp +++ b/toonz/sources/toonz/statusbar.cpp @@ -130,15 +130,20 @@ void StatusBar::makeMap() { m_infoMap.insert({"T_Brush", "Brush Tool: Draws in the work area freehand"}); m_infoMap.insert( {"T_BrushVector", "Brush Tool: Draws in the work area freehand" + spacer + - "Shift - Straight Lines"}); - m_infoMap.insert( - {"T_BrushSmartRaster", "Brush Tool: Draws in the work area freehand" + - spacer + "Shift - Straight Lines" + spacer + - "Control - Vertical and Horizontal Lines"}); + "Shift - Straight Lines" + spacer + + "Hold Alt - Toggle Snapping"}); + m_infoMap.insert({"T_BrushSmartRaster", + "Brush Tool: Draws in the work area freehand" + spacer + + "Shift - Straight Lines" + spacer + + "Control - Vertical and Horizontal Lines" + spacer + + "Ctrl + Alt - Add / Remove Vanishing Point" + spacer + + "Alt - Draw to Vanishing Point"}); m_infoMap.insert( {"T_BrushRaster", "Brush Tool: Draws in the work area freehand" + spacer + "Shift - Straight Lines" + spacer + - "Control - Vertical and Horizontal Lines"}); + "Control - Vertical and Horizontal Lines" + spacer + + "Ctrl + Alt - Add / Remove Vanishing Point" + + spacer + "Alt - Draw to Vanishing Point"}); m_infoMap.insert({"T_Geometric", "Geometry Tool: Draws geometric shapes"}); m_infoMap.insert({"T_Type", "Type Tool: Adds text"}); m_infoMap.insert(