Re: drawing area and expose event



Christian Seberino <seberino spawar navy mil> writes:
> 
> I thought configure event handler draws *everything* and
> expose event handler just redraws portion *uncovered*
> e.g. covering with corner of window and then not.
> 
> This would imply that all drawing should happen in configure
> event with "patches" being done in expose event.
> 
> Am I missing something?
> 

Yes, there is no reason to draw anything in configure event.  It just
means you got a new size. You'll also get an expose when this happens
so drawing in expose only is fine.

Havoc



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