File tree Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Original file line number Diff line number Diff line change 3737// Current ABI version for linking to the core. This is incremented any time
3838// there are changes to the API that affect linking, including new functions,
3939// new types, or modifications to existing functions or types.
40- #define BN_CURRENT_CORE_ABI_VERSION 130
40+ #define BN_CURRENT_CORE_ABI_VERSION 131
4141
4242// Minimum ABI version that is supported for loading of plugins. Plugins that
4343// are linked to an ABI version less than this will not be able to load and
4444// will require rebuilding. The minimum version is increased when there are
4545// incompatible changes that break binary compatibility, such as changes to
4646// existing types or functions.
47- #define BN_MINIMUM_CORE_ABI_VERSION 130
47+ #define BN_MINIMUM_CORE_ABI_VERSION 131
4848
4949#ifdef __GNUC__
5050 #ifdef BINARYNINJACORE_LIBRARY
@@ -2170,6 +2170,7 @@ extern "C"
21702170 // Pane colors
21712171 ActivePaneBackgroundColor,
21722172 InactivePaneBackgroundColor,
2173+ FocusedPaneBackgroundColor,
21732174
21742175 // Tab colors
21752176 TabBarTabActiveColor,
Original file line number Diff line number Diff line change @@ -37,9 +37,10 @@ class BINARYNINJAUIAPI Pane : public QWidget
3737 PaneHeader* m_header = nullptr ;
3838 CloseButton* m_closeButton = nullptr ;
3939 bool m_active = false ;
40+ bool m_containerFocused = false ;
4041 QVBoxLayout* m_layout = nullptr ;
4142
42- public:
43+ public:
4344 Pane (QWidget* widget);
4445
4546 QWidget* widget () const { return m_widget; }
@@ -55,22 +56,24 @@ class BINARYNINJAUIAPI Pane : public QWidget
5556
5657 virtual void setIsSinglePane (bool isSinglePane);
5758 virtual void setIsActivePane (bool active);
59+ virtual void setIsContainerFocused (bool focused);
5860 virtual Qt::Orientation defaultSplitDirection () const { return Qt::Horizontal; }
5961 virtual void setDefaultSplitDirection (Qt::Orientation orientation);
6062
6163 void setWidget (QWidget* widget);
6264
63- protected:
65+ protected:
6466 void init (PaneHeader* header);
67+ void updateHeaderColor ();
6568
66- Q_SIGNALS:
69+ Q_SIGNALS:
6770 void paneCloseRequested ();
6871 void paneSplitRequested (Pane* newPane, Qt::Edge edge);
6972 void movePane (Pane* target, Qt::Edge edge);
7073 void newWindowForPane (QScreen* screen, QPoint pos);
7174 void notifyViewChanged (ViewFrame* frame);
7275
73- public Q_SLOTS:
76+ public Q_SLOTS:
7477 void splitButtonClicked (Qt::Orientation orientation);
7578 void closeButtonClicked ();
7679 void headerClicked ();
You can’t perform that action at this time.
0 commit comments