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

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - Crossfire

Pages: [1]
Window / 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?

Window / [SOLVED] difference: create new Window and recreate Window
« on: March 14, 2009, 01:32:09 pm »
My problem is, that somehow when I create a new Window (keeping the old one setting it inactive), textures that get loaded by the GUI-System I use won't show anymore.
If I simply recreate the existing window, this problem does not occur.

So I assume there might be some fundamental difference between creating a new and recreating an existing window. What about the RenderContext? When recreating a window, there is also a new RenderContext created, isn't it? So that would be the same for creating a new and recreating one?

Thank you for any hint.

Window / [SOLVED] Get info about window style
« on: March 13, 2009, 11:29:21 am »
Is there a way to check the current style of the window, using the window object itself?
For example something like:
Or another elaborate way? I could not find anything in the code, but maybe I missed something obvious.

Thanks in advance.

Pages: [1]