diff options
| author | Glenn Smith <glenn@vector35.com> | 2023-02-01 17:00:31 -0500 |
|---|---|---|
| committer | Glenn Smith <glenn@vector35.com> | 2023-05-23 12:36:37 -0400 |
| commit | 6469044391346306295090819711124692326986 (patch) | |
| tree | e7c2343b407fb7dc262241c0c85d2a0cafa0cd7e | |
| parent | b6bf65751a88ea37a85ff0a1f13f5d2800ac9178 (diff) | |
Add tokentype for braces
| -rw-r--r-- | binaryninjacore.h | 11 | ||||
| -rw-r--r-- | ui/render.h | 1 |
2 files changed, 11 insertions, 1 deletions
diff --git a/binaryninjacore.h b/binaryninjacore.h index bb5ef1f8..67454a43 100644 --- a/binaryninjacore.h +++ b/binaryninjacore.h @@ -351,6 +351,7 @@ extern "C" OperationToken = 36, BaseStructureNameToken = 37, BaseStructureSeparatorToken = 38, + BraceToken = 39, // The following are output by the analysis system automatically, these should // not be used directly by the architecture plugins CodeSymbolToken = 64, @@ -1840,7 +1841,15 @@ extern "C" // Pane colors ActivePaneBackgroundColor, - InactivePaneBackgroundColor + InactivePaneBackgroundColor, + + // Brace colors + BraceOption1Color, + BraceOption2Color, + BraceOption3Color, + BraceOption4Color, + BraceOption5Color, + BraceOption6Color }; // The following edge styles map to Qt's Qt::PenStyle enumeration diff --git a/ui/render.h b/ui/render.h index 5d08c278..02b0a66c 100644 --- a/ui/render.h +++ b/ui/render.h @@ -87,6 +87,7 @@ class BINARYNINJAUIAPI RenderContext QWidget* m_owner; FontParameters m_fontParams; bool m_drawIndents; + std::vector<QColor> m_braceColors; public: RenderContext(QWidget* parent, float fontScale = 1.0f); |
