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

Save/load view state.

This commit is contained in:
Bartosz Taudul
2019-08-28 19:45:22 +02:00
parent dc5444ff0f
commit f37797db44
3 changed files with 38 additions and 0 deletions
+4
View File
@@ -8,6 +8,8 @@
namespace tracy
{
struct ViewData;
class UserData
{
public:
@@ -20,6 +22,8 @@ public:
const std::string& GetDescription() const { return m_description; }
bool SetDescription( const char* description );
void LoadState( ViewData& data );
void SaveState( const ViewData& data );
void StateShouldBePreserved();
private: