iPXE
|
MuCurses core implementation specific header file. More...
Go to the source code of this file.
Macros | |
#define | WRAP 0 |
#define | NOWRAP 1 |
Functions | |
FILE_LICENCE (GPL2_OR_LATER_OR_UBDL) | |
void | _wputch (WINDOW *win, chtype ch, int wrap) __nonnull |
Write a single character rendition to a window. More... | |
void | _wputc (WINDOW *win, char c, int wrap) __nonnull |
Write a single character to a window. More... | |
void | _wputchstr (WINDOW *win, const chtype *chstr, int wrap, int n) __nonnull |
Write a chtype string to a window. More... | |
void | _wputstr (WINDOW *win, const char *str, int wrap, int n) __nonnull |
Write a standard c-style string to a window. More... | |
void | _wcursback (WINDOW *win) __nonnull |
Retreat the cursor back one position (useful for a whole host of ops) More... | |
Variables | |
SCREEN | _ansi_screen |
MuCurses core implementation specific header file.
Definition in file mucurses.h.
#define WRAP 0 |
Definition at line 12 of file mucurses.h.
#define NOWRAP 1 |
Definition at line 13 of file mucurses.h.
FILE_LICENCE | ( | GPL2_OR_LATER_OR_UBDL | ) |
Write a single character rendition to a window.
*win | window in which to write |
ch | character rendition to write |
wrap | wrap "switch" |
Definition at line 50 of file mucurses.c.
References _wupdcurs(), ch, _curses_window::curs_x, _curses_window::curs_y, _curses_window::height, _curses_screen::putc, _curses_window::scr, _curses_window::width, and WRAP.
Referenced by _printw_handler(), _wgetc(), _wputc(), _wputchstr(), delwin(), slk_restore(), waddch(), wborder(), wgetch(), whline(), and wvline().
void _wputc | ( | WINDOW * | win, |
char | c, | ||
int | wrap | ||
) |
Write a single character to a window.
*win | window in which to write |
c | character rendition to write |
wrap | wrap "switch" |
Definition at line 77 of file mucurses.c.
References _wputch(), _curses_window::attrs, and c.
Referenced by _wputstr(), wclrtobot(), wclrtoeol(), and wdelch().
Write a chtype string to a window.
*win | window in which to write |
*chstr | chtype string |
wrap | wrap "switch" |
n | write at most n chtypes |
Definition at line 107 of file mucurses.c.
References _wputch().
Referenced by waddchnstr().
void _wputstr | ( | WINDOW * | win, |
const char * | str, | ||
int | wrap, | ||
int | n | ||
) |
Write a standard c-style string to a window.
*win | window in which to write |
*str | string |
wrap | wrap "switch" |
n | write at most n chars from *str |
Definition at line 121 of file mucurses.c.
References _wputc().
Referenced by _print_label(), and waddnstr().
void _wcursback | ( | WINDOW * | win | ) |
Retreat the cursor back one position (useful for a whole host of ops)
*win | window in which to retreat |
Definition at line 87 of file mucurses.c.
References _wupdcurs(), _curses_window::curs_x, _curses_window::curs_y, _curses_window::height, and _curses_window::width.
Referenced by wdelch(), wgetch(), and wgetnstr().
SCREEN _ansi_screen |
Definition at line 93 of file ansi_screen.c.