rbdlsim/3rdparty/tracy/server/TracyMouse.hpp

22 lines
427 B
C++
Raw Permalink Normal View History

2021-08-06 12:10:32 +02:00
#ifndef __TRACYMOUSE_HPP__
#define __TRACYMOUSE_HPP__
#include "imgui.h"
namespace tracy
{
void MouseFrame();
bool IsMouseDown( ImGuiMouseButton button );
bool IsMouseClicked( ImGuiMouseButton button );
bool IsMouseDragging( ImGuiMouseButton button );
ImVec2 GetMouseDragDelta( ImGuiMouseButton button );
void ConsumeMouseEvents( ImGuiMouseButton button );
bool IsMouseClickReleased( ImGuiMouseButton button );
}
#endif