MCPcopy Create free account
hub / github.com/ElectroZybr/LatticeLab / windowPosCallback

Method windowPosCallback

App/WindowController.cpp:135–143  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

133}
134
135void WindowController::windowPosCallback(GLFWwindow* callbackWindow, int x, int y) {
136 if (callbackWindow != window || isFullscreen || windowedWasMaximized) {
137 return;
138 }
139
140 windowedX = x;
141 windowedY = y;
142 windowedMonitorIndex = monitorIndex(currentMonitor());
143}
144
145void WindowController::windowSizeCallback(GLFWwindow* callbackWindow, int width, int height) {
146 if (callbackWindow != window || isFullscreen || windowedWasMaximized || width <= 0 || height <= 0) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected