Skip to content

Commit a1a26db

Browse files
committed
Further improve feature map behavior when feature map pane is hidden
1 parent 9e3c578 commit a1a26db

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

ui/pane.h

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,6 +423,13 @@ class BINARYNINJAUIAPI SplitPaneWidget : public QWidget
423423

424424
void bindActions();
425425

426+
// Returns the feature map for the current view. If none exists, a new feature map
427+
// will be created, registered, and returned.
428+
FeatureMap* featureMapForCurrentView();
429+
430+
// Update the visible feature map to match the current view.
431+
void updateVisibleFeatureMap();
432+
426433
public:
427434
SplitPaneWidget(Pane* initial, FileContext* fileContext);
428435
Pane* currentPane() const;
@@ -435,7 +442,6 @@ class BINARYNINJAUIAPI SplitPaneWidget : public QWidget
435442
void enumerateViewPanes(const std::function<void(ViewPane*)>& func);
436443
Pane* paneAt(const QPoint& pos);
437444

438-
void createFeatureMap();
439445
void recreateFeatureMaps();
440446
void refreshFeatureMap();
441447
void resetFeatureMap(bool sizeOnly = false);

0 commit comments

Comments
 (0)