bug-ncurses
[Top][All Lists]
Advanced

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

windows overlapping pads


From: Dabreegster IRCUser
Subject: windows overlapping pads
Date: Mon, 14 Jul 2008 15:11:38 -0500

I'm running into an issue with overlapping windows. I have a large window that fills the entire screen and has a simple border (with box(0, 0)). A pad is regularly updated and prefresh() is called. The problem is, sometimes there is a popup window in the middle of the screen, and thus, the pad. Whenever the pad is updated, the overlapping window gets wiped out. Usually this window is actually another pad, so I can call its draw function and another prefresh() happens and everything's fine. The problem is, the border from the window framing the second smaller pad gets wiped out. I've tried calling refresh and box(0, 0) again on it, but there's no go. Things are starting to get very messy - ideally, I'd be able to tell a pad to write to a window (rather than the screen directly) and tell the window to refresh and overlap over the larger one. I know of the existence of panels and may source dive to see how they do it, but does anybody know of an easier way to achieve proper overlapping?

reply via email to

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