SFML community forums

Help => Window => Topic started by: phear- on September 22, 2009, 04:20:46 am

Title: Dual Monitor
Post by: phear- on September 22, 2009, 04:20:46 am
Does SFML support dual monitor displays? I'm not sure as to how I would create a sf::renderwindow for a dual monitor setup. Any helps/links/tips would be great, thank you :)
Title: Dual Monitor
Post by: Hiura on September 22, 2009, 08:32:57 am
Two windows ? One big window ?
Title: Dual Monitor
Post by: Spidyy on September 22, 2009, 12:39:57 pm
In the same way, I want to set the 2 window in fullscreen mode, one fitt my primary screen, but how can I make the second get the secondary screen available modes and set the fullscreen in it? =p
Title: Dual Monitor
Post by: Laurent on September 22, 2009, 12:45:18 pm
Quote
In the same way, I want to set the 2 window in fullscreen mode, one fitt my primary screen, but how can I make the second get the secondary screen available modes and set the fullscreen in it? =p

This is currently impossible, SFML doesn't really support multiple screens.
Title: Dual Monitor
Post by: albertoguerere on October 07, 2009, 02:53:24 am
Quote from: "Laurent"
Quote
In the same way, I want to set the 2 window in fullscreen mode, one fitt my primary screen, but how can I make the second get the secondary screen available modes and set the fullscreen in it? =p

This is currently impossible, SFML doesn't really support multiple screens.


So are there plans to support multiple screens?

Do you know of any currently available work arounds to this issue? Any way to emulate having a secondary fullscreen window? ie. moving the second window programatically to a position where it will be displayed in the secondary screen without interfering over any of the primary screen contents....
Title: Dual Monitor
Post by: Laurent on October 07, 2009, 08:25:34 am
Quote
So are there plans to support multiple screens?

One day, probably ;)

Quote
Do you know of any currently available work arounds to this issue?

There's none. SFML explicitely prevents from having multiple fullscreen windows.
But what you can do is using borderless windows having the same size as the desktop, to simulate multiple fullscreen windows.