SFML community forums

Bindings - other languages => DotNet => Topic started by: EBrown on August 25, 2010, 01:33:39 am

Title: Fullscreen Window
Post by: EBrown on August 25, 2010, 01:33:39 am
Hello
How would I go about making SFML.NET fullscreen? I have a VERY specific resolution I want, and I want it fullscreen, as in no window borders, etc.

Any advice?

Thanks,
EBrown
Title: Fullscreen Window
Post by: Laurent on August 25, 2010, 07:51:49 am
If your resolution is "standard", you can pass the Fullscreen style to the constructor of the Window / RenderWindow classes.
Title: Fullscreen Window
Post by: EBrown on August 26, 2010, 01:59:25 am
Quote from: "Laurent"
If your resolution is "standard", you can pass the Fullscreen style to the constructor of the Window / RenderWindow classes.

How so? Sorry if I sound like a noob, but this is the first time I have used SFML.NET.

Code: [Select]
           RenderWindow App = new RenderWindow(new VideoMode(800, 600, 32), "SFML.NET");
            App.SetFramerateLimit(30);


That is my initialization.

Thanks,
EBrown
Title: Fullscreen Window
Post by: Laurent on August 26, 2010, 08:37:43 am
You can look at the constructor of RenderWindow and/or the documentation, to know which additional parameters it takes.
Title: Fullscreen Window
Post by: EBrown on August 26, 2010, 11:35:52 pm
Aha, I got it. Thank you. :)

Thanks,
EBrown