From 0911568293968626737281193706755773769970 Mon Sep 17 00:00:00 2001 From: Glenn Smith Date: Wed, 1 May 2024 01:24:28 -0400 Subject: Add address display mode options --- ui/linearview.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ui/linearview.h') diff --git a/ui/linearview.h b/ui/linearview.h index 936ceb59..62cc98bf 100644 --- a/ui/linearview.h +++ b/ui/linearview.h @@ -262,7 +262,7 @@ class BINARYNINJAUIAPI LinearView : public QAbstractScrollArea, public View, pub void getHexDumpLineBytes( const BinaryNinja::LinearDisassemblyLine& line, size_t& skippedBytes, size_t& totalBytes, size_t& totalCols); - void paintHexDumpLine(QPainter& p, const LinearViewLine& line, int xoffset, int y, uint32_t addrLen, int tagOffset); + void paintHexDumpLine(QPainter& p, const LinearViewLine& line, int xoffset, int y, int tagOffset); void paintAnalysisWarningLine(QPainter& p, const LinearViewLine& line, int xoffset, int y); void paintTokenLine(QPainter& p, const LinearViewLine& line, int xoffset, int y, QRect eventRect, int tagOffset); @@ -478,6 +478,7 @@ public: void setContrast(HexEditorHighlightContrast mode); void toggleOption(BNDisassemblyOption option); + void setAddressMode(BNDisassemblyAddressMode mode); virtual bool goToReference(FunctionRef func, uint64_t source, uint64_t target) override; QFont getFont() override { return m_render.getFont(); } -- cgit v1.3.1