[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ncurses question
Hello Guy,
Thank You for answering. Actually I already understood that all I have to do
is call again the window painting function for the new on-top window. The
ncurses/panel docs make the impression this can be done by the
touchwin()/wrefresh() functions, but repainting the window will do the job
as well.
Thanks again, and SHANA TOVA.
>From: guy keren <choo@actcom.co.il>
>To: Yoav Ben-Yosef <benyosef@hotmail.com>
>CC: linux-il@cs.huji.ac.il
>Subject: Re: ncurses question
>Date: Sat, 18 Sep 1999 14:17:03 +0200 (EET)
>
>
>On Tue, 14 Sep 1999, Yoav Ben-Yosef wrote:
>
> > I'm writing a small app using the ncurses and panel libs. This app has
>few
> > overlapping windows that have to be on top each in its turn. The problem
>is
> > that I'm not able to make a window refresh itself as on top once it is
>below
> > other window. The cursor jumps to the appropriate window, which stays
>below
> > all others. Can anyone give me a clue to the right way to do it?
>
>the ncurses library has no notion of overlapping windows, in the sense of
>a "real" windowing system (such as X, winXX, etc.). the window that gets
>painted last - is that you see on the screen. if you need to work with
>overlapping windows - you need to write the code that handles "stacking
>order" on your own.
>
>if you can read C++, i could send you the source for a library i once
>wrote that uses ncurses, and implements this feature (among other things).
>you could "steal" the relevant algorithms from there.
>
>guy
>
>
>=================================================================
>To unsubscribe, send mail to linux-il-request@linux.org.il with
>the word "unsubscribe" in the message body, e.g., run the command
>echo unsubscribe | mail linux-il-request@linux.org.il
>
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il