summaryrefslogtreecommitdiff
path: root/ui
diff options
context:
space:
mode:
Diffstat (limited to 'ui')
-rw-r--r--ui/linearview.h1
-rw-r--r--ui/render.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/ui/linearview.h b/ui/linearview.h
index 1c470cb6..05700e70 100644
--- a/ui/linearview.h
+++ b/ui/linearview.h
@@ -202,6 +202,7 @@ class BINARYNINJAUIAPI LinearView : public QAbstractScrollArea, public View, pub
bool m_cursorAscii;
bool m_tokenSelection = false;
HighlightTokenState m_highlight;
+ bool m_displayCollapseIndicators = false;
uint64_t m_navByRefTarget;
bool m_navByRef = false;
bool m_doubleClickLatch = false;
diff --git a/ui/render.h b/ui/render.h
index 39393e4c..0137f8a5 100644
--- a/ui/render.h
+++ b/ui/render.h
@@ -122,7 +122,7 @@ class BINARYNINJAUIAPI RenderContext
QPainter& p, BNLinearDisassemblyLineType type, const QRect& rect, const QRect& dirtyRect, int gutterWidth);
int drawDisassemblyLine(QPainter& p, int left, int top,
const std::vector<BinaryNinja::InstructionTextToken>& tokens, HighlightTokenState& highlight,
- bool highlightOnly = false) const;
+ bool highlightOnly = false, bool renderCollapseIndicator = false) const;
void drawHexEditorLine(QPainter& p, int left, int top, const HexEditorHighlightState& highlight, BinaryViewRef view,
uint64_t lineStartAddr, size_t cols, size_t firstCol, size_t count, bool cursorVisible, bool cursorAscii,