diff options
| author | Josh Ferrell <josh@vector35.com> | 2024-02-14 10:28:23 -0500 |
|---|---|---|
| committer | Josh Ferrell <josh@vector35.com> | 2024-02-14 15:09:59 -0500 |
| commit | c36b9bb0debd6c50e7ae219455945a711946e5ce (patch) | |
| tree | 4c8f2682619dba42a31a5d0cc18cbefa57ae22cf | |
| parent | 4826632608322848890494094005797859535746 (diff) | |
Fix featuremap linear display and large binary support
| -rw-r--r-- | ui/featuremap.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/ui/featuremap.h b/ui/featuremap.h index 72395862..ec2f562a 100644 --- a/ui/featuremap.h +++ b/ui/featuremap.h @@ -37,6 +37,7 @@ class BINARYNINJAUIAPI FeatureMap : public QWidget, public BinaryNinja::BinaryDa { Q_OBJECT + std::vector<uint8_t> m_imageData; QImage* m_image = nullptr; QImage* m_staticImage = nullptr; std::vector<std::pair<uint64_t, uint64_t>> m_regions; @@ -46,11 +47,12 @@ class BINARYNINJAUIAPI FeatureMap : public QWidget, public BinaryNinja::BinaryDa bool m_updatesPending = false; QTimer* m_updateTimer = nullptr; - size_t m_bvWidth = 0; - size_t m_bvHeight = 0; + size_t m_imgWidth = 0; + size_t m_imgHeight = 0; + double m_verticalScaleFactor = 1.0; uint64_t m_bvLength = 0; - bool m_naturalOrientation; + bool m_verticalOrientation; int m_curLocX = 0; int m_curLocY = 0; |
