Welcome to mirror list, hosted at ThFree Co, Russian Federation.

TracyMouse.hpp « server - github.com/wolfpld/tracy.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e52efe2b4d9e48fe3a5c9aa84b9fdb936875d803 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#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