gnash-commit
[Top][All Lists]
Advanced

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

Re: [Gnash-commit] gnash ChangeLog gui/gui.cpp gui/gui.h


From: Sandro Santilli
Subject: Re: [Gnash-commit] gnash ChangeLog gui/gui.cpp gui/gui.h
Date: Tue, 17 Oct 2006 15:32:49 +0200

On Tue, Oct 17, 2006 at 03:28:54PM +0200, Udo Giacomozzi wrote:
> Hello Sandro,
> 
> Tuesday, October 17, 2006, 3:12:43 PM, you wrote:
> SS> Log message:
> SS>                 * gui/gui.{cpp,h}: notify_mouse_moved made non-static; 
> call
> SS>                   display() after mouse move notification to immediately
> SS>                   show changed triggered by any event handler. This is an
> SS>                   overkill and needs better architecture, but at least it 
> is
> SS>                   correct now.
> 
> Well, not necessarily. display() should detect via
> get_invalidated_bounds() when nothing happened and would not render
> again. It just looks for set m_invalidated flags and won't find any
> (except if in fact a button has been pressed).

Excellent ! Still, it might be worth avoiding a redraw on
each event (consider moving the mouse around ...).
A redraw at given, eye-detectable rate, should be good enough,
what do you think ?

--strk;




reply via email to

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