|
Origin point in a guiwindowctrl
|
I think the origin point(0,0) in a guiwindowctrl should be the position the background starts drawing, not the position of the window itself. There really is no reason the contents of a window should be drawn outside the background and it only adds complications when you're trying to construct a GUI. You have to make sure the content is added below the top of the window and to the side of border, then you have to adjust the width to fit the size of minus the borders on the opposite sides... If you have custom GUI's for the windows that change dynamically, you will never be able to appropriately adjust the content for the graphics of the window.
Also, your scrollbar shouldn't stop scrolling just because your mouse tends to leave 20 or so pixels away from the bar. That's really annoying. |
Last edited by DustyPorViva; 11-29-2008 at 05:47 AM..
|