diff options
| -rw-r--r-- | binaryninjacore.h | 6 | ||||
| -rw-r--r-- | ui/sidebarwidget.h | 4 |
2 files changed, 10 insertions, 0 deletions
diff --git a/binaryninjacore.h b/binaryninjacore.h index e278b446..2723ceae 100644 --- a/binaryninjacore.h +++ b/binaryninjacore.h @@ -2156,7 +2156,13 @@ extern "C" // Sidebar colors SidebarBackgroundColor, SidebarInactiveIconColor, + SidebarHoverIconColor, SidebarActiveIconColor, + SidebarFocusedIconColor, + SidebarHoverBackgroundColor, + SidebarActiveBackgroundColor, + SidebarFocusedBackgroundColor, + SidebarActiveIndicatorLineColor, SidebarHeaderBackgroundColor, // Deprecated, has no effect (paints as QPalette::Window) SidebarHeaderTextColor, SidebarWidgetBackgroundColor, diff --git a/ui/sidebarwidget.h b/ui/sidebarwidget.h index 9567d344..bd31293e 100644 --- a/ui/sidebarwidget.h +++ b/ui/sidebarwidget.h @@ -29,6 +29,10 @@ struct BINARYNINJAUIAPI SidebarIcon QImage original; QImage active; QImage inactive; + QImage hover; + QImage focused; + + const QImage& iconForState(bool isActive, bool isHovered, bool isFocused) const; static SidebarIcon generate(const QImage& src); }; |
