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

Function monitorWorkArea

App/WindowController.cpp:35–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33}
34
35bool monitorWorkArea(GLFWmonitor* monitor, int& x, int& y, int& width, int& height) {
36 if (!monitor) {
37 return false;
38 }
39
40 glfwGetMonitorWorkarea(monitor, &x, &y, &width, &height);
41 return width > 0 && height > 0;
42}
43} // namespace
44
45GLFWwindow* WindowController::window = nullptr;

Callers 3

applyWindowedStateMethod · 0.85
snapshotMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected