Home
last modified time | relevance | path

Searched refs:width (Results 1 – 11 of 11) sorted by relevance

/scripts/kconfig/lxdialog/
A Dyesno.c16 int x = width / 2 - 10; in print_buttons()
37 if (getmaxx(stdscr) < (width + YESNO_WIDTH_MIN)) in dialog_yesno()
41 x = (getmaxx(stdscr) - width) / 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()
53 for (i = 0; i < width - 2; i++) in dialog_yesno()
58 print_title(dialog, title, width); in dialog_yesno()
61 print_autowrap(dialog, prompt, width - 2, 1, 3); in dialog_yesno()
63 print_buttons(dialog, height, width, 0); in dialog_yesno()
[all …]
A Dinputbox.c18 int x = width / 2 - 11; in print_buttons()
52 x = (getmaxx(stdscr) - width) / 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()
64 for (i = 0; i < width - 2; i++) in dialog_inputbox()
69 print_title(dialog, title, width); in dialog_inputbox()
75 box_width = width - 6; in dialog_inputbox()
78 box_x = (width - box_width) / 2; in dialog_inputbox()
82 print_buttons(dialog, height, width, 0); in dialog_inputbox()
[all …]
A Dtextbox.c47 int height, width, boxh, boxw; in dialog_textbox() local
68 getmaxyx(stdscr, height, width); in dialog_textbox()
79 width = initial_width; in dialog_textbox()
81 if (width > 5) in dialog_textbox()
82 width -= 5; in dialog_textbox()
84 width = 0; in dialog_textbox()
87 x = (getmaxx(stdscr) - width) / 2; in dialog_textbox()
97 boxw = width - 2; in dialog_textbox()
110 for (i = 0; i < width - 2; i++) in dialog_textbox()
315 print_line(win, i, width); in print_page()
[all …]
A Dchecklist.c90 int x = width / 2 - 11; in print_buttons()
105 int width, int list_height) in dialog_checklist() argument
130 x = (getmaxx(stdscr) - width) / 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()
142 for (i = 0; i < width - 2; i++) in dialog_checklist()
147 print_title(dialog, title, width); in dialog_checklist()
152 list_width = width - 6; in dialog_checklist()
154 box_x = (width - list_width) / 2 - 1; in dialog_checklist()
[all …]
A Ddialog.h202 void attr_clear(WINDOW * win, int height, int width, chtype attr);
204 void print_autowrap(WINDOW * win, const char *prompt, int width, int y, int x);
206 void print_title(WINDOW *dialog, const char *title, int width);
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);
214 int width, int pause);
224 int width, int list_height);
226 int width, const char *init);
A Dmenubox.c144 int x = width / 2 - 28; in print_buttons()
175 int height, width, menu_height; in dialog_menu() local
182 width = getmaxx(stdscr); in dialog_menu()
187 width -= 5; in dialog_menu()
193 x = (getmaxx(stdscr) - width) / 2; in dialog_menu()
198 dialog = newwin(height, width, y, x); in dialog_menu()
201 draw_box(dialog, 0, 0, height, width, in dialog_menu()
205 for (i = 0; i < width - 2; i++) in dialog_menu()
211 print_title(dialog, title, width); in dialog_menu()
216 menu_width = width - 6; in dialog_menu()
[all …]
A Dutil.c236 for (j = 0; j < width; j++) in attr_clear()
304 int height, width; in init_dialog() local
311 getmaxyx(stdscr, height, width); in init_dialog()
355 int tlen = MIN(width - 2, strlen(title)); in print_title()
380 wmove(win, y, (width - prompt_len) / 2); in print_autowrap()
398 room = width - cur_x; in print_autowrap()
472 for (j = 0; j < width; j++) in draw_box()
477 else if (!i && j == width - 1) in draw_box()
487 else if (j == width - 1) in draw_box()
505 for (i = 0; i < width; i++) in draw_shadow()
[all …]
/scripts/
A Ddecodecode58 width=`expr index "$code" ' '`
59 width=$((($width-1)/2))
60 case $width in
82 if [ $width -eq 2 ]; then
90 if [ $width -eq 4 ]; then
171 local num_bytes_ip=$(( $3 + 1 * $width ))
188 num_bytes_ip=$((num_bytes_ip - ($ate_opcodes * $width) ))
199 del_chars=$(( ($ate_opcodes * $width * 2) + $ate_opcodes ))
220 pc_sub=$(( (($marker - 1) / (2 * $width + 1)) * $width ))
/scripts/kconfig/
A Dnconf.h79 int width,
A Dnconf.gui.c150 int width, in print_in_middle() argument
163 if (width == 0) in print_in_middle()
164 width = 80; in print_in_middle()
167 temp = (width - length) / 2; in print_in_middle()
A Dqconf.cc788 if (x >= off && x < off + icon.availableSizes().first().width()) { in mouseReleaseEvent()
1278 int width, height; in ConfigSearchWindow() local
1282 width = configSettings->value("/window width", parent->width() / 2).toInt(); in ConfigSearchWindow()
1284 resize(width, height); in ConfigSearchWindow()
1303 configSettings->setValue("/window width", size().width()); in saveSettings()
1339 int width, height; in ConfigMainWindow() local
1349 width = configSettings->value("/window width", d->width() - 64).toInt(); in ConfigMainWindow()
1351 resize(width, height); in ConfigMainWindow()
1767 configSettings->setValue("/window width", size().width()); in saveSettings()

Completed in 22 milliseconds