bug-ncurses
[Top][All Lists]
Advanced

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

Re: flashing screen symptoms (an example)


From: Thomas Dickey
Subject: Re: flashing screen symptoms (an example)
Date: Fri, 3 Nov 2000 19:38:15 -0500
User-agent: Mutt/1.2.5i

On Fri, Nov 03, 2000 at 06:13:28PM -0330, Neil Zanella wrote:
> 
> On Fri, 3 Nov 2000, Thomas Dickey wrote:
> 
> > That's basically because an application that doesn't keep track of the
> > overlap between windows will try to repaint the whole screen to update
> > things - that's a lot of output replacing the current contents with itself
> > and things tend to flash on/off and flicker.  The panel library is designed
> > to do that (I don't do much with it, but the demos in ncurses seem to do
> > what they're designed to do).
> 
> So what are subwindows good for when the panel library does exactly the
> same thing with less flashing? I thought that the panel library must be

mainly for simple geometry management - keeping track of coordinates, and
limiting the scope of output.  When you have to worry about overlapping
windows, and deciding which should be repainted, then you should think
about using the panel library.

> used with overlapping windows and that subwin and derwin on the other
> hand could be used so long as every window overlaps with nothing but
> stdscr. What is the truth here? When is it that subwindows should be
> used as opposed to the panel library then?
> 
> Thanks,
> 
> Neil

-- 
Thomas E. Dickey <address@hidden>
http://dickey.his.com
ftp://dickey.his.com



reply via email to

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