mirror of
https://github.com/wolfpld/tracy
synced 2025-04-29 12:23:53 +00:00
27 lines
512 B
C++
27 lines
512 B
C++
#include "TracyMouse.hpp"
|
|
|
|
namespace tracy
|
|
{
|
|
|
|
bool IsMouseDown( ImGuiMouseButton button )
|
|
{
|
|
return ImGui::IsMouseDown( button );
|
|
}
|
|
|
|
bool IsMouseClicked( ImGuiMouseButton button )
|
|
{
|
|
return ImGui::IsMouseClicked( button );
|
|
}
|
|
|
|
bool IsMouseDragging( ImGuiMouseButton button, float lock_threshold )
|
|
{
|
|
return ImGui::IsMouseDragging( button, lock_threshold );
|
|
}
|
|
|
|
ImVec2 GetMouseDragDelta( ImGuiMouseButton button, float lock_threshold )
|
|
{
|
|
return ImGui::GetMouseDragDelta( button, lock_threshold );
|
|
}
|
|
|
|
}
|