diff options
| author | Glenn Smith <glenn@vector35.com> | 2024-12-27 16:14:46 -0500 |
|---|---|---|
| committer | Glenn Smith <glenn@vector35.com> | 2025-01-30 17:20:05 -0500 |
| commit | 8862696926173104957729683832591438161557 (patch) | |
| tree | 78ba6d7dc8144430136086c8dc84726171eec8ab /ui/linearview.h | |
| parent | 5a5426d030b6be26d4564ba1eba2d8a275533256 (diff) | |
Render Layers
Diffstat (limited to 'ui/linearview.h')
| -rw-r--r-- | ui/linearview.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ui/linearview.h b/ui/linearview.h index 888425e7..d328fd7c 100644 --- a/ui/linearview.h +++ b/ui/linearview.h @@ -242,6 +242,8 @@ class BINARYNINJAUIAPI LinearView : public QAbstractScrollArea, public View, pub QWidget* m_dataButtonContainer = nullptr; QHBoxLayout* m_dataButtonLayout = nullptr; + std::set<std::string> m_layers; + void setTopToAddress(uint64_t addr); void setTopToOrderingIndex(uint64_t idx); void refreshLines(size_t lineOffset = 0, bool refreshUIContext = true); @@ -499,6 +501,9 @@ public: void setDisplayedFileName(); void setAddressBaseOffset(bool toHere); + void toggleRenderLayer(const std::string& layer); + BinaryNinja::Ref<BinaryNinja::LinearViewCursor> applyRenderLayers(BinaryNinja::Ref<BinaryNinja::LinearViewCursor> cursor); + virtual bool goToReference(FunctionRef func, uint64_t source, uint64_t target) override; QFont getFont() override { return m_render.getFont(); } |
