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

Author Topic: Switching between windows of different size in fullscreen  (Read 2225 times)

0 Members and 1 Guest are viewing this topic.

Crossfire

  • Newbie
  • *
  • Posts: 7
    • View Profile
Switching between windows of different size in fullscreen
« on: March 14, 2009, 03:22:03 pm »
And again one more question concerning windows:

When we have two fullscreen windows of different screen resolution, and we want to switch between them using SetActive() and Show(), we have the problem that the DisplaySettings not correspond, but for both windows the DisplaySettings of the last created window are applied.

What is needed is an additional change of the Display Settings.
At least in MS-Windows it can be done with: "ChangeDisplaySettings()"

SFML does not provide anything, to do that with a function call, other than when creating a window, right?

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Switching between windows of different size in fullscreen
« Reply #1 on: March 14, 2009, 04:04:02 pm »
In SFML 1.5, only one fullscreen window will be allowed at the same time. It is already implemented in the latest revision.
Laurent Gomila - SFML developer

Crossfire

  • Newbie
  • *
  • Posts: 7
    • View Profile
Switching between windows of different size in fullscreen
« Reply #2 on: March 14, 2009, 05:25:35 pm »
ok, good to know