mirror of
https://github.com/wolfpld/tracy
synced 2025-04-29 04:23:51 +00:00
19 lines
387 B
C++
19 lines
387 B
C++
#ifndef __TRACYMOUSE_HPP__
|
|
#define __TRACYMOUSE_HPP__
|
|
|
|
#include "../imgui/imgui.h"
|
|
|
|
namespace tracy
|
|
{
|
|
|
|
void MouseFrame();
|
|
|
|
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
|