Re: [Alephmodular-devel] Clipping oneself into a corner
Status: Pre-Alpha
Brought to you by:
brefin
From: Br'fin <br...@ma...> - 2003-03-10 05:16:25
|
It looks a little funny dragging a window over the AlephModular window and seeing artifacts in the dragged window's shadow (Side effect of doing heavy drawing updates directly in the window's back buffer ;)) But I think I've managed to clean up every single one of the OSX Display update errors now. (Preference dialog boxes are still graphically flawed though ;)) High resolution runs as fast as it claims it is, fades don't misfade, and menu buttons on the menu highlight and track. I'm going to both try and get this moderately cleaned up for the display abstraction branch (That is, get all these things into CVS somewhere) and to post the corresponding alpha build so you guys can check it out. I think this both completely rocks, and I have no idea how to fold it into AlephOne. -Jeremy Parsons On Sunday, March 9, 2003, at 10:34 PM, Br'fin wrote: > Most of the clipping stuff is wonderful and perfect. But I found one > construct that was lacking. Clipping when you know you're dealing with > a small part of a whole. Most specifically, this means setting the > clipping area and redrawing the interface to 'highlight' buttons on > the main menu. D'oh. > > I think I'm going to need to add a scoped view clipping to the buffer > hierarchy. Unlike clipping objects, it doesn't limit you to a part > that otherwise ignores the whole. Instead, it sets constraints on the > buffer as a whole. > > Incidentally, if you have a view clipping and a clipping buffer, > drawing commands (but not necessarily pixel editing) are only going to > occur in the intersection of the two clippings. > > So there will be CClippedBuffer::Ptr get_clipped_buffer(rect) and > CBuffer::ViewClipLock get_clipped_view_lock(rect) methinks. > > -Jeremy Parsons > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Etnus, makers of TotalView, The > debugger for complex code. Debugging C/C++ programs can leave you > feeling lost and disoriented. TotalView can help you find your way. > Available on major UNIX and Linux platforms. Try it free. > www.etnus.com > _______________________________________________ > Alephmodular-devel mailing list > Ale...@li... > https://lists.sourceforge.net/lists/listinfo/alephmodular-devel > |