diff options
author | Bartosz Taudul <wolf@nereid.pl> | 2022-09-15 02:52:35 +0300 |
---|---|---|
committer | Bartosz Taudul <wolf@nereid.pl> | 2022-09-16 00:36:30 +0300 |
commit | 31b5a464cdb858930fb9fd883962d0c90b839009 (patch) | |
tree | 00dacab1f0732dc9190db80e990a126810ba77b4 /server | |
parent | 6dc7c8c6b500928134cacbfe51338b5462da6ba4 (diff) |
Add assembly color tables.
Diffstat (limited to 'server')
-rw-r--r-- | server/TracyImGui.hpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/server/TracyImGui.hpp b/server/TracyImGui.hpp index 793ebca6..ecf26f57 100644 --- a/server/TracyImGui.hpp +++ b/server/TracyImGui.hpp @@ -40,6 +40,23 @@ static constexpr const uint32_t SyntaxColors[] = { 0xFFE2AF35, // special }; +static constexpr const uint32_t AsmOpTypeColors[] = { + 0xFFF4843F, // None + 0xFFF4843F, // Jump + 0xFFF4843F, // Branch + 0xFFF4843F, // Call + 0xFFF4843F, // Ret + 0xFFF4843F, // Privileged +}; + +static constexpr const uint32_t AsmSyntaxColors[] = { + 0xFFFFD1A3, // label + 0xFFB2B2B2, // default ('[', '+', '*', ',') + 0xFF60BC3F, // dword/xmmword 'ptr' + 0xFFBF75C6, // register + 0xFFE899CE, // literal +}; + [[maybe_unused]] static inline float GetScale() { |