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:
@@ -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 };
|
||||
|
||||
Reference in New Issue
Block a user