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

Capture ImGui mouse state.

This commit is contained in:
Bartosz Taudul
2020-08-01 12:02:11 +02:00
parent 39197b9ff8
commit 6836014caa
3 changed files with 33 additions and 4 deletions
+2
View File
@@ -6,6 +6,8 @@
namespace tracy
{
void MouseFrame();
bool IsMouseDown( ImGuiMouseButton button );
bool IsMouseClicked( ImGuiMouseButton button );
bool IsMouseDragging( ImGuiMouseButton button, float lock_threshold = -1.f );