Quote:
Originally Posted by Soundbytes
I did a little more digging into the code and found that the Gui resize code is spread all over the place.
I would love to avoid checking wether the gui is resizable within each and every call to Draw() and in so many other places.
Couldn't the resizing be driven by a resize event?
This way it could be encapsulated in a IControl::Resize() member function.
I still have to dig deeper to see what is going on. What is the reason You did it this way?
|
This was done because of backwards compatibility with WDL-OL. Mainly it is there if someone doesn't want to use GUI Resize.