Thread: IPlug - Youlean
View Single Post
Old 04-19-2017, 06:55 AM   #54
Human being with feelings
Soundbytes's Avatar
Join Date: May 2006
Posts: 58
Default Gui Resize

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?
Soundbytes is offline   Reply With Quote