lynx-dev
[Top][All Lists]
Advanced

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

Re: LYNX-DEV getbkgd


From: T.E.Dickey
Subject: Re: LYNX-DEV getbkgd
Date: Tue, 2 Sep 1997 20:40:38 -0400 (EDT)

> The below change to LYForms.c between ac-0.57 and ac-0.58, and its
> equivalent in LYOptions.c, once more messes up handling of colors in
> popups, at least on solaris with the system curses, when light-background
> colors are used.
> 
> Can we find some solution here that would satisfy both curses and
> DOS/Windows ?
PDCurses (based on SVr3 curses) is going to be different in the
bkgd-related functions.  Rather than put an ifdef for getbkgd (which isn't
portable), there should be a feature-test macro (such as HAVE_GETBKGD) to
distinguish.

> ***************
> *** 682,688 ****
>   #endif
>       LYsubwindow(form_window);
>   #endif
> ! #if defined(COLOR_CURSES)     /* not defined in ncurses 1.8.7 */
>       wbkgd(form_window, getbkgd(stdscr));
>       wbkgdset(form_window, getbkgd(stdscr));
>   #endif
> --- 682,688 ----
>   #endif
>       LYsubwindow(form_window);
>   #endif
> ! #if defined(COLOR_CURSES) && defined(getbkgd) /* not defined in ncurses 
> 1.8.7 */
>       wbkgd(form_window, getbkgd(stdscr));
>       wbkgdset(form_window, getbkgd(stdscr));
>   #endif
> 
> 
> ;
> ; To UNSUBSCRIBE:  Send a mail message to address@hidden
> ;                  with "unsubscribe lynx-dev" (without the
> ;                  quotation marks) on a line by itself.
> ;
> 


-- 
Thomas E. Dickey
address@hidden
http://www.clark.net/pub/dickey
;
; To UNSUBSCRIBE:  Send a mail message to address@hidden
;                  with "unsubscribe lynx-dev" (without the
;                  quotation marks) on a line by itself.
;

reply via email to

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