Searched refs:scroll (Results 1 - 25 of 42) sorted by relevance

12

/freebsd-9.3-release/gnu/lib/libodialog/
H A Dlineedit.c27 static void redraw_field(WINDOW *dialog, int box_y, int box_x, int flen, int box_width, unsigned char instr[], int input_x, int scroll, chtype attr, chtype old_attr, int fexit, int attr_mask);
36 static int input_x, scroll; local
53 /* scroll = i - input_x;*/
54 scroll = (i > box_width) ? i - box_width + 1: 0;
56 redraw_field(dialog, box_y, box_x, flen, box_width, instr, input_x, scroll, attr, old_attr, FALSE, attr_mask);
76 for (i = strlen(instr) - 1; i >= scroll + input_x && instr[i] == ' '; i--)
84 input_x = scroll = 0;
88 memset(instr + scroll + input_x, '\0', sizeof(instr) - scroll - input_x);
89 redraw_field(dialog, box_y, box_x, flen, box_width, instr, input_x, scroll, att
200 redraw_field(WINDOW *dialog, int box_y, int box_x, int flen, int box_width, unsigned char instr[], int input_x, int scroll, chtype attr, chtype old_attr, int fexit, int attr_mask) argument
[all...]
H A Dmenubox.c42 l, k, scroll, max_choice, item_no, redraw_menu = FALSE; local
52 scroll = sc ? *sc : 0;
164 print_item(menu, items[(scroll + i) * 2], items[(scroll + i) * 2 + 1], i, i == choice, DREF(ditems, scroll + i), menu_width, tag_x, item_x);
166 print_arrows(dialog, scroll, menu_height, item_no, box_x, box_y, tag_x, cur_x, cur_y);
207 strcpy(result, items[(scroll + choice) * 2]);
234 if (key < 0x100 && key != ' ' && toupper(key) == toupper(items[(scroll + i) * 2][0]))
242 if (scroll) {
247 print_item(menu, items[scroll *
[all...]
H A Dchecklist.c43 choice, l, k, scroll, max_choice, item_no = 0, *status; local
60 choice = scroll = button = 0;
177 print_arrows(dialog, scroll, list_height, item_no, box_x, box_y, check_x + 4, cur_x, cur_y);
213 print_arrows(dialog, scroll, list_height, item_no, box_x, box_y, check_x + 4, cur_x, cur_y);
275 if (key != ' ' && key < 0x100 && toupper(key) == toupper(items[(scroll+i)*3][0]))
305 if (scroll) {
310 print_item(list, items[scroll * 3], items[scroll * 3 + 1], status[scroll], 0,
311 FALSE, DREF(ditems, scroll), list_widt
[all...]
H A Dradiolist.c46 choice, l, k, scroll, max_choice, *status, item_no = 0, was_on = 0; local
62 button = choice = scroll = 0;
191 print_arrows(dialog, scroll, list_height, item_no, box_x, box_y, check_x + 4, cur_x, cur_y);
269 if (key != ' ' && toupper(key) == toupper(items[(scroll + i) * 3][0]))
299 if (scroll) {
304 print_item(list, items[scroll*3], items[scroll*3 + 1], status[scroll], 0,
305 FALSE, DREF(ditems, scroll));
310 scroll
[all...]
H A Dtree.c134 int sc; /* saved sc - scroll */
173 l, scroll = 0, max_choice, redraw_menu = FALSE; local
179 scroll = *sc;
264 print_item(menu, items[(scroll+i)], i, i == choice);
266 print_arrows(dialog, scroll, menu_height, item_no, box_x, box_y, item_x, cur_x, cur_y);
267 print_position(dialog, box_x+menu_width, box_y+menu_height, scroll+choice, item_no);
285 if (scroll) {
290 scroll--;
292 /* Reprint menu to scroll down */
294 print_item(menu, items[(scroll
[all...]
H A Dkernel.c25 * 19/12/93 - menu will now scroll if there are more items than can fit
237 scroll(win);
301 scroll(win);
513 void print_arrows(WINDOW *dialog, int scroll, int menu_height, int item_no, argument
517 wattrset(dialog, scroll ? uarrow_attr : menubox_attr);
518 waddch(dialog, scroll ? ACS_UARROW : ACS_HLINE);
520 waddch(dialog, scroll ? '(' : ACS_HLINE);
522 waddch(dialog, scroll ? '-' : ACS_HLINE);
524 waddch(dialog, scroll ? ')' : ACS_HLINE);
526 wattrset(dialog, scroll
[all...]
H A Dui_objects.c380 for (i=lo->scroll; i<lo->n && i<lo->scroll+h; i++) {
381 wmove(lo->win, y+i-lo->scroll, x);
397 while (i<lo->scroll+h) {
398 wmove(lo->win, y+i-lo->scroll, x);
473 lo->scroll = 0;
513 lo->scroll = 0;
534 sel_y = lo->y + 2 + lo->sel - lo->scroll;
575 lo->scroll++;
591 lo->scroll
[all...]
H A Dui_objects.h66 int scroll, sel; /* current position in the list */ member in struct:__anon4904
H A Ddialog.priv.h181 void print_arrows(WINDOW *dialog, int scroll, int menu_height, int item_no, int box_x,
/freebsd-9.3-release/usr.sbin/bsdinstall/partedit/
H A Ddiskeditor.h45 struct partedit_item *items, int nitems, int *selected, int *scroll);
/freebsd-9.3-release/usr.sbin/sade/
H A Dmain.c42 int choice, scroll, curr, max, status; local
78 /* Try to preserve our scroll-back buffer */
110 choice = scroll = curr = max = 0;
111 dmenuOpen(&MenuMain, &choice, &scroll, &curr, &max, FALSE);
H A Ddmenu.c169 int choice, scroll, curr, max; local
171 choice = scroll = curr = max = 0;
172 return dmenuOpen(menu, &choice, &scroll, &curr, &max, buttons);
245 dmenuOpen(DMenu *menu, int *choice, int *scroll, int *curr, int *max, Boolean buttons) argument
268 (char *)(uintptr_t)buttons, choice, scroll);
/freebsd-9.3-release/usr.sbin/sysinstall/
H A Ddmenu.c213 int choice, scroll, curr, max; local
215 choice = scroll = curr = max = 0;
216 return dmenuOpen(menu, &choice, &scroll, &curr, &max, buttons);
303 /* Set the default item for a menu by index and scroll to it. */
305 dmenuSetDefaultIndex(DMenu *menu, int *choice, int *scroll, int *curr, int *max) argument
317 *scroll = MIN(nitem - height, *choice);
318 *choice = *choice - *scroll;
321 *scroll = 0;
324 /* Set the default menu item that matches any field and scroll to it. */
327 int *choice, int *scroll, in
326 dmenuSetDefaultItem(DMenu *menu, const char *prompt, const char *title, void *data, int *choice, int *scroll, int *curr, int *max) argument
343 dmenuOpen(DMenu *menu, int *choice, int *scroll, int *curr, int *max, Boolean buttons) argument
[all...]
H A Dkeymap.c93 int choice, scroll, curr, max; local
121 dmenuSetDefaultIndex(&MenuSysconsKeymap, &choice, &scroll, &curr, &max);
122 return dmenuOpen(&MenuSysconsKeymap, &choice, &scroll, &curr, &max, FALSE);
H A Dmain.c56 int choice, scroll, curr, max, status; local
141 /* Try to preserve our scroll-back buffer */
215 choice = scroll = curr = max = 0;
216 dmenuOpen(&MenuInitial, &choice, &scroll, &curr, &max, TRUE);
H A Dconfig.c515 int choice, scroll, curr, max; local
521 VAR_COUNTRY "=" DEFAULT_COUNTRY, &choice, &scroll, &curr, &max);
522 dmenuOpen(&MenuCountry, &choice, &scroll, &curr, &max, FALSE);
715 int ret, pos, scroll; local
719 pos = scroll = 0;
720 index_menu(&Top, &Top, &Plist, &pos, &scroll);
724 pos = scroll = 0;
725 ret = index_menu(&Plist, &Plist, NULL, &pos, &scroll);
H A Dindex.c596 index_menu(PkgNodePtr root, PkgNodePtr top, PkgNodePtr plist, int *pos, int *scroll) argument
668 rval = dialog_menu(top->name, top->desc, -1, -1, n > MAX_MENU ? MAX_MENU : n, -n, nitems + (plist ? 2 : 0), (char *)plist, pos, scroll);
678 int pos, scroll; local
681 pos = scroll = 0;
682 index_menu(root, menu, plist, &pos, &scroll);
/freebsd-9.3-release/usr.sbin/pkg_install/
H A Dtkpkg13 scrollbar .frame.scroll -relief sunken -command ".frame.list yview"
14 listbox .frame.list -yscroll ".frame.scroll set" -relief sunken -setgrid 1
15 pack append .frame .frame.scroll {right filly} \
/freebsd-9.3-release/contrib/ncurses/ncurses/base/
H A Dlib_addch.c156 scroll(win);
451 scroll(win);
463 scroll(win);
/freebsd-9.3-release/usr.bin/mail/
H A Dcmdtab.c89 { "z", scroll, M|STRLIST, 0, 0 },
H A Dextern.h212 int scroll(char []);
H A Dcmd1.c96 scroll(char arg[]) function
/freebsd-9.3-release/contrib/dialog/
H A Dprogressbox.c234 scroll(text);
/freebsd-9.3-release/contrib/ee/
H A Dnew_curse.h150 #define UP 1 /* direction of scroll */
160 int scroll; member in struct:_line
/freebsd-9.3-release/contrib/ncurses/include/
H A DCaps.uwin376 key_sf kind str kF KEY_SF 0520 -B-G-* scroll-forward key
377 key_sr kri str kR KEY_SR 0521 -B-G-* scroll-backward key
401 parm_index indn str SF - - YBCG- scroll forward #1 lines (P)
405 parm_rindex rin str SR - - YBCG- scroll back #1 lines (P)
421 scroll_forward ind str sf - - YBCGE scroll text up (P)
422 scroll_reverse ri str sr - - YBCGE scroll text down (P)
635 crt_no_scrolling OTns bool ns - - YBCG- crt cannot scroll
678 # further data entered forces the first line of unfrozen line text to scroll
726 # scroll_left OTsl1 str Sl - - ----- scroll screen leftward
727 # scroll_right OTsr1 str Sr - - ----- scroll scree
[all...]

Completed in 121 milliseconds

12