Skip to content

Commit 9c09c16

Browse files
committed
Quiesce the FeatureMap widget when hidden or disabled.
1 parent beda605 commit 9c09c16

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

ui/featuremap.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,15 @@ class BINARYNINJAUIAPI FeatureMap : public QWidget
6868
void updateCoordinates();
6969
void updateMappedRegions();
7070

71+
void connectDataStore();
72+
void disconnectDataStore();
73+
7174
public:
7275
FeatureMap(SplitPaneWidget* owner, BinaryViewRef data, bool vertical = true);
7376
virtual ~FeatureMap();
7477

78+
void enableBackgroundProcessing(bool enable);
79+
7580
void backgroundRefresh();
7681
std::pair<uint64_t, bool> getLinearOffsetForAddress(uint64_t addr);
7782

@@ -93,6 +98,8 @@ class BINARYNINJAUIAPI FeatureMap : public QWidget
9398
virtual void mousePressEvent(QMouseEvent* event) override;
9499
virtual void resizeEvent(QResizeEvent* event) override;
95100
virtual void paintEvent(QPaintEvent* event) override;
101+
virtual void showEvent(QShowEvent* event) override;
102+
virtual void hideEvent(QHideEvent* event) override;
96103
void scrollTo(int x, int y, bool addHistoryEntry = false);
97104

98105
private Q_SLOTS:

0 commit comments

Comments
 (0)