From 0cf8ae794f97626d4560a87165b30870a313a743 Mon Sep 17 00:00:00 2001 From: Rusty Wagner Date: Tue, 12 Aug 2025 19:34:23 -0400 Subject: Highlight sidebar icon when the sidebar has focus --- ui/sidebar.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ui/sidebar.h') diff --git a/ui/sidebar.h b/ui/sidebar.h index df749fe4..2c26a190 100644 --- a/ui/sidebar.h +++ b/ui/sidebar.h @@ -20,6 +20,8 @@ struct BINARYNINJAUIAPI SidebarMetrics int iconTotalWidth, iconTotalHeight; int dragIconPadding; int dropIconPadding; + int focusRectPadding; + int focusRectRadius; }; /*! @@ -140,6 +142,8 @@ public: void restoreState(const QSettings& settings, const QString& windowStateName, bool globalStateOnly = false); bool restoreActiveState(const QVariant& state); + void focusChanged(SidebarWidgetAndHeader* widget); + static void addSidebarWidgetType(SidebarWidgetType* type); static void moveSidebarWidgetType(SidebarWidgetType* type, SidebarWidgetLocation newLocation, size_t newIndex); static SidebarWidgetType* typeFromName(const QString& name); -- cgit v1.3.1