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

Notify profiler about root window size.

This commit is contained in:
Bartosz Taudul
2018-08-17 16:54:56 +02:00
parent 9416f5bb49
commit df7db3bd2b
2 changed files with 8 additions and 2 deletions
+4
View File
@@ -50,6 +50,8 @@ public:
static bool Draw();
void NotifyRootWindowSize( float w, float h ) { m_rootWidth = w; m_rootHeight = h; }
private:
enum class Namespace : uint8_t
{
@@ -240,6 +242,8 @@ private:
const char* m_textEditorFile;
ImFont* m_textEditorFont;
float m_rootWidth, m_rootHeight;
struct FindZone {
enum : uint64_t { Unselected = std::numeric_limits<uint64_t>::max() - 1 };
enum class GroupBy : int { Thread, UserText, Callstack };