I've been working on a vector shapes editor, and I have a few windows with some tools in it, view etc.
I've been trying to make the window act more like a window that you would see in your OS. I'd like to make the interal of the window scrollable. Like a chat window or somthing similar. I've been having trouble making it so that it would only render the contents that are needed.
anybody have and ideas how this could be approched?
Hmm, are you using Ruby or C++, and are you talking about several Window instances (which would be bad because support for that is being dropped ;() or do you simulate them inside one Gosu::Window? In the latter case, the new Window#clip_to method, or beginClipping/endClipping respectively, may be just what you need :)
I have got side tracked from this atm as I have been busy, After jlnr pointed out the clip method it should be easy enough to make the actual windows, but as for the text wrapping this might be a bit fiddly (unless I've overlooked a text wrap method as well).