Home
last modified time | relevance | path

Searched refs:height (Results 1 – 9 of 9) sorted by relevance

/scripts/kconfig/lxdialog/
A Dyesno.c14 static void print_buttons(WINDOW * dialog, int height, int width, int selected) in print_buttons() argument
17 int y = height - 2; in print_buttons()
29 int dialog_yesno(const char *title, const char *prompt, int height, int width) in dialog_yesno() argument
35 if (getmaxy(stdscr) < (height + YESNO_HEIGTH_MIN)) in dialog_yesno()
42 y = (getmaxy(stdscr) - height) / 2; in dialog_yesno()
44 draw_shadow(stdscr, y, x, height, width); in dialog_yesno()
46 dialog = newwin(height, width, y, x); in dialog_yesno()
49 draw_box(dialog, 0, 0, height, width, in dialog_yesno()
52 mvwaddch(dialog, height - 3, 0, ACS_LTEE); in dialog_yesno()
63 print_buttons(dialog, height, width, 0); in dialog_yesno()
[all …]
A Dtextbox.c47 int height, width, boxh, boxw; in dialog_textbox() local
68 getmaxyx(stdscr, height, width); in dialog_textbox()
72 height = initial_height; in dialog_textbox()
74 if (height > 4) in dialog_textbox()
75 height -= 4; in dialog_textbox()
77 height = 0; in dialog_textbox()
96 boxh = height - 4; in dialog_textbox()
230 back_lines(height); in dialog_textbox()
306 for (i = 0; i < height; i++) in print_page()
309 back_lines(height); in print_page()
[all …]
A Dinputbox.c19 int y = height - 2; in print_buttons()
53 y = (getmaxy(stdscr) - height) / 2; in dialog_inputbox()
55 draw_shadow(stdscr, y, x, height, width); in dialog_inputbox()
57 dialog = newwin(height, width, y, x); in dialog_inputbox()
60 draw_box(dialog, 0, 0, height, width, in dialog_inputbox()
63 mvwaddch(dialog, height - 3, 0, ACS_LTEE); in dialog_inputbox()
82 print_buttons(dialog, height, width, 0); in dialog_inputbox()
234 print_buttons(dialog, height, width, 1); in dialog_inputbox()
238 print_buttons(dialog, height, width, 0); in dialog_inputbox()
244 print_buttons(dialog, height, width, 0); in dialog_inputbox()
[all …]
A Dmenubox.c99 int height) in print_arrows() argument
119 y = y + height + 1; in print_arrows()
123 if ((height < item_no) && (scroll + height < item_no)) { in print_arrows()
145 int y = height - 2; in print_buttons()
175 int height, width, menu_height; in dialog_menu() local
181 height = getmaxy(stdscr); in dialog_menu()
186 height -= 4; in dialog_menu()
188 menu_height = height - 10; in dialog_menu()
194 y = (getmaxy(stdscr) - height) / 2; in dialog_menu()
198 dialog = newwin(height, width, y, x); in dialog_menu()
[all …]
A Dchecklist.c53 int y, int x, int height) in print_arrows() argument
69 y = y + height + 1; in print_arrows()
91 int y = height - 2; in print_buttons()
131 y = (getmaxy(stdscr) - height) / 2; in dialog_checklist()
133 draw_shadow(stdscr, y, x, height, width); in dialog_checklist()
135 dialog = newwin(height, width, y, x); in dialog_checklist()
138 draw_box(dialog, 0, 0, height, width, in dialog_checklist()
141 mvwaddch(dialog, height - 3, 0, ACS_LTEE); in dialog_checklist()
153 box_y = height - list_height - 5; in dialog_checklist()
189 print_buttons(dialog, height, width, 0); in dialog_checklist()
[all …]
A Ddialog.h202 void attr_clear(WINDOW * win, int height, int width, chtype attr);
207 void draw_box(WINDOW * win, int y, int x, int height, int width, chtype box,
209 void draw_shadow(WINDOW * win, int y, int x, int height, int width);
212 int dialog_yesno(const char *title, const char *prompt, int height, int width);
213 int dialog_msgbox(const char *title, const char *prompt, int height,
223 int dialog_checklist(const char *title, const char *prompt, int height,
225 int dialog_inputbox(const char *title, const char *prompt, int height,
A Dutil.c234 for (i = 0; i < height; i++) { in attr_clear()
304 int height, width; in init_dialog() local
311 getmaxyx(stdscr, height, width); in init_dialog()
312 if (height < WINDOW_HEIGTH_MIN || width < WINDOW_WIDTH_MIN) { in init_dialog()
464 draw_box(WINDOW * win, int y, int x, int height, int width, in draw_box() argument
470 for (i = 0; i < height; i++) { in draw_box()
475 else if (i == height - 1 && !j) in draw_box()
479 else if (i == height - 1 && j == width - 1) in draw_box()
483 else if (i == height - 1) in draw_box()
504 wmove(win, y + height, x + 2); in draw_shadow()
[all …]
/scripts/kconfig/
A Dqconf.cc1278 int width, height; in ConfigSearchWindow() local
1283 height = configSettings->value("/window height", parent->height() / 2).toInt(); in ConfigSearchWindow()
1284 resize(width, height); in ConfigSearchWindow()
1304 configSettings->setValue("/window height", size().height()); in saveSettings()
1339 int width, height; in ConfigMainWindow() local
1350 height = configSettings->value("/window height", d->height() - 64).toInt(); in ConfigMainWindow()
1351 resize(width, height); in ConfigMainWindow()
1768 configSettings->setValue("/window height", size().height()); in saveSettings()
/scripts/
A Dspelling.txt796 heigth||height

Completed in 17 milliseconds