diff options
| author | Rusty Wagner <rusty.wagner@gmail.com> | 2025-08-12 19:34:23 -0400 |
|---|---|---|
| committer | Rusty Wagner <rusty.wagner@gmail.com> | 2025-08-29 15:42:09 -0400 |
| commit | 0cf8ae794f97626d4560a87165b30870a313a743 (patch) | |
| tree | c77248cf663121c963433c5bd29a7b624d4a1cc7 /ui/sidebar.h | |
| parent | 5c4abf48ab4b77555a79777bc37d52c842ee149a (diff) | |
Highlight sidebar icon when the sidebar has focus
Diffstat (limited to 'ui/sidebar.h')
| -rw-r--r-- | ui/sidebar.h | 4 |
1 files changed, 4 insertions, 0 deletions
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); |
