Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/wolfpld/tracy.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBartosz Taudul <wolf@nereid.pl>2022-09-27 23:31:53 +0300
committerBartosz Taudul <wolf@nereid.pl>2022-09-27 23:31:53 +0300
commita8276c41c34ed0321ddcc9e41623be830fde0a30 (patch)
tree8f7d165f26e413f8e1f06dd5e183a4f360c9bf41 /server/TracyView.hpp
parenta8be0bc91efa1b14da5bf196b829e0462aecff96 (diff)
Allow checking whether View was active.
Currently this only checks if client connection is active.
Diffstat (limited to 'server/TracyView.hpp')
-rw-r--r--server/TracyView.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/TracyView.hpp b/server/TracyView.hpp
index 0be47b75..6567d570 100644
--- a/server/TracyView.hpp
+++ b/server/TracyView.hpp
@@ -96,6 +96,7 @@ public:
~View();
static bool Draw();
+ bool WasActive() const;
void NotifyRootWindowSize( float w, float h ) { m_rootWidth = w; m_rootHeight = h; }
void ViewSource( const char* fileName, int line );