Home
last modified time | relevance | path

Searched refs:height (Results 1 – 10 of 10) 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_HEIGHT_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.c106 for (i = 0; i < height; i++) { in print_page()
156 int height, width, boxh, boxw; in dialog_textbox() local
177 getmaxyx(stdscr, height, width); in dialog_textbox()
181 height = initial_height; in dialog_textbox()
183 if (height > 4) in dialog_textbox()
184 height -= 4; in dialog_textbox()
186 height = 0; in dialog_textbox()
197 y = (getmaxy(stdscr) - height) / 2; in dialog_textbox()
201 dialog = newwin(height, width, y, x); in dialog_textbox()
205 boxh = height - 4; in dialog_textbox()
[all …]
A Dinputbox.c19 int y = height - 2; in print_buttons()
55 y = (getmaxy(stdscr) - height) / 2; in dialog_inputbox()
57 draw_shadow(stdscr, y, x, height, width); in dialog_inputbox()
59 dialog = newwin(height, width, y, x); in dialog_inputbox()
62 draw_box(dialog, 0, 0, height, width, in dialog_inputbox()
65 mvwaddch(dialog, height - 3, 0, ACS_LTEE); in dialog_inputbox()
84 print_buttons(dialog, height, width, 0); in dialog_inputbox()
237 print_buttons(dialog, height, width, 1); in dialog_inputbox()
241 print_buttons(dialog, height, width, 0); in dialog_inputbox()
247 print_buttons(dialog, height, width, 0); in dialog_inputbox()
[all …]
A Dmenubox.c91 int height) in print_arrows() argument
111 y = y + height + 1; in print_arrows()
115 if ((height < item_no) && (scroll + height < item_no)) { in print_arrows()
137 int y = height - 2; in print_buttons()
167 int height, width, menu_height; in dialog_menu() local
173 height = getmaxy(stdscr); in dialog_menu()
178 height -= 4; in dialog_menu()
180 menu_height = height - 10; in dialog_menu()
186 y = (getmaxy(stdscr) - height) / 2; in dialog_menu()
190 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.h182 void attr_clear(WINDOW * win, int height, int width, chtype attr);
187 void draw_box(WINDOW * win, int y, int x, int height, int width, chtype box,
189 void draw_shadow(WINDOW * win, int y, int x, int height, int width);
192 int dialog_yesno(const char *title, const char *prompt, int height, int width);
193 int dialog_msgbox(const char *title, const char *prompt, int height,
200 int dialog_checklist(const char *title, const char *prompt, int height,
202 int dialog_inputbox(const char *title, const char *prompt, int height,
A Dutil.c207 for (i = 0; i < height; i++) { in attr_clear()
277 int height, width; in init_dialog() local
284 getmaxyx(stdscr, height, width); in init_dialog()
285 if (height < WINDOW_HEIGHT_MIN || width < WINDOW_WIDTH_MIN) { in init_dialog()
436 draw_box(WINDOW * win, int y, int x, int height, int width, in draw_box() argument
442 for (i = 0; i < height; i++) { in draw_box()
447 else if (i == height - 1 && !j) in draw_box()
451 else if (i == height - 1 && j == width - 1) in draw_box()
455 else if (i == height - 1) in draw_box()
476 wmove(win, y + height, x + 2); in draw_shadow()
[all …]
/scripts/kconfig/
A Dqconf.cc1208 int width, height; in ConfigSearchWindow() local
1213 height = configSettings->value("/window height", parent->height() / 2).toInt(); in ConfigSearchWindow()
1214 resize(width, height); in ConfigSearchWindow()
1234 configSettings->setValue("/window height", size().height()); in saveSettings()
1267 int width, height; in ConfigMainWindow() local
1278 height = configSettings->value("/window height", g.height() - 64).toInt(); in ConfigMainWindow()
1279 resize(width, height); in ConfigMainWindow()
1755 configSettings->setValue("/window height", size().height()); in saveSettings()
A Dgconf.c592 gtk_paned_set_position(GTK_PANED(vpaned), 2 * event->height / 3); in on_window1_configure()
/scripts/
A Dspelling.txt796 heigth||height

Completed in 17 milliseconds