MCPcopy Create free account
hub / github.com/Overload-Technologies/Overload / GetPosition

Method GetPosition

Sources/OvWindowing/src/OvWindowing/Window.cpp:294–299  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

292}
293
294std::pair<int16_t, int16_t> OvWindowing::Window::GetPosition() const
295{
296 int x, y;
297 glfwGetWindowPos(m_glfwWindow, &x, &y);
298 return std::make_pair(static_cast<int16_t>(x), static_cast<int16_t>(y));
299}
300
301std::pair<uint16_t, uint16_t> OvWindowing::Window::GetFramebufferSize() const
302{

Callers 12

FilterDrawablesMethod · 0.80
SetCameraMethod · 0.80
OnBeginFrameMethod · 0.80
InitFrameMethod · 0.80
HandleActorPickingMethod · 0.80
HandleInputsMethod · 0.80
HandleCameraPanningMethod · 0.80
HandleCameraOrbitMethod · 0.80
HandleCameraZoomMethod · 0.80

Calls 1

glfwGetWindowPosFunction · 0.85

Tested by

no test coverage detected