SFML community forums
General => Feature requests => Topic started by: Jeanne-Kamikaze on May 30, 2014, 03:31:05 pm
-
Hi,
From the documentation, it seems SFML still does not offer an API to inspect the system's monitors (correct me if I am wrong). I think the library would benefit from something like it, and a quick search on the forums yields a few threads where people ask about the feature.
The API could be something like what GLFW offers: http://www.glfw.org/docs/latest/group__monitor.html (http://www.glfw.org/docs/latest/group__monitor.html). Essentially, it allows you to enumerate the system's monitors and query details about each of them, such as their position and dimensions within the bigger virtual screen, the video modes they support, and so on.
-
I had a case once, where I wanted to use a SFML window in fullscreen on a projector (second screen), while I control the content from another window on my laptop (first screen). Currently this requires a workaround. Of course this is just one use case, that I could think of, but I'm sure there are more. Especially if you have some bigger setup. So I think it would be a good idea to extend SFML's monitor capabilities.
-
Using SFML to render to a projector too :).