mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 02:31:48 +00:00
17 lines
367 B
C++
17 lines
367 B
C++
#ifndef __TRACYMOUSE_HPP__
|
|
#define __TRACYMOUSE_HPP__
|
|
|
|
#include "../imgui/imgui.h"
|
|
|
|
namespace tracy
|
|
{
|
|
|
|
bool IsMouseDown( ImGuiMouseButton button );
|
|
bool IsMouseClicked( ImGuiMouseButton button );
|
|
bool IsMouseDragging( ImGuiMouseButton button, float lock_threshold = -1.f );
|
|
ImVec2 GetMouseDragDelta( ImGuiMouseButton button, float lock_threshold = -1.f );
|
|
|
|
}
|
|
|
|
#endif
|