iPXE
|
MuCurses clearing functions. More...
Go to the source code of this file.
Functions | |
FILE_LICENCE (GPL2_OR_LATER_OR_UBDL) | |
int | wclrtobot (WINDOW *win) |
Clear a window to the bottom from current cursor position. More... | |
int | wclrtoeol (WINDOW *win) |
Clear a window to the end of the current line. More... | |
int | wdelch (WINDOW *win) |
Delete character under the cursor in a window. More... | |
int | wdeleteln (WINDOW *win) |
Delete line under a window's cursor. More... | |
int | werase (WINDOW *win) |
Completely clear a window. More... | |
int | erase (void) |
Completely clear the screen. More... | |
MuCurses clearing functions.
Definition in file clear.c.
FILE_LICENCE | ( | GPL2_OR_LATER_OR_UBDL | ) |
int wclrtobot | ( | WINDOW * | win | ) |
Clear a window to the bottom from current cursor position.
*win | subject window |
rc | return status code |
Definition at line 19 of file clear.c.
References _restore_curs_pos(), _store_curs_pos(), _wputc(), _curses_window::curs_x, _curses_window::curs_y, OK, and WRAP.
Referenced by clrtobot(), and werase().
int wclrtoeol | ( | WINDOW * | win | ) |
Clear a window to the end of the current line.
*win | subject window |
rc | return status code |
Definition at line 37 of file clear.c.
References _restore_curs_pos(), _store_curs_pos(), _wputc(), _curses_window::curs_y, OK, WRAP, and cursor_pos::y.
Referenced by clrtoeol(), slk_clear(), and wdeleteln().
int wdelch | ( | WINDOW * | win | ) |
Delete character under the cursor in a window.
*win | subject window |
rc | return status code |
Definition at line 55 of file clear.c.
References _wcursback(), _wputc(), NOWRAP, and OK.
Referenced by delch(), mvdelch(), mvwdelch(), wgetch(), and wgetnstr().
int wdeleteln | ( | WINDOW * | win | ) |
Delete line under a window's cursor.
*win | subject window |
rc | return status code |
Definition at line 68 of file clear.c.
References _restore_curs_pos(), _store_curs_pos(), _curses_window::curs_y, OK, wclrtoeol(), and wmove().
Referenced by deleteln().
int werase | ( | WINDOW * | win | ) |
Completely clear a window.
*win | subject window |
rc | return status code |
Definition at line 86 of file clear.c.
References OK, wclrtobot(), and wmove().
int erase | ( | void | ) |
Completely clear the screen.
rc | return status code |
Definition at line 97 of file clear.c.
Referenced by draw_form(), settings_ui(), and show_menu().