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.


Messages - Submerged

Pages: [1]
1
Thanks eXpl0it3r :) I figured as much. I appreciate the response!

2
Window / Dynamic window resize events (i.e., before mouse is released)
« on: January 25, 2013, 04:26:58 pm »
I apologize if this has been posted, but after scouring the forums, I couldn't find a solution.

If I create a RenderWindow and decide to resize it, it only resizes after the mouse is released. I understand this is a result of the main thread blocking while this is happening, but is there no way around it? I am trying to make a UI Toolkit (buttons, scroll bars, tabs..etc) and no modern day application would have this behaviour. Here is my small call to the resize event which are only printed out when the mouse is released.

 if(Event.Type == sf::Event::Resized)
                cout << "RESIZE";

Here's a screenshot of a small graphics test with some ugly resize artifacts all the way down as I attempt to make the screen larger.
Thanks everyone :) I appreciate your comments

Pages: [1]