Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Dual Monitor  (Read 5529 times)

0 Members and 1 Guest are viewing this topic.

phear-

  • Jr. Member
  • **
  • Posts: 64
    • MSN Messenger - LOApokalypse@hotmail.com
    • View Profile
    • http://gtproductions.org
Dual Monitor
« 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 :)
Eugene Alfonso
GTP | Twitter

Hiura

  • SFML Team
  • Hero Member
  • *****
  • Posts: 4321
    • View Profile
    • Email
Dual Monitor
« Reply #1 on: September 22, 2009, 08:32:57 am »
Two windows ? One big window ?
SFML / OS X developer

Spidyy

  • Sr. Member
  • ****
  • Posts: 493
    • View Profile
Dual Monitor
« Reply #2 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

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Dual Monitor
« Reply #3 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.
Laurent Gomila - SFML developer

albertoguerere

  • Newbie
  • *
  • Posts: 2
    • View Profile
Dual Monitor
« Reply #4 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....

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Dual Monitor
« Reply #5 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.
Laurent Gomila - SFML developer

 

anything