diff options
| author | Glenn Smith <glenn@vector35.com> | 2024-06-25 21:18:45 -0400 |
|---|---|---|
| committer | Glenn Smith <glenn@vector35.com> | 2024-06-25 21:18:45 -0400 |
| commit | 7216528120131567342314375161770083589864 (patch) | |
| tree | f9b26639963310464f6e9900c041aebdcbb76c57 | |
| parent | 4584151a765ee1b21dce4e116a14f6901e16eeb2 (diff) | |
Add FlowGraphWidget::getScale()
| -rw-r--r-- | ui/flowgraphwidget.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/flowgraphwidget.h b/ui/flowgraphwidget.h index c267a1d0..3ed2886e 100644 --- a/ui/flowgraphwidget.h +++ b/ui/flowgraphwidget.h @@ -249,6 +249,7 @@ class BINARYNINJAUIAPI FlowGraphWidget : virtual void setRelatedIndexHighlights(FunctionRef func, const std::set<size_t>& related) override; virtual void setRelatedInstructionHighlights(FunctionRef func, const std::set<uint64_t>& related) override; + float getScale() const { return m_scale; } float maxScale() const; virtual void zoom(bool direction); virtual void zoomToScale(float scale = 1.0f); |
