| /OK3568_Linux_fs/kernel/scripts/kconfig/lxdialog/ |
| H A D | yesno.c | 35 if (getmaxy(stdscr) < (height + YESNO_HEIGTH_MIN)) in dialog_yesno() 37 if (getmaxx(stdscr) < (width + YESNO_WIDTH_MIN)) in dialog_yesno() 41 x = (getmaxx(stdscr) - width) / 2; in dialog_yesno() 42 y = (getmaxy(stdscr) - height) / 2; in dialog_yesno() 44 draw_shadow(stdscr, y, x, height, width); in dialog_yesno()
|
| H A D | util.c | 246 lines = getmaxy(stdscr); in dialog_clear() 247 columns = getmaxx(stdscr); in dialog_clear() 249 attr_clear(stdscr, lines, columns, dlg.screen.atr); in dialog_clear() 255 wattrset(stdscr, dlg.screen.atr); in dialog_clear() 256 mvwaddstr(stdscr, 0, 1, (char *)dlg.backtitle); in dialog_clear() 263 wmove(stdscr, 1, 1); in dialog_clear() 266 waddstr(stdscr, ellipsis); in dialog_clear() 272 waddch(stdscr, ACS_RARROW); in dialog_clear() 277 waddch(stdscr, ' '); in dialog_clear() 282 waddstr(stdscr, pos->text + skip); in dialog_clear() [all …]
|
| H A D | inputbox.c | 46 if (getmaxy(stdscr) <= (height - INPUTBOX_HEIGTH_MIN)) in dialog_inputbox() 48 if (getmaxx(stdscr) <= (width - INPUTBOX_WIDTH_MIN)) in dialog_inputbox() 52 x = (getmaxx(stdscr) - width) / 2; in dialog_inputbox() 53 y = (getmaxy(stdscr) - height) / 2; in dialog_inputbox() 55 draw_shadow(stdscr, y, x, height, width); in dialog_inputbox()
|
| H A D | checklist.c | 122 if (getmaxy(stdscr) < (height + CHECKLIST_HEIGTH_MIN)) in dialog_checklist() 124 if (getmaxx(stdscr) < (width + CHECKLIST_WIDTH_MIN)) in dialog_checklist() 130 x = (getmaxx(stdscr) - width) / 2; in dialog_checklist() 131 y = (getmaxy(stdscr) - height) / 2; in dialog_checklist() 133 draw_shadow(stdscr, y, x, height, width); in dialog_checklist()
|
| H A D | menubox.c | 181 height = getmaxy(stdscr); in dialog_menu() 182 width = getmaxx(stdscr); in dialog_menu() 193 x = (getmaxx(stdscr) - width) / 2; in dialog_menu() 194 y = (getmaxy(stdscr) - height) / 2; in dialog_menu() 196 draw_shadow(stdscr, y, x, height, width); in dialog_menu()
|
| H A D | textbox.c | 69 getmaxyx(stdscr, height, width); in dialog_textbox() 88 x = (getmaxx(stdscr) - width) / 2; in dialog_textbox() 89 y = (getmaxy(stdscr) - height) / 2; in dialog_textbox() 91 draw_shadow(stdscr, y, x, height, width); in dialog_textbox()
|
| /OK3568_Linux_fs/u-boot/scripts/kconfig/lxdialog/ |
| H A D | yesno.c | 36 if (getmaxy(stdscr) < (height + YESNO_HEIGTH_MIN)) in dialog_yesno() 38 if (getmaxx(stdscr) < (width + YESNO_WIDTH_MIN)) in dialog_yesno() 42 x = (getmaxx(stdscr) - width) / 2; in dialog_yesno() 43 y = (getmaxy(stdscr) - height) / 2; in dialog_yesno() 45 draw_shadow(stdscr, y, x, height, width); in dialog_yesno()
|
| H A D | util.c | 247 lines = getmaxy(stdscr); in dialog_clear() 248 columns = getmaxx(stdscr); in dialog_clear() 250 attr_clear(stdscr, lines, columns, dlg.screen.atr); in dialog_clear() 256 wattrset(stdscr, dlg.screen.atr); in dialog_clear() 257 mvwaddstr(stdscr, 0, 1, (char *)dlg.backtitle); in dialog_clear() 264 wmove(stdscr, 1, 1); in dialog_clear() 267 waddstr(stdscr, ellipsis); in dialog_clear() 273 waddch(stdscr, ACS_RARROW); in dialog_clear() 278 waddch(stdscr, ' '); in dialog_clear() 283 waddstr(stdscr, pos->text + skip); in dialog_clear() [all …]
|
| H A D | inputbox.c | 47 if (getmaxy(stdscr) <= (height - INPUTBOX_HEIGTH_MIN)) in dialog_inputbox() 49 if (getmaxx(stdscr) <= (width - INPUTBOX_WIDTH_MIN)) in dialog_inputbox() 53 x = (getmaxx(stdscr) - width) / 2; in dialog_inputbox() 54 y = (getmaxy(stdscr) - height) / 2; in dialog_inputbox() 56 draw_shadow(stdscr, y, x, height, width); in dialog_inputbox()
|
| H A D | checklist.c | 123 if (getmaxy(stdscr) < (height + CHECKLIST_HEIGTH_MIN)) in dialog_checklist() 125 if (getmaxx(stdscr) < (width + CHECKLIST_WIDTH_MIN)) in dialog_checklist() 131 x = (getmaxx(stdscr) - width) / 2; in dialog_checklist() 132 y = (getmaxy(stdscr) - height) / 2; in dialog_checklist() 134 draw_shadow(stdscr, y, x, height, width); in dialog_checklist()
|
| H A D | menubox.c | 182 height = getmaxy(stdscr); in dialog_menu() 183 width = getmaxx(stdscr); in dialog_menu() 194 x = (getmaxx(stdscr) - width) / 2; in dialog_menu() 195 y = (getmaxy(stdscr) - height) / 2; in dialog_menu() 197 draw_shadow(stdscr, y, x, height, width); in dialog_menu()
|
| H A D | textbox.c | 70 getmaxyx(stdscr, height, width); in dialog_textbox() 89 x = (getmaxx(stdscr) - width) / 2; in dialog_textbox() 90 y = (getmaxy(stdscr) - height) / 2; in dialog_textbox() 92 draw_shadow(stdscr, y, x, height, width); in dialog_textbox()
|
| /OK3568_Linux_fs/buildroot/support/kconfig/lxdialog/ |
| H A D | yesno.c | 48 if (getmaxy(stdscr) < (height + YESNO_HEIGTH_MIN)) in dialog_yesno() 50 if (getmaxx(stdscr) < (width + YESNO_WIDTH_MIN)) in dialog_yesno() 54 x = (getmaxx(stdscr) - width) / 2; in dialog_yesno() 55 y = (getmaxy(stdscr) - height) / 2; in dialog_yesno() 57 draw_shadow(stdscr, y, x, height, width); in dialog_yesno()
|
| H A D | util.c | 259 lines = getmaxy(stdscr); in dialog_clear() 260 columns = getmaxx(stdscr); in dialog_clear() 262 attr_clear(stdscr, lines, columns, dlg.screen.atr); in dialog_clear() 268 wattrset(stdscr, dlg.screen.atr); in dialog_clear() 269 mvwaddstr(stdscr, 0, 1, (char *)dlg.backtitle); in dialog_clear() 276 wmove(stdscr, 1, 1); in dialog_clear() 279 waddstr(stdscr, ellipsis); in dialog_clear() 285 waddch(stdscr, ACS_RARROW); in dialog_clear() 290 waddch(stdscr, ' '); in dialog_clear() 295 waddstr(stdscr, pos->text + skip); in dialog_clear() [all …]
|
| H A D | inputbox.c | 59 if (getmaxy(stdscr) <= (height - INPUTBOX_HEIGTH_MIN)) in dialog_inputbox() 61 if (getmaxx(stdscr) <= (width - INPUTBOX_WIDTH_MIN)) in dialog_inputbox() 65 x = (getmaxx(stdscr) - width) / 2; in dialog_inputbox() 66 y = (getmaxy(stdscr) - height) / 2; in dialog_inputbox() 68 draw_shadow(stdscr, y, x, height, width); in dialog_inputbox()
|
| H A D | checklist.c | 135 if (getmaxy(stdscr) < (height + CHECKLIST_HEIGTH_MIN)) in dialog_checklist() 137 if (getmaxx(stdscr) < (width + CHECKLIST_WIDTH_MIN)) in dialog_checklist() 143 x = (getmaxx(stdscr) - width) / 2; in dialog_checklist() 144 y = (getmaxy(stdscr) - height) / 2; in dialog_checklist() 146 draw_shadow(stdscr, y, x, height, width); in dialog_checklist()
|
| H A D | menubox.c | 194 height = getmaxy(stdscr); in dialog_menu() 195 width = getmaxx(stdscr); in dialog_menu() 206 x = (getmaxx(stdscr) - width) / 2; in dialog_menu() 207 y = (getmaxy(stdscr) - height) / 2; in dialog_menu() 209 draw_shadow(stdscr, y, x, height, width); in dialog_menu()
|
| H A D | textbox.c | 82 getmaxyx(stdscr, height, width); in dialog_textbox() 101 x = (getmaxx(stdscr) - width) / 2; in dialog_textbox() 102 y = (getmaxy(stdscr) - height) / 2; in dialog_textbox() 104 draw_shadow(stdscr, y, x, height, width); in dialog_textbox()
|
| /OK3568_Linux_fs/kernel/tools/thermal/tmon/ |
| H A D | tui.c | 123 getmaxyx(stdscr, maxy, maxx); in setup_windows() 126 title_bar_window = subwin(stdscr, TITLE_BAR_HIGHT, maxx, 0, 0); in setup_windows() 129 tz_sensor_window = subwin(stdscr, SENSOR_WIN_HIGHT, maxx, y_begin, 0); in setup_windows() 132 cooling_device_window = subwin(stdscr, ptdata.nr_cooling_dev + 3, maxx, in setup_windows() 140 dialogue_window = subwin(stdscr, diag_dev_rows() + 5, maxx-50, in setup_windows() 143 thermal_data_window = subwin(stdscr, ptdata.nr_tz_sensor * in setup_windows() 146 control_window = subwin(stdscr, 4, maxx, y_begin, 0); in setup_windows() 150 status_bar_window = subwin(stdscr, 1, maxx, maxy-1, 0); in setup_windows() 178 werase(stdscr); in setup_windows() 189 getmaxyx(stdscr, maxy, maxx); /* get the new screen size */ in resize_handler() [all …]
|
| /OK3568_Linux_fs/kernel/scripts/kconfig/ |
| H A D | nconf.gui.c | 158 win = stdscr; in print_in_middle() 279 y = (getmaxy(stdscr)-(msg_lines+4))/2; in btn_dialog() 280 x = (getmaxx(stdscr)-(total_width+4))/2; in btn_dialog() 373 getmaxyx(stdscr, lines, columns); in dialog_inputbox() 567 getmaxyx(stdscr, lines, columns); in show_scroll_win()
|
| H A D | nconf.c | 370 int lines = getmaxy(stdscr); in print_function_line() 960 print_in_middle(stdscr, 1, 0, getmaxx(stdscr), in show_menu() 1459 getmaxyx(stdscr, lines, columns); in setup_windows() 1500 keypad(stdscr, TRUE); in main() 1503 getmaxyx(stdscr, lines, columns); in main() 1511 notimeout(stdscr, FALSE); in main()
|
| /OK3568_Linux_fs/buildroot/support/kconfig/ |
| H A D | nconf.gui.c | 159 win = stdscr; in print_in_middle() 280 y = (getmaxy(stdscr)-(msg_lines+4))/2; in btn_dialog() 281 x = (getmaxx(stdscr)-(total_width+4))/2; in btn_dialog() 374 getmaxyx(stdscr, lines, columns); in dialog_inputbox() 567 getmaxyx(stdscr, lines, columns); in show_scroll_win()
|
| H A D | nconf.c | 370 int lines = getmaxy(stdscr); in print_function_line() 960 print_in_middle(stdscr, 1, 0, getmaxx(stdscr), in show_menu() 1463 getmaxyx(stdscr, lines, columns); in setup_windows() 1508 keypad(stdscr, TRUE); in main() 1511 getmaxyx(stdscr, lines, columns); in main() 1519 notimeout(stdscr, FALSE); in main()
|
| /OK3568_Linux_fs/u-boot/scripts/kconfig/ |
| H A D | nconf.gui.c | 158 win = stdscr; in print_in_middle() 279 y = (getmaxy(stdscr)-(msg_lines+4))/2; in btn_dialog() 280 x = (getmaxx(stdscr)-(total_width+4))/2; in btn_dialog() 373 getmaxyx(stdscr, lines, columns); in dialog_inputbox() 566 getmaxyx(stdscr, lines, columns); in show_scroll_win()
|
| H A D | nconf.c | 370 int lines = getmaxy(stdscr); in print_function_line() 960 print_in_middle(stdscr, 1, 0, getmaxx(stdscr), in show_menu() 1463 getmaxyx(stdscr, lines, columns); in setup_windows() 1508 keypad(stdscr, TRUE); in main() 1511 getmaxyx(stdscr, lines, columns); in main() 1519 notimeout(stdscr, FALSE); in main()
|