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

Animate thread position and height.

This commit is contained in:
Bartosz Taudul
2019-02-21 21:18:41 +01:00
parent e945902f40
commit f1dd4ef3d9
2 changed files with 74 additions and 12 deletions
+8 -6
View File
@@ -43,6 +43,14 @@ class View
};
public:
struct VisData
{
bool visible = true;
bool showFull = true;
int offset = 0;
int height = 0;
};
using SetTitleCallback = void(*)( const char* );
View( ImFont* fixedWidth = nullptr, SetTitleCallback stcb = nullptr ) : View( "127.0.0.1", fixedWidth, stcb ) {}
@@ -77,12 +85,6 @@ private:
uint64_t mem;
};
struct VisData
{
bool visible = true;
bool showFull = true;
};
void InitTextEditor();
const char* ShortenNamespace( const char* name ) const;