From 9b4fabd29e902d2eaa50a70d5b3c1efe4412f604 Mon Sep 17 00:00:00 2001 From: Ulf Hermann Date: Thu, 26 Apr 2018 16:02:59 +0200 Subject: [PATCH] Debugger: Export the TRACEPOINT icon and add a TOOLBAR variant Change-Id: I8cb5fab06b145c7eb68c370d3ad864fde75af3bc Reviewed-by: Alessandro Portale --- src/plugins/debugger/debuggericons.cpp | 3 +++ src/plugins/debugger/debuggericons.h | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/plugins/debugger/debuggericons.cpp b/src/plugins/debugger/debuggericons.cpp index 006bee3ee7b..15d480e3f7c 100644 --- a/src/plugins/debugger/debuggericons.cpp +++ b/src/plugins/debugger/debuggericons.cpp @@ -44,6 +44,9 @@ const Icon WATCHPOINT({ const Icon TRACEPOINT({ {":/utils/images/eye_open.png", Theme::TextColorNormal}, {":/debugger/images/tracepointoverlay.png", Theme::TextColorNormal}}, Icon::Tint | Icon::PunchEdges); +const Icon TRACEPOINT_TOOLBAR({ + {":/utils/images/eye_open.png", Theme::IconsBaseColor}, + {":/debugger/images/tracepointoverlay.png", Theme::IconsBaseColor}}); const Icon CONTINUE( ":/debugger/images/debugger_continue.png"); const Icon CONTINUE_FLAT({ diff --git a/src/plugins/debugger/debuggericons.h b/src/plugins/debugger/debuggericons.h index 7306ce920af..7d8bf804c1a 100644 --- a/src/plugins/debugger/debuggericons.h +++ b/src/plugins/debugger/debuggericons.h @@ -36,12 +36,14 @@ namespace Icons { DEBUGGER_EXPORT extern const Utils::Icon RECORD_ON; DEBUGGER_EXPORT extern const Utils::Icon RECORD_OFF; +DEBUGGER_EXPORT extern const Utils::Icon TRACEPOINT; +DEBUGGER_EXPORT extern const Utils::Icon TRACEPOINT_TOOLBAR; + extern const Utils::Icon BREAKPOINT; extern const Utils::Icon BREAKPOINT_DISABLED; extern const Utils::Icon BREAKPOINT_PENDING; extern const Utils::Icon BREAKPOINTS; extern const Utils::Icon WATCHPOINT; -extern const Utils::Icon TRACEPOINT; extern const Utils::Icon CONTINUE; extern const Utils::Icon CONTINUE_FLAT; extern const Utils::Icon DEBUG_CONTINUE_SMALL;