Home
last modified time | relevance | path

Searched refs:win (Results 1 – 7 of 7) sorted by relevance

/scripts/kconfig/lxdialog/
Dmenubox.c66 static void do_print_item(WINDOW * win, const char *item, int line_y, in do_print_item() argument
77 wattrset(win, dlg.menubox.atr); in do_print_item()
78 wmove(win, line_y, 0); in do_print_item()
83 waddch(win, ' '); in do_print_item()
86 wclrtoeol(win); in do_print_item()
88 wattrset(win, selected ? dlg.item_selected.atr : dlg.item.atr); in do_print_item()
89 mvwaddstr(win, line_y, item_x, menu_item); in do_print_item()
91 wattrset(win, selected ? dlg.tag_key_selected.atr in do_print_item()
93 mvwaddch(win, line_y, item_x + j, menu_item[j]); in do_print_item()
96 wmove(win, line_y, item_x + 1); in do_print_item()
[all …]
Dchecklist.c31 static void print_item(WINDOW * win, int choice, int selected) in print_item() argument
40 wattrset(win, dlg.menubox.atr); in print_item()
41 wmove(win, choice, 0); in print_item()
43 waddch(win, ' '); in print_item()
45 wmove(win, choice, check_x); in print_item()
46 wattrset(win, selected ? dlg.check_selected.atr in print_item()
49 wprintw(win, "(%c)", item_is_tag('X') ? 'X' : ' '); in print_item()
51 wattrset(win, selected ? dlg.tag_selected.atr : dlg.tag.atr); in print_item()
52 mvwaddch(win, choice, item_x, list_item[0]); in print_item()
53 wattrset(win, selected ? dlg.item_selected.atr : dlg.item.atr); in print_item()
[all …]
Dutil.c242 void attr_clear(WINDOW * win, int height, int width, chtype attr) in attr_clear() argument
246 wattrset(win, attr); in attr_clear()
248 wmove(win, i, 0); in attr_clear()
250 waddch(win, ' '); in attr_clear()
252 touchwin(win); in attr_clear()
382 void print_autowrap(WINDOW * win, const char *prompt, int width, int y, int x) in print_autowrap() argument
393 wmove(win, y, (width - prompt_len) / 2); in print_autowrap()
394 waddstr(win, tempstr); in print_autowrap()
421 wmove(win, cur_y, cur_x); in print_autowrap()
422 waddstr(win, word); in print_autowrap()
[all …]
Dtextbox.c25 static void print_page(WINDOW *win, int height, int width, update_text_fn
27 static void print_line(WINDOW *win, int row, int width);
29 static void print_position(WINDOW * win);
312 static void print_page(WINDOW *win, int height, int width, update_text_fn in print_page() argument
329 print_line(win, i, width); in print_page()
335 wnoutrefresh(win); in print_page()
341 static void print_line(WINDOW * win, int row, int width) in print_line() argument
347 wmove(win, row, 0); /* move cursor to correct line */ in print_line()
348 waddch(win, ' '); in print_line()
349 waddnstr(win, line, MIN(strlen(line), width - 2)); in print_line()
[all …]
Ddialog.h200 int on_key_esc(WINDOW *win);
221 void attr_clear(WINDOW * win, int height, int width, chtype attr);
223 void print_autowrap(WINDOW * win, const char *prompt, int width, int y, int x);
224 void print_button(WINDOW * win, const char *label, int y, int x, int selected);
226 void draw_box(WINDOW * win, int y, int x, int height, int width, chtype box,
228 void draw_shadow(WINDOW * win, int y, int x, int height, int width);
/scripts/kconfig/
Dnconf.gui.c147 void print_in_middle(WINDOW *win, in print_in_middle() argument
157 if (win == NULL) in print_in_middle()
158 win = stdscr; in print_in_middle()
159 getyx(win, y, x); in print_in_middle()
170 (void) wattrset(win, color); in print_in_middle()
171 mvwprintw(win, y, x, "%s", string); in print_in_middle()
214 void fill_window(WINDOW *win, const char *text) in fill_window() argument
220 getmaxyx(win, y, x); in fill_window()
229 mvwprintw(win, i, 0, "%s", tmp); in fill_window()
250 WINDOW *win; in btn_dialog() local
[all …]
Dnconf.h79 void print_in_middle(WINDOW *win,
88 void fill_window(WINDOW *win, const char *text);