diff options
Diffstat (limited to '')
-rw-r--r-- | scripts/kconfig/libcurses/curses.h | 35 |
1 files changed, 18 insertions, 17 deletions
diff --git a/scripts/kconfig/libcurses/curses.h b/scripts/kconfig/libcurses/curses.h index e4ba3776a..f58fe66df 100644 --- a/scripts/kconfig/libcurses/curses.h +++ b/scripts/kconfig/libcurses/curses.h | |||
@@ -9,26 +9,28 @@ | |||
9 | 9 | ||
10 | Define before inclusion (only those needed): | 10 | Define before inclusion (only those needed): |
11 | 11 | ||
12 | XCURSES if building / built for X11 | 12 | Macro | Meaning / value |
13 | PDC_RGB if you want to use RGB color definitions | 13 | :-------------|------------------------------------------------- |
14 | (Red = 1, Green = 2, Blue = 4) instead of BGR | 14 | XCURSES | if building / built for X11 |
15 | PDC_WIDE if building / built with wide-character support | 15 | PDC_RGB | RGB color (Red = 1, Green = 2, Blue = 4) vs. BGR |
16 | PDC_DLL_BUILD if building / built as a Windows DLL | 16 | PDC_WIDE | if building / built with wide-character support |
17 | PDC_NCMOUSE to use the ncurses mouse API instead | 17 | PDC_DLL_BUILD | if building / built as a Windows DLL |
18 | of PDCurses' traditional mouse API | 18 | PDC_NCMOUSE | use ncurses mouse API vs. traditional PDCurses |
19 | 19 | ||
20 | Defined by this header: | 20 | Defined by this header: |
21 | 21 | ||
22 | PDCURSES PDCurses-only features are available | 22 | Macro | Meaning / value |
23 | PDC_BUILD API build version | 23 | :-------------|------------------------------------------------- |
24 | PDC_VER_MAJOR major version number | 24 | PDCURSES | PDCurses-only features are available |
25 | PDC_VER_MINOR minor version number | 25 | PDC_BUILD | API build version |
26 | PDC_VERDOT version string | 26 | PDC_VER_MAJOR | major version number |
27 | PDC_VER_MINOR | minor version number | ||
28 | PDC_VERDOT | version string | ||
27 | 29 | ||
28 | **man-end****************************************************************/ | 30 | **man-end****************************************************************/ |
29 | 31 | ||
30 | #define PDCURSES 1 | 32 | #define PDCURSES 1 |
31 | #define PDC_BUILD 3907 | 33 | #define PDC_BUILD 3908 |
32 | #define PDC_VER_MAJOR 3 | 34 | #define PDC_VER_MAJOR 3 |
33 | #define PDC_VER_MINOR 9 | 35 | #define PDC_VER_MINOR 9 |
34 | #define PDC_VERDOT "3.9" | 36 | #define PDC_VERDOT "3.9" |
@@ -420,10 +422,9 @@ Text Attributes | |||
420 | 422 | ||
421 | PDCurses uses a 32-bit integer for its chtype: | 423 | PDCurses uses a 32-bit integer for its chtype: |
422 | 424 | ||
423 | +--------------------------------------------------------------------+ | 425 | color pair | modifiers | character eg 'a' |
424 | |31|30|29|28|27|26|25|24|23|22|21|20|19|18|17|16|15|14|13|..| 2| 1| 0| | 426 | -----------------------|-----------------------|-------------------- |
425 | +--------------------------------------------------------------------+ | 427 | 31 30 29 28 27 26 25 24|23 22 21 20 19 18 17 16|15 14 13 .. 2 1 0 |
426 | color pair | modifiers | character eg 'a' | ||
427 | 428 | ||
428 | There are 256 color pairs (8 bits), 8 bits for modifiers, and 16 bits | 429 | There are 256 color pairs (8 bits), 8 bits for modifiers, and 16 bits |
429 | for character data. The modifiers are bold, underline, right-line, | 430 | for character data. The modifiers are bold, underline, right-line, |