MCPcopy Create free account
hub / github.com/TheForceEngine/TheForceEngine / GetMouseSourceName

Function GetMouseSourceName

TheForceEngine/TFE_Ui/imGUI/imgui.cpp:9524–9529  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9522 return input_source_names[source];
9523}
9524static const char* GetMouseSourceName(ImGuiMouseSource source)
9525{
9526 const char* mouse_source_names[] = { "Mouse", "TouchScreen", "Pen" };
9527 IM_ASSERT(IM_ARRAYSIZE(mouse_source_names) == ImGuiMouseSource_COUNT && source >= 0 && source < ImGuiMouseSource_COUNT);
9528 return mouse_source_names[source];
9529}
9530static void DebugPrintInputEvent(const char* prefix, const ImGuiInputEvent* e)
9531{
9532 ImGuiContext& g = *GImGui;

Callers 2

DebugPrintInputEventFunction · 0.85
ShowMetricsWindowMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected