![]() |
| | #1 |
| Registered User Join Date: Nov 2005
Posts: 20
| How customize Windowing in ncurses lib? I tried to use a windows function in ncurses library. Could some one tell me why windows are transparent. Tiling windows does not work. The top windows does not hide texte writen inside the bottom window. I need it to be solid, opaque like any windowing system. Thank you. |
| intmail is offline | |
| | #2 | |
| Senior software engineer Join Date: Mar 2007 Location: Portland, OR
Posts: 5,768
| From the ncurses introduction: Quote:
__________________ "Congratulations on your purchase. To begin using your quantum computer, set the power switch to both off and on simultaneously." -- raftpeople@slashdot | |
| brewbuck is offline | |
| | #3 | |
| critical genius Join Date: Jul 2008 Location: SE Queens
Posts: 5,203
| Quote:
You could always resize the windows. Remember, ncurses is not a GUI "windowing system", and in that sense, the "windows" are not windows at all... | |
| MK27 is offline | |
| | #4 |
| Senior software engineer Join Date: Mar 2007 Location: Portland, OR
Posts: 5,768
| Honestly, I think ncurses is stale both in terms of design and modern functionality. Its function naming doesn't even attempt to play nice in terms of name-stomping, it smears global data all over the place, and it assumes too much about the structure of the code around it. The biggest thing ncurses brings to the table is spectacularly consistent support of an awful lot of terminal emulations. And that's becoming less and less important (depending how you look at it). I think the world is due for a new terminal graphics library.
__________________ "Congratulations on your purchase. To begin using your quantum computer, set the power switch to both off and on simultaneously." -- raftpeople@slashdot |
| brewbuck is offline | |
| | #5 |
| Registered User Join Date: Jun 2009
Posts: 1
| re: How customize Windowing in ncurses lib? The windows aren't really transparent: refreshing a window causes the changes to be shown on the standard screen. As noted, the panel library is used to handle stacked windows. However, it's possible with some care to use touchwin and refresh to do the simpler cases of stacked windows. |
| dickey is offline | |
![]() |
| Thread Tools | |
| Display Modes | |
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Ncurses Lib | lautarox | C Programming | 6 | 09-24-2008 06:12 PM |
| using VC6 link VC7 static lib error | George2 | C++ Programming | 5 | 06-29-2006 10:58 PM |
| Including lib in a lib | bibiteinfo | C++ Programming | 0 | 02-07-2006 02:28 PM |
| Convert Microsoft LIB to MingW compatible lib | tigs | Windows Programming | 0 | 07-20-2004 06:53 PM |
| Making a LIB file from a DEF file for a DLL | JMPACS | C++ Programming | 0 | 08-02-2003 08:19 PM |