summaryrefslogtreecommitdiff
path: root/ui/render.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui/render.h')
-rw-r--r--ui/render.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ui/render.h b/ui/render.h
index 2ae59d63..770326ab 100644
--- a/ui/render.h
+++ b/ui/render.h
@@ -75,6 +75,9 @@ public:
QColor getHighlightColor(BNHighlightColor color);
HighlightTokenState getTokenForDisassemblyLinePosition(size_t col, const std::vector<BinaryNinja::InstructionTextToken>& tokens);
+ HighlightTokenState getTokenForDisassemblyTokenIndex(size_t tokenIndex,
+ const std::vector<BinaryNinja::InstructionTextToken>& tokens);
+ HighlightTokenState getHighlightTokenForTextToken(const BinaryNinja::InstructionTextToken& token);
void drawText(QPainter& p, int x, int y, QColor color, const QString& text);