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