| 33 | } |
| 34 | |
| 35 | bool 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 | |
| 45 | GLFWwindow* WindowController::window = nullptr; |
no outgoing calls
no test coverage detected