paragui-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[paragui-users] re: eventDraw vs eventBlit


From: Keith Swyer
Subject: [paragui-users] re: eventDraw vs eventBlit
Date: Fri, 5 Jul 2002 14:03:29 -0300

ok, didn't see that in the DOC till just now..... anyway, maybe i should explain myself a little more. i'm working on a widget that is a piano keyboard. on a note on event, i highlight the key in the widget and on note off i unhighlight that key. but i'm confused as to what do to, use eventDraw with a widget surface or just eventBlit. is one faster than the other...i'm assuming the blit is. and why would you ever use the draw if you can just use a blit? i understand that the draw is sort of saving to the widget surface. correct? so am i right in saying that the draw is not called on a blit unless specified and thus would result in faster blitting rather than redrawing the entire surface again? phewf, hope i didn't get lost there.....i'm just looking for the best way to get this keyboard showing a keypress as fast as possible. right now i'm only using the eventDraw for everything, but i think i'd be better to use a combination of both correct? draw the main keyboard and blit the highlights?  anyway, this was a widget i made a while ago and now am finally using .
 
--Keith

reply via email to

[Prev in Thread] Current Thread [Next in Thread]