Note that this is varing, and is overwritten in unannounced.
- 5.6 (20070303)
- add NCURSES_OPAQUE symbol
- 5.7 (20090906)
- add is_pad() function
-
Non-opaque
WINDOW_HAS_FLAGS
is definedNCURSES_OPAQUE
is defined as zero or not defined
-
Opaque
WINDOW_HAS_FLAGS
is not definedNCURSES_OPAQUE
is defined as one
- define always
WINDOW_HAS_FLAGS
when having ncurses.h - check directly
_flags
field ofWINDOW
ncurses | non-opaque | opaque |
---|---|---|
< 5.6 (20070303) | ok | not implemented |
>= 5.6 (20070303) | ok | compile error |
- define always
WINDOW_HAS_FLAGS
when having ncurses.h - define
py_is_pad
if having_flags
field oris_pad
function/macro - call
py_is_pad
ncurses | non-opaque | opaque |
---|---|---|
< 5.6 (20070303) | ok | not implemented |
>= 5.6 (20070303) | ok | compile error |
>= 5.7 (20090906) | ok | ok |
- define
py_is_pad
if having_flags
field oris_pad
function/macro - call
py_is_pad
ncurses | non-opaque | opaque |
---|---|---|
< 5.6 (20070303) | ok | not implemented |
>= 5.6 (20070303) | ok | retrograde |
>= 5.7 (20090906) | ok | ok |
- define
NCURSES_OPAQUE
as zero if bothHAVE_CURSES_IS_PAD
andWINDOW_HAS_FLAGS
aren't defined - define
py_is_pad
if having_flags
field oris_pad
function/macro - call
py_is_pad
ncurses | non-opaque | opaque |
---|---|---|
< 5.6 (20070303) | ok | not implemented |
>= 5.6 (20070303) | ok | make non-opaque |
>= 5.7 (20090906) | ok | ok |