Add some extra brush commands to the status bar. (#118)

This commit is contained in:
Jeremy Bullock 2020-08-07 00:08:17 -07:00 committed by GitHub
parent feb9c4f48f
commit cf4cd69494
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 9 deletions

View file

@ -13,9 +13,6 @@ script:
matrix: matrix:
include: include:
- os: linux
compiler: gcc
cache: ccache
- os: linux - os: linux
compiler: clang compiler: clang
- os: osx - os: osx

View file

@ -130,15 +130,20 @@ void StatusBar::makeMap() {
m_infoMap.insert({"T_Brush", "Brush Tool: Draws in the work area freehand"}); m_infoMap.insert({"T_Brush", "Brush Tool: Draws in the work area freehand"});
m_infoMap.insert( m_infoMap.insert(
{"T_BrushVector", "Brush Tool: Draws in the work area freehand" + spacer + {"T_BrushVector", "Brush Tool: Draws in the work area freehand" + spacer +
"Shift - Straight Lines"}); "Shift - Straight Lines" + spacer +
m_infoMap.insert( "Hold Alt - Toggle Snapping"});
{"T_BrushSmartRaster", "Brush Tool: Draws in the work area freehand" + m_infoMap.insert({"T_BrushSmartRaster",
spacer + "Shift - Straight Lines" + spacer + "Brush Tool: Draws in the work area freehand" + spacer +
"Control - Vertical and Horizontal Lines"}); "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( m_infoMap.insert(
{"T_BrushRaster", "Brush Tool: Draws in the work area freehand" + spacer + {"T_BrushRaster", "Brush Tool: Draws in the work area freehand" + spacer +
"Shift - Straight Lines" + 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_Geometric", "Geometry Tool: Draws geometric shapes"});
m_infoMap.insert({"T_Type", "Type Tool: Adds text"}); m_infoMap.insert({"T_Type", "Type Tool: Adds text"});
m_infoMap.insert( m_infoMap.insert(