summaryrefslogtreecommitdiff
path: root/ui/linearview.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui/linearview.h')
-rw-r--r--ui/linearview.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/ui/linearview.h b/ui/linearview.h
index 413b66e1..c429e31d 100644
--- a/ui/linearview.h
+++ b/ui/linearview.h
@@ -27,6 +27,7 @@ struct BINARYNINJAUIAPI LinearViewCursorPosition
BinaryNinja::Ref<BinaryNinja::LinearViewCursor> cursor;
size_t lineIndex;
size_t tokenIndex;
+ size_t characterIndex;
LinearViewCursorPosition();
LinearViewCursorPosition(const LinearViewCursorPosition& pos);
@@ -151,6 +152,10 @@ class BINARYNINJAUIAPI LinearView: public QAbstractScrollArea, public View, publ
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 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);
+
void setSectionSemantics(const std::string& name, BNSectionSemantics semantics);
bool isLineValidHighlight(const BinaryNinja::LinearDisassemblyLine& line);