summaryrefslogtreecommitdiff
path: root/ui/render.h
diff options
context:
space:
mode:
authorRusty Wagner <rusty.wagner@gmail.com>2022-10-24 16:10:05 -0600
committerPeter LaFosse <peter@vector35.com>2022-11-10 16:19:13 -0500
commitccf83b992b7f0de00d384d17b1a3406a0fca28ab (patch)
treea51653dfd00f38286021fabfac1a307346077c91 /ui/render.h
parent57aa7249fe0fdfa5cabc5231595314df91d12729 (diff)
Fix rendering of code lines when scrolling right, fix TokenizedTextView example
Diffstat (limited to 'ui/render.h')
-rw-r--r--ui/render.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/render.h b/ui/render.h
index 92dc654f..e8a03774 100644
--- a/ui/render.h
+++ b/ui/render.h
@@ -91,7 +91,7 @@ class BINARYNINJAUIAPI RenderContext
void drawInstructionHighlight(QPainter& p, const QRect& rect);
void drawLinearDisassemblyLineBackground(
- QPainter& p, BNLinearDisassemblyLineType type, const QRect& rect, int gutterWidth);
+ QPainter& p, BNLinearDisassemblyLineType type, const QRect& rect, const QRect& dirtyRect, int gutterWidth);
void drawDisassemblyLine(QPainter& p, int left, int top,
const std::vector<BinaryNinja::InstructionTextToken>& tokens, HighlightTokenState& highlight,
bool highlightOnly = false);