MayaFlux 0.2.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ set_position()

void MayaFlux::Core::GlfwWindow::set_position ( uint32_t  x,
uint32_t  y 
)
overridevirtual

Move the window to a new position.

Parameters
xNew X coordinate
yNew Y coordinate

Implements MayaFlux::Core::Window.

Definition at line 261 of file GlfwWindow.cpp.

262{
263 if (m_window) {
264 glfwSetWindowPos(m_window, static_cast<int>(x), static_cast<int>(y));
265 }
266}

References m_window.