1
DotNet / No Window.Create method in SFML.NET?
« on: August 22, 2010, 04:01:54 pm »
I have just started learning SFML and am very impressed.
I notice that SFML.NET does not include the Window.Create method that is present in C/C++ SFML. I was wondering, what is the recommended way of recreating the Window in SFML.NET (for example, if I want to toggle fullscreen mode)? Should I just close the existing Window and initialize another one to replace it?
Also, can you recommend any concise way to copy all event handlers (myWindow.Closed etc.) from one Window to another? I would normally want to preserve event handlers when recreating the window.
Thanks!
I notice that SFML.NET does not include the Window.Create method that is present in C/C++ SFML. I was wondering, what is the recommended way of recreating the Window in SFML.NET (for example, if I want to toggle fullscreen mode)? Should I just close the existing Window and initialize another one to replace it?
Also, can you recommend any concise way to copy all event handlers (myWindow.Closed etc.) from one Window to another? I would normally want to preserve event handlers when recreating the window.
Thanks!