summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Ferrell <josh@vector35.com>2020-08-17 18:38:22 -0400
committerJosh Ferrell <josh@vector35.com>2020-10-06 19:40:50 -0400
commit02003b1956aa818577cd7d92b5d5fc743cd1b6ac (patch)
tree357e302f0d84e15229c5c51ebcf330a6e137849b
parentf36ae0b490e1a975af86bd7b1ad6e729b7430929 (diff)
Add proper indentation guides
-rw-r--r--binaryninjacore.h1
-rw-r--r--ui/render.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/binaryninjacore.h b/binaryninjacore.h
index a4ec806e..938ed0cb 100644
--- a/binaryninjacore.h
+++ b/binaryninjacore.h
@@ -261,6 +261,7 @@ extern "C"
PossibleValueToken = 30,
PossibleValueTypeToken = 31,
ArrayIndexToken = 32,
+ IndentationToken = 33,
// The following are output by the analysis system automatically, these should
// not be used directly by the architecture plugins
CodeSymbolToken = 64,
diff --git a/ui/render.h b/ui/render.h
index 770326ab..5c05c4b6 100644
--- a/ui/render.h
+++ b/ui/render.h
@@ -60,6 +60,7 @@ class BINARYNINJAUIAPI RenderContext
{
QWidget* m_owner;
FontParameters m_fontParams;
+ bool m_drawIndents;
public:
RenderContext(QWidget* parent, float fontScale = 1.0f);