MCPcopy Create free account
hub / github.com/JeanPhilippeKernel/RendererEngine / OnMouseButtonPressed

Method OnMouseButtonPressed

ZEngine/src/ImguiLayer.cpp:152–156  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

150 }
151
152 bool ImguiLayer::OnMouseButtonPressed(Event::MouseButtonPressedEvent& e) {
153 ImGuiIO& io = ImGui::GetIO();
154 io.MouseDown[(uint32_t) e.GetButton()] = true;
155 return false;
156 }
157
158 bool ImguiLayer::OnMouseButtonReleased(Event::MouseButtonReleasedEvent& e) {
159 ImGuiIO& io = ImGui::GetIO();

Callers

nothing calls this directly

Calls 1

GetButtonMethod · 0.80

Tested by

no test coverage detected