Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
hrydgard
GitHub Repository: hrydgard/ppsspp
Path: blob/master/ext/imgui/imgui_impl_platform.h
3186 views
1
#pragma once
2
3
#include "ext/imgui/imgui.h"
4
#include "Common/Input/KeyCodes.h"
5
#include "Common/Input/InputState.h"
6
#include "Common/Math/geom2d.h"
7
8
class Path;
9
10
ImGuiKey KeyCodeToImGui(InputKeyCode keyCode);
11
12
void ImGui_ImplPlatform_Init(const Path &configPath);
13
void ImGui_ImplPlatform_NewFrame();
14
15
void ImGui_ImplPlatform_KeyEvent(const KeyInput &key);
16
void ImGui_ImplPlatform_TouchEvent(const TouchInput &touch);
17
void ImGui_ImplPlatform_AxisEvent(const AxisInput &axis);
18
19
extern Bounds g_imguiCentralNodeBounds;
20
21
ImGuiMouseCursor ImGui_ImplPlatform_GetCursor();
22
23