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

Drag range boundary to change its span.

This commit is contained in:
Bartosz Taudul
2020-07-29 18:42:15 +02:00
parent 2f5f2e5b1d
commit c1bf853310
2 changed files with 79 additions and 0 deletions
+3
View File
@@ -64,6 +64,8 @@ class View
bool active = false;
bool hiMin = false;
bool hiMax = false;
bool modMin = false;
bool modMax = false;
};
public:
@@ -199,6 +201,7 @@ private:
template<typename Adapter, typename V>
void DrawGpuInfoChildren( const V& children, int64_t ztime );
void HandleRange( Range& range, int64_t timespan, const ImVec2& wpos, float w );
void HandleZoneViewMouse( int64_t timespan, const ImVec2& wpos, float w, double& pxns );
uint32_t GetThreadColor( uint64_t thread, int depth );