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

Allow disabling zone/lock drawing.

This commit is contained in:
Bartosz Taudul
2017-10-13 13:32:23 +02:00
parent fe0366c792
commit ee60fc6885
2 changed files with 33 additions and 5 deletions
+5
View File
@@ -133,6 +133,7 @@ private:
int DrawZoneLevel( const Vector<Event*>& vec, bool hover, double pxns, const ImVec2& wpos, int offset, int depth );
int DrawLocks( uint64_t tid, bool hover, double pxns, const ImVec2& wpos, int offset, LockHighlight& highlight );
void DrawZoneInfoWindow();
void DrawOptions();
void HandleZoneViewMouse( int64_t timespan, const ImVec2& wpos, float w, double& pxns );
@@ -212,6 +213,10 @@ private:
const Event* m_zoneInfoWindow;
const Event* m_zoneHighlight;
LockHighlight m_lockHighlight;
bool m_showOptions;
bool m_drawZones;
bool m_drawLocks;
};
}