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 - vanisher

Pages: [1]
1
Feature requests / sf::Event::Resized also while the user is still resizing?
« on: September 13, 2011, 11:16:43 pm »
Howdy,

Is it possible that SFML also sends an sf::Event::Resized (or name it sf::Event::Sizing or whatever) if the user is still engaged in resizing the Window but hasn't released the mouse button yet?

I'd like to update the Window on every little size change so it would immediately give the user a preview while she's deciding about how large/small it shall get. Also, it might make it possible to catch sizes which are not supported by the application (too small or bad x/y ratio etc.) while the user is resizing the window.

Of course, this feature would not necessarily be guaranteed to work on all operating systems SFML works on, but then, SFML could support it if the system does. For example, Win32 sends WM_SIZING messages in this case.

Keep up the good work..

2
General discussions / SFML/OpenGL.hpp doesn't need Windows.h
« on: August 30, 2011, 11:56:44 am »
Please do not include Windows.h in <SFML/OpenGL.hpp>.

The intention of the header file is good (different include GL path on MacOS), but i won't let Windows.h sneak into all my sources, as they are 100% Windows-clean. Windows.h is huge, and the GL includes don't need any of it.

Pages: [1]
anything