summaryrefslogtreecommitdiff
path: root/ui/pane.h
diff options
context:
space:
mode:
authorMark Rowe <mark@vector35.com>2025-09-02 09:50:57 -0700
committerMark Rowe <mark@vector35.com>2025-09-04 14:41:22 -0700
commita1a26dbbc141d2f281d1be3fe630dcc14858c826 (patch)
treeebe95a05b31a65a3d7730eaf67e65f73d199e13c /ui/pane.h
parent9e3c5788421669152c81290d36fc207944fbc603 (diff)
Further improve feature map behavior when feature map pane is hidden
Diffstat (limited to 'ui/pane.h')
-rw-r--r--ui/pane.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/ui/pane.h b/ui/pane.h
index 60aed6c8..53f8a4bf 100644
--- a/ui/pane.h
+++ b/ui/pane.h
@@ -423,6 +423,13 @@ class BINARYNINJAUIAPI SplitPaneWidget : public QWidget
void bindActions();
+ // Returns the feature map for the current view. If none exists, a new feature map
+ // will be created, registered, and returned.
+ FeatureMap* featureMapForCurrentView();
+
+ // Update the visible feature map to match the current view.
+ void updateVisibleFeatureMap();
+
public:
SplitPaneWidget(Pane* initial, FileContext* fileContext);
Pane* currentPane() const;
@@ -435,7 +442,6 @@ class BINARYNINJAUIAPI SplitPaneWidget : public QWidget
void enumerateViewPanes(const std::function<void(ViewPane*)>& func);
Pane* paneAt(const QPoint& pos);
- void createFeatureMap();
void recreateFeatureMaps();
void refreshFeatureMap();
void resetFeatureMap(bool sizeOnly = false);