From: Dave F. <dav...@co...> - 2004-04-11 23:55:09
|
On Sunday 11 April 2004 02:42 am, joakim verona wrote: > - implementing the "erase" handler and also implementing "double buffering" > seems achieve rock-solid redraw, but my implementation currently has > other problems: > a) you need a background bitmap to draw in, and I havent figured out how > to know the right size for it yet > b) events doesnt get drawn for some reason Assuming the space needed is larger than the window ever gets, can you just draw the whole thing in your memory dc and then copy only the part that you need for the window when you need it? Also, how does this affect selection? I noticed some serious bugs in selection, and haven't managed to track them down (it was hitting these bugs at the end of my last jazz timeslice that stopped me from finishing the selection interface in the Project class). > Anyway, I think I'm on the right track, and we can at some future time > have beautiful screen > updates like Rosegarden :-P Heh, you mean beautiful the RoseGarden's are beautiful, but you expect them to actually work, too, right? ;) (I spend more time swearing than composing when I use RoseGarden...) Dave -- Visit my website! http://www.davefancella.com/?event=em "What is wanted is not the will to believe, but the will to find out, which is the exact opposite." -- Bertrand Russell, _Sceptical_Essays_, 1928 |