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

Move mouse highlight data to a separate struct.

This commit is contained in:
Bartosz Taudul
2018-03-04 22:21:35 +01:00
parent f7829a7eae
commit dee7fd27be
2 changed files with 15 additions and 12 deletions
+8 -3
View File
@@ -32,6 +32,13 @@ class View
double lenMod;
};
struct Region
{
bool active = false;
int64_t start;
int64_t end;
};
public:
View() : View( "127.0.0.1" ) {}
View( const char* addr );
@@ -142,9 +149,7 @@ private:
const GpuEvent* m_gpuHighlight;
uint64_t m_gpuInfoWindowThread;
bool m_drawRegion;
int64_t m_regionStart;
int64_t m_regionEnd;
Region m_highlight;
uint64_t m_gpuThread;
int64_t m_gpuStart;