tracy/server/TracyMouse.hpp

21 lines
382 B
C++
Raw Normal View History

2020-08-01 09:49:43 +00:00
#ifndef __TRACYMOUSE_HPP__
#define __TRACYMOUSE_HPP__
#include "../imgui/imgui.h"
namespace tracy
{
2020-08-01 10:02:11 +00:00
void MouseFrame();
2020-08-01 09:49:43 +00:00
bool IsMouseDown( ImGuiMouseButton button );
bool IsMouseClicked( ImGuiMouseButton button );
2020-08-01 10:03:11 +00:00
bool IsMouseDragging( ImGuiMouseButton button );
ImVec2 GetMouseDragDelta( ImGuiMouseButton button );
2020-08-01 09:49:43 +00:00
2020-08-01 10:10:59 +00:00
void ConsumeMouseEvents( ImGuiMouseButton button );
2020-08-01 09:49:43 +00:00
}
#endif