1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

Extract context switch UI from View.

This commit is contained in:
Bartosz Taudul
2022-07-02 13:43:09 +02:00
parent c9f77ee5fa
commit 10dbefefab
6 changed files with 303 additions and 286 deletions
+2
View File
@@ -23,6 +23,8 @@ static inline ImVec2 operator-( const ImVec2& l, const ImVec2& r ) { return ImVe
namespace tracy
{
void DrawZigZag( ImDrawList* draw, const ImVec2& wpos, double start, double end, double h, uint32_t color, float thickness = 1.f );
static const ImVec4 SyntaxColors[] = {
{ 0.7f, 0.7f, 0.7f, 1 }, // default
{ 0.45f, 0.68f, 0.32f, 1 }, // comment