y 36 lib/skin/hc-skins.c #define set_lines(x,y) mc_config_set_string(mc_skin->config, "Lines", x, y) y 763 lib/tty/key.c ev->y = tty_lowlevel_getch () - 32; y 775 lib/tty/key.c btn = ev->x = ev->y = 0; y 794 lib/tty/key.c ev->y = 10 * ev->y + (c - '0'); y 1949 lib/tty/key.c show_mouse_pointer (event->x, event->y); y 67 lib/tty/mouse.c show_mouse_pointer (int x, int y) y 71 lib/tty/mouse.c Gpm_DrawPointer (x, y, gpm_consolefd); y 74 lib/tty/mouse.c (void) y; y 87 lib/tty/mouse.h int buttons, x, y; y 114 lib/tty/mouse.h void show_mouse_pointer (int x, int y); y 45 lib/tty/tty-internal.h void tty_colorize_area (int y, int x, int rows, int cols, int color); y 74 lib/tty/tty-ncurses.c #define yx_in_screen(y, x) \ y 75 lib/tty/tty-ncurses.c (y >= 0 && y < LINES && x >= 0 && x < COLS) y 131 lib/tty/tty-ncurses.c tty_clip (int *y, int *x, int *rows, int *cols) y 133 lib/tty/tty-ncurses.c if (*y < 0) y 135 lib/tty/tty-ncurses.c *rows += *y; y 140 lib/tty/tty-ncurses.c *y = 0; y 153 lib/tty/tty-ncurses.c if (*y + *rows > LINES) y 154 lib/tty/tty-ncurses.c *rows = LINES - *y; y 447 lib/tty/tty-ncurses.c tty_gotoyx (int y, int x) y 449 lib/tty/tty-ncurses.c mc_curs_row = y; y 452 lib/tty/tty-ncurses.c if (y < 0) y 453 lib/tty/tty-ncurses.c y = 0; y 454 lib/tty/tty-ncurses.c if (y >= LINES) y 455 lib/tty/tty-ncurses.c y = LINES - 1; y 462 lib/tty/tty-ncurses.c move (y, x); y 477 lib/tty/tty-ncurses.c tty_draw_hline (int y, int x, int ch, int len) y 481 lib/tty/tty-ncurses.c if (y < 0 || y >= LINES || x >= COLS) y 497 lib/tty/tty-ncurses.c move (y, x); y 499 lib/tty/tty-ncurses.c move (y, x1); y 501 lib/tty/tty-ncurses.c mc_curs_row = y; y 508 lib/tty/tty-ncurses.c tty_draw_vline (int y, int x, int ch, int len) y 512 lib/tty/tty-ncurses.c if (x < 0 || x >= COLS || y >= LINES) y 515 lib/tty/tty-ncurses.c y1 = y; y 517 lib/tty/tty-ncurses.c if (y < 0) y 519 lib/tty/tty-ncurses.c len += y; y 522 lib/tty/tty-ncurses.c y = 0; y 528 lib/tty/tty-ncurses.c move (y, x); y 539 lib/tty/tty-ncurses.c tty_fill_region (int y, int x, int rows, int cols, unsigned char ch) y 543 lib/tty/tty-ncurses.c if (!tty_clip (&y, &x, &rows, &cols)) y 548 lib/tty/tty-ncurses.c move (y + i, x); y 552 lib/tty/tty-ncurses.c move (y, x); y 554 lib/tty/tty-ncurses.c mc_curs_row = y; y 561 lib/tty/tty-ncurses.c tty_colorize_area (int y, int x, int rows, int cols, int color) y 569 lib/tty/tty-ncurses.c if (!use_colors || !tty_clip (&y, &x, &rows, &cols)) y 577 lib/tty/tty-ncurses.c mvin_wchnstr (y + row, x, ctext, cols); y 585 lib/tty/tty-ncurses.c mvadd_wchnstr (y + row, x, ctext, cols); y 590 lib/tty/tty-ncurses.c (void) y; y 521 lib/tty/tty-slang.c tty_gotoyx (int y, int x) y 523 lib/tty/tty-slang.c SLsmg_gotorc (y, x); y 538 lib/tty/tty-slang.c tty_draw_hline (int y, int x, int ch, int len) y 542 lib/tty/tty-slang.c if (y < 0 || y >= LINES || x >= COLS) y 560 lib/tty/tty-slang.c SLsmg_gotorc (y, x); y 568 lib/tty/tty-slang.c SLsmg_gotorc (y, x1); y 574 lib/tty/tty-slang.c tty_draw_vline (int y, int x, int ch, int len) y 578 lib/tty/tty-slang.c if (x < 0 || x >= COLS || y >= LINES) y 581 lib/tty/tty-slang.c y1 = y; y 583 lib/tty/tty-slang.c if (y < 0) y 585 lib/tty/tty-slang.c len += y; y 588 lib/tty/tty-slang.c y = 0; y 596 lib/tty/tty-slang.c SLsmg_gotorc (y, x); y 606 lib/tty/tty-slang.c SLsmg_gotorc (y + pos, x); y 618 lib/tty/tty-slang.c tty_fill_region (int y, int x, int rows, int cols, unsigned char ch) y 620 lib/tty/tty-slang.c SLsmg_fill_region (y, x, rows, cols, ch); y 626 lib/tty/tty-slang.c tty_colorize_area (int y, int x, int rows, int cols, int color) y 629 lib/tty/tty-slang.c SLsmg_set_color_in_region (color, y, x, rows, cols); y 661 lib/tty/tty-slang.c #define DRAW(x, y) (x == y) \ y 663 lib/tty/tty-slang.c : SLsmg_write_char ((unsigned int) y) y 248 lib/tty/tty.c tty_draw_box (int y, int x, int ys, int xs, gboolean single) y 258 lib/tty/tty.c y2 = y + ys; y 261 lib/tty/tty.c tty_draw_vline (y, x, mc_tty_frm[single ? MC_TTY_FRM_VERT : MC_TTY_FRM_DVERT], ys); y 262 lib/tty/tty.c tty_draw_vline (y, x2, mc_tty_frm[single ? MC_TTY_FRM_VERT : MC_TTY_FRM_DVERT], ys); y 263 lib/tty/tty.c tty_draw_hline (y, x, mc_tty_frm[single ? MC_TTY_FRM_HORIZ : MC_TTY_FRM_DHORIZ], xs); y 265 lib/tty/tty.c tty_gotoyx (y, x); y 269 lib/tty/tty.c tty_gotoyx (y, x2); y 278 lib/tty/tty.c tty_draw_box_shadow (int y, int x, int rows, int cols, int shadow_color) y 281 lib/tty/tty.c tty_colorize_area (y + 1, x + cols, rows - 1, 2, shadow_color); y 283 lib/tty/tty.c tty_colorize_area (y + rows, x + 2, 1, cols, shadow_color); y 110 lib/tty/tty.h extern void tty_gotoyx (int y, int x); y 126 lib/tty/tty.h extern void tty_draw_hline (int y, int x, int ch, int len); y 127 lib/tty/tty.h extern void tty_draw_vline (int y, int x, int ch, int len); y 128 lib/tty/tty.h extern void tty_draw_box (int y, int x, int rows, int cols, gboolean single); y 129 lib/tty/tty.h extern void tty_draw_box_shadow (int y, int x, int rows, int cols, int shadow_color); y 130 lib/tty/tty.h extern void tty_fill_region (int y, int x, int rows, int cols, unsigned char ch); y 379 lib/util.c const char *p, *y; y 382 lib/util.c p = y = size_trunc (size, use_si); y 388 lib/util.c while (p >= y && !g_ascii_isdigit (*p)) y 390 lib/util.c for (count = 0; p >= y; count++) y 65 lib/widget/background.c w->y = wo->y; y 81 lib/widget/background.c tty_fill_region (w->y, w->x, w->lines, w->cols, b->pattern); y 111 lib/widget/background.c background_new (int y, int x, int lines, int cols, int color, unsigned char pattern, y 119 lib/widget/background.c widget_init (w, y, x, lines, cols, callback != NULL ? callback : background_callback, NULL); y 30 lib/widget/background.h WBackground *background_new (int y, int x, int lines, int cols, int color, unsigned char pattern, y 207 lib/widget/button.c button_new (int y, int x, int action, button_flags_t flags, const char *text, bcback_fn callback) y 218 lib/widget/button.c widget_init (w, y, x, 1, button_get_len (b), button_default_callback, y 46 lib/widget/button.h WButton *button_new (int y, int x, int action, button_flags_t flags, const char *text, y 134 lib/widget/check.c check_new (int y, int x, gboolean state, const char *text) y 143 lib/widget/check.c widget_init (w, y, x, 1, 4 + hotkey_width (c->text), check_callback, check_mouse_callback); y 28 lib/widget/check.h WCheck *check_new (int y, int x, gboolean state, const char *text); y 380 lib/widget/dialog.c if (event->y < 0 || event->y >= w->lines || event->x < 0 || event->x >= w->cols) y 60 lib/widget/frame.c w->y = wo->y; y 80 lib/widget/frame.c tty_draw_box_shadow (w->y, w->x, w->lines, w->cols, SHADOW_COLOR); y 83 lib/widget/frame.c tty_fill_region (w->y, w->x, w->lines, w->cols, ' '); y 84 lib/widget/frame.c tty_draw_box (w->y + d, w->x + d, w->lines - 2 * d, w->cols - 2 * d, f->single); y 100 lib/widget/frame.c frame_new (int y, int x, int lines, int cols, const char *title, gboolean single, gboolean compact) y 107 lib/widget/frame.c widget_init (w, y, x, lines, cols, frame_callback, NULL); y 36 lib/widget/frame.h WFrame *frame_new (int y, int x, int lines, int cols, const char *title, gboolean single, y 127 lib/widget/gauge.c gauge_new (int y, int x, int cols, gboolean shown, int max, int current) y 134 lib/widget/gauge.c widget_init (w, y, x, 1, cols, gauge_callback, NULL); y 30 lib/widget/gauge.h WGauge *gauge_new (int y, int x, int cols, gboolean shown, int max, int current); y 201 lib/widget/group.c WRect r = { WIDGET (w->owner)->y, WIDGET (w->owner)->x, 0, 0 }; y 235 lib/widget/group.c WRect r = { WIDGET (w->owner)->y, WIDGET (w->owner)->x, 0, 0 }; y 387 lib/widget/group.c WRect r = { c->y, c->x, c->lines, c->cols }; y 402 lib/widget/group.c r.y = g->y + (g->lines - c->lines) / 2; y 405 lib/widget/group.c r.y += wss->shift_y; y 409 lib/widget/group.c r.y += wss->shift_y; y 411 lib/widget/group.c r.y += wss->shift_y + wss->scale_y; y 424 lib/widget/group.c WRect or = { w->y, w->x, w->lines, w->cols }; y 427 lib/widget/group.c w->y = r->y; y 441 lib/widget/group.c wss.shift_y = w->y - or.y; y 463 lib/widget/group.c rect_init (&r0, w->y, w->x, w->lines, w->cols); y 467 lib/widget/group.c widget_adjust_position (w->pos_flags, &r0.y, &r0.x, &r0.lines, &r0.cols); y 780 lib/widget/group.c ww->y = (wg->lines - ww->lines) / 2; y 71 lib/widget/groupbox.c tty_draw_box (w->y, w->x, w->lines, w->cols, TRUE); y 96 lib/widget/groupbox.c groupbox_new (int y, int x, int height, int width, const char *title) y 103 lib/widget/groupbox.c widget_init (w, y, x, height, width, groupbox_callback, NULL); y 27 lib/widget/groupbox.h WGroupbox *groupbox_new (int y, int x, int height, int width, const char *title); y 58 lib/widget/history.c int y; y 72 lib/widget/history.c int x = 0, y, he, wi; y 81 lib/widget/history.c y = data->y; y 84 lib/widget/history.c if (he <= y || y > (LINES - 6)) y 86 lib/widget/history.c he = MIN (he, y - 1); y 87 lib/widget/history.c y -= he; y 91 lib/widget/history.c y++; y 92 lib/widget/history.c he = MIN (he, LINES - y); y 106 lib/widget/history.c rect_init (&r, y, x, he, wi); y 184 lib/widget/history.c history_descriptor_init (history_descriptor_t * hd, int y, int x, GList * history, int current) y 187 lib/widget/history.c hd->y = y; y 222 lib/widget/history.c hist_data.y = hd->y; y 243 lib/widget/history.c if (WIDGET (query_dlg)->y < hd->y) y 288 lib/widget/history.c if (WIDGET (query_dlg)->y < hd->y) y 26 lib/widget/history.h int y; /**< y-coordinate to place history window */ y 44 lib/widget/history.h void history_descriptor_init (history_descriptor_t * hd, int y, int x, GList * history, y 95 lib/widget/hline.c w->y = RECT (data)->y; y 109 lib/widget/hline.c tty_draw_hline (w->y, w->x + 1, ACS_HLINE, w->cols - 2); y 143 lib/widget/hline.c hline_new (int y, int x, int width) y 151 lib/widget/hline.c widget_init (w, y, x, lines, width < 0 ? 1 : width, hline_callback, NULL); y 29 lib/widget/hline.h WHLine *hline_new (int y, int x, int width); y 176 lib/widget/input.c history_descriptor_init (&hd, WIDGET (in)->y, WIDGET (in)->x, in->history.list, y 988 lib/widget/input.c input_new (int y, int x, const int *colors, int width, const char *def_text, y 996 lib/widget/input.c widget_init (w, y, x, 1, width, input_callback, input_mouse_callback); y 86 lib/widget/input.h WInput *input_new (int y, int x, const int *colors, y 1226 lib/widget/input_complete.c int x, y, w, h; y 1240 lib/widget/input_complete.c start_y = WIDGET (in)->y; y 1243 lib/widget/input_complete.c y = start_y - 2 - count; y 1248 lib/widget/input_complete.c y = 0; y 1253 lib/widget/input_complete.c y = start_y + 1; y 1271 lib/widget/input_complete.c dlg_create (TRUE, y, x, complete_height, complete_width, WPOS_KEEP_DEFAULT, TRUE, y 69 lib/widget/label.c int y = 0; y 103 lib/widget/label.c widget_gotoyx (w, y, 0); y 111 lib/widget/label.c y++; y 130 lib/widget/label.c label_new (int y, int x, const char *text) y 142 lib/widget/label.c widget_init (w, y, x, lines, cols, label_callback, NULL); y 29 lib/widget/label.h WLabel *label_new (int y, int x, const char *text); y 219 lib/widget/listbox.c listbox_y_pos (WListbox * l, int y) y 221 lib/widget/listbox.c return MIN (l->top + y, LISTBOX_LAST (l)); y 512 lib/widget/listbox.c listbox_select_entry (l, listbox_y_pos (l, event->y)); y 525 lib/widget/listbox.c listbox_select_entry (l, listbox_y_pos (l, event->y)); y 548 lib/widget/listbox.c listbox_new (int y, int x, int height, int width, gboolean deletable, lcback_fn callback) y 558 lib/widget/listbox.c widget_init (w, y, x, height, width, listbox_callback, listbox_mouse_callback); y 63 lib/widget/listbox.h WListbox *listbox_new (int y, int x, int height, int width, gboolean deletable, lcback_fn callback); y 126 lib/widget/menu.c const int y = 2 + idx; y 137 lib/widget/menu.c widget_gotoyx (w, y, x - 1); y 139 lib/widget/menu.c tty_draw_hline (w->y + y, w->x + x, ACS_HLINE, menu->max_entry_len + 3); y 140 lib/widget/menu.c widget_gotoyx (w, y, x + menu->max_entry_len + 3); y 149 lib/widget/menu.c widget_gotoyx (w, y, x); y 167 lib/widget/menu.c widget_gotoyx (w, y, x + menu->max_hotkey_len + 3); y 172 lib/widget/menu.c widget_gotoyx (w, y, x + 1); y 191 lib/widget/menu.c tty_draw_box_shadow (w->y + 1, w->x + column, count + 2, menu->max_entry_len + 5, y 195 lib/widget/menu.c tty_draw_box (w->y + 1, w->x + column, count + 2, menu->max_entry_len + 5, FALSE); y 225 lib/widget/menu.c tty_draw_hline (w->y, w->x, ' ', w->cols); y 719 lib/widget/menu.c menubar_mouse_on_menu (const WMenuBar * menubar, int y, int x) y 739 lib/widget/menu.c return (x >= left_x && x < right_x && y > 1 && y < bottom_y); y 745 lib/widget/menu.c menubar_change_selected_item (WMenuBar * menubar, int y) y 750 lib/widget/menu.c y -= 2; /* skip bar and top frame */ y 752 lib/widget/menu.c entry = MENUENTRY (g_list_nth_data (menu->entries, y)); y 757 lib/widget/menu.c menu->selected = y; y 772 lib/widget/menu.c mouse_on_drop = menubar_mouse_on_menu (menubar, event->y, event->x); y 779 lib/widget/menu.c if (event->y == 0) y 790 lib/widget/menu.c menubar_change_selected_item (menubar, event->y); y 821 lib/widget/menu.c if ((event->buttons & GPM_B_MIDDLE) != 0 && event->y > 0 && menubar->is_dropped) y 828 lib/widget/menu.c else if (event->y > 0) y 834 lib/widget/menu.c if (event->y == 0) y 840 lib/widget/menu.c menubar_change_selected_item (menubar, event->y); y 851 lib/widget/menu.c if (event->y == 0) y 65 lib/widget/mouse.c event->y = global_gpm->y - w->y - 1; y 42 lib/widget/mouse.h int x, y; /* Local to the widget. */ y 69 lib/widget/quick.c quick_create_input (int y, int x, const quick_widget_t * qw) y 73 lib/widget/quick.c in = input_new (y, x, input_colors, 8, qw->u.input.text, qw->u.input.histname, y 85 lib/widget/quick.c quick_create_labeled_input (GArray * widgets, int *y, int x, quick_widget_t * quick_widget, y 100 lib/widget/quick.c label.widget = WIDGET (label_new (*y, x, I18N (quick_widget->u.input.label_text))); y 101 lib/widget/quick.c *y += label.widget->lines - 1; y 104 lib/widget/quick.c in.widget = WIDGET (quick_create_input (++(*y), x, quick_widget)); y 112 lib/widget/quick.c label.widget = WIDGET (label_new (*y, x, I18N (quick_widget->u.input.label_text))); y 115 lib/widget/quick.c in.widget = WIDGET (quick_create_input (*y, x + label.widget->cols + 1, quick_widget)); y 123 lib/widget/quick.c in.widget = WIDGET (quick_create_input (*y, x, quick_widget)); y 129 lib/widget/quick.c (*y, x + in.widget->cols + 1, I18N (quick_widget->u.input.label_text))); y 136 lib/widget/quick.c in.widget = WIDGET (quick_create_input (*y, x, quick_widget)); y 140 lib/widget/quick.c label.widget = WIDGET (label_new (++(*y), x, I18N (quick_widget->u.input.label_text))); y 141 lib/widget/quick.c *y += label.widget->lines - 1; y 166 lib/widget/quick.c int x, y; /* current positions */ y 191 lib/widget/quick.c y = 1; y 207 lib/widget/quick.c (++y, x, *quick_widget->u.checkbox.state, y 221 lib/widget/quick.c item.widget = WIDGET (button_new (++y, x, quick_widget->u.button.action, y 238 lib/widget/quick.c y++; y 241 lib/widget/quick.c quick_create_labeled_input (widgets, &y, x, quick_widget, &width); y 246 lib/widget/quick.c item.widget = WIDGET (quick_create_input (y, x, quick_widget)); y 259 lib/widget/quick.c item.widget = WIDGET (label_new (++y, x, I18N (quick_widget->u.label.text))); y 261 lib/widget/quick.c y += item.widget->lines - 1; y 282 lib/widget/quick.c r = radio_new (++y, x, quick_widget->u.radio.count, (const char **) items); y 287 lib/widget/quick.c y += item.widget->lines - 1; y 301 lib/widget/quick.c g = groupbox_new (++y, x, 1, len + 4, quick_widget->u.groupbox.title); y 312 lib/widget/quick.c y++; y 313 lib/widget/quick.c w->lines = y + 1 - w->y; y 321 lib/widget/quick.c y++; y 324 lib/widget/quick.c item.widget = WIDGET (hline_new (y, x, 1)); y 330 lib/widget/quick.c y2 = y; y 337 lib/widget/quick.c y1 = y; y 338 lib/widget/quick.c y = y2; y 343 lib/widget/quick.c y = MAX (y1, y); y 352 lib/widget/quick.c y++; y 355 lib/widget/quick.c item.widget = WIDGET (hline_new (y, 1, -1)); y 361 lib/widget/quick.c y++; y 365 lib/widget/quick.c item.widget = WIDGET (button_new (y, x++, quick_widget->u.button.action, y 408 lib/widget/quick.c if (quick_dlg->x == -1 || quick_dlg->y == -1) y 409 lib/widget/quick.c dd = dlg_create (TRUE, 0, 0, y + 3, quick_dlg->cols, WPOS_CENTER | WPOS_TRYUP, FALSE, y 413 lib/widget/quick.c dd = dlg_create (TRUE, quick_dlg->y, quick_dlg->x, y + 3, quick_dlg->cols, y 503 lib/widget/quick.c widget_set_size (item->widget, item->widget->y, item->widget->x, 1, y 333 lib/widget/quick.h int y, x; /* if -1, then center the dialog */ y 167 lib/widget/radio.c tty_draw_hline (w->y + i, w->x, ' ', w->cols); y 194 lib/widget/radio.c RADIO (w)->pos = event->y; y 199 lib/widget/radio.c RADIO (w)->pos = event->y; y 214 lib/widget/radio.c radio_new (int y, int x, int count, const char **texts) y 236 lib/widget/radio.c widget_init (w, y, x, count, 4 + wmax, radio_callback, radio_mouse_callback); y 34 lib/widget/radio.h WRadio *radio_new (int y, int x, int count, const char **text); y 62 lib/widget/rect.c rect_new (int y, int x, int lines, int cols) y 69 lib/widget/rect.c rect_init (r, y, x, lines, cols); y 86 lib/widget/rect.c rect_init (WRect * r, int y, int x, int lines, int cols) y 88 lib/widget/rect.c r->y = y; y 106 lib/widget/rect.c r->y += dy; y 140 lib/widget/rect.c int y, x; y 144 lib/widget/rect.c y = r->y + r->lines; y 146 lib/widget/rect.c y1 = r1->y + r1->lines; y 150 lib/widget/rect.c y = MIN (y, y1); y 154 lib/widget/rect.c r->y = MAX (r->y, r1->y); y 158 lib/widget/rect.c r->lines = y - r->y; y 176 lib/widget/rect.c int x, y; y 180 lib/widget/rect.c y = r->y + r->lines; y 182 lib/widget/rect.c y1 = r1->y + r1->lines; y 186 lib/widget/rect.c y = MAX (y, y1); y 190 lib/widget/rect.c r->y = MIN (r->y, r1->y); y 194 lib/widget/rect.c r->lines = y - r->y; y 212 lib/widget/rect.c || (r2->y >= r1->y + r1->lines) || (r1->y >= r2->y + r2->lines)); y 228 lib/widget/rect.c return (r1->y == r2->y && r1->x == r2->x && r1->lines == r2->lines && r1->cols == r2->cols); y 23 lib/widget/rect.h int y; y 33 lib/widget/rect.h WRect *rect_new (int y, int x, int lines, int cols); y 34 lib/widget/rect.h void rect_init (WRect * r, int y, int x, int lines, int cols); y 88 lib/widget/widget-common.c w->y = r->y; y 311 lib/widget/widget-common.c widget_init (Widget * w, int y, int x, int lines, int cols, y 316 lib/widget/widget-common.c w->y = y; y 403 lib/widget/widget-common.c widget_adjust_position (widget_pos_flags_t pos_flags, int *y, int *x, int *lines, int *cols) y 407 lib/widget/widget-common.c *y = 0; y 418 lib/widget/widget-common.c *y = (LINES - *lines) / 2; y 422 lib/widget/widget-common.c if (*y > 3) y 423 lib/widget/widget-common.c *y -= 2; y 424 lib/widget/widget-common.c else if (*y == 3) y 425 lib/widget/widget-common.c *y = 2; y 442 lib/widget/widget-common.c widget_set_size (Widget * w, int y, int x, int lines, int cols) y 444 lib/widget/widget-common.c WRect r = { y, x, lines, cols }; y 476 lib/widget/widget-common.c tty_fill_region (w->y, w->x, w->lines, w->cols, ' '); y 664 lib/widget/widget-common.c || (a->x >= b->x + b->cols) || (b->y >= a->y + a->lines) || (a->y >= b->y + b->lines)); y 703 lib/widget/widget-common.c w->y += delta->y; y 708 lib/widget/widget-common.c w->y += WIDGET (w->owner)->y; y 728 lib/widget/widget-common.c w->y -= delta->y; y 733 lib/widget/widget-common.c w->y -= WIDGET (w->owner)->y; y 901 lib/widget/widget-common.c local.y = global->y - w->y; y 912 lib/widget/widget-common.c return (event->x > w->x) && (event->y > w->y) && (event->x <= w->x + w->cols) y 913 lib/widget/widget-common.c && (event->y <= w->y + w->lines); y 18 lib/widget/widget-common.h #define widget_gotoyx(w, _y, _x) tty_gotoyx (CONST_WIDGET(w)->y + (_y), CONST_WIDGET(w)->x + (_x)) y 133 lib/widget/widget-common.h int x, y; y 205 lib/widget/widget-common.h void widget_init (Widget * w, int y, int x, int lines, int cols, y 211 lib/widget/widget-common.h void widget_adjust_position (widget_pos_flags_t pos_flags, int *y, int *x, int *lines, int *cols); y 212 lib/widget/widget-common.h void widget_set_size (Widget * w, int y, int x, int lines, int cols); y 432 lib/widget/widget-common.h widget_set_size (w, r->y, r->x, r->lines, r->cols); y 100 lib/widget/wtools.c ypos = WIDGET (prev_dlg)->y + 2; y 697 lib/widget/wtools.c int wd_width, y; y 707 lib/widget/wtools.c y = 2; y 708 lib/widget/wtools.c ssm->label = label_new (y++, 3, ""); y 710 lib/widget/wtools.c group_add_widget (wg, hline_new (y++, -1, -1)); y 711 lib/widget/wtools.c b = WIDGET (button_new (y++, 3, B_CANCEL, NORMAL_BUTTON, b_name, NULL)); y 714 lib/widget/wtools.c widget_set_size (wd, wd->y, wd->x, y + 2, wd_width); y 61 src/cons.handler.c #define cursor_to(x, y) \ y 64 src/cons.handler.c printf("\x1B[%d;%df", (y) + 1, (x) + 1); \ y 3459 src/diffviewer/ydiff.c widget_init (w, dw->y, dw->x, dw->lines - 1, dw->cols, dview_callback, dview_mouse_callback); y 139 src/editor/edit-impl.h gboolean edit_add_window (WDialog * h, int y, int x, int lines, int cols, y 184 src/editor/edit-impl.h WEdit *edit_init (WEdit * edit, int y, int x, int lines, int cols, y 167 src/editor/edit.c widget_set_size (wd, wd->y, wd->x, wd->lines, wd_width); y 168 src/editor/edit.c widget_set_size (lw, lw->y, wd->x + (wd->cols - lw->cols) / 2, lw->lines, lw->cols); y 2081 src/editor/edit.c edit_init (WEdit * edit, int y, int x, int lines, int cols, const vfs_path_t * filename_vpath, y 2111 src/editor/edit.c widget_init (w, y, x, lines, cols, NULL, NULL); y 2244 src/editor/edit.c if (edit_init (e, w->y, w->x, w->lines, w->cols, filename_vpath, line) == NULL) y 478 src/editor/editcmd.c return edit_add_window (h, w->y + 1, w->x, w->lines - 2, w->cols, vpath, 0); y 2074 src/editor/editcmd.c int y = 2; y 2088 src/editor/editcmd.c group_add_widget (g, label_new (y, 3, query)); y 2090 src/editor/editcmd.c input_new (y++, 3 + wq + 1, input_colors, w - (6 + wq + 1), "", 0, y 2094 src/editor/editcmd.c group_add_widget (g, hline_new (y++, -1, -1)); y 2096 src/editor/editcmd.c group_add_widget_autopos (g, button_new (y, 1, B_CANCEL, NORMAL_BUTTON, _("Cancel"), NULL), y 365 src/editor/editcomplete.c start_y = we->y + edit->curs_row + EDIT_TEXT_VERTICAL_OFFSET + (edit->fullscreen ? 0 : 1) + 1; y 80 src/editor/editdraw.c #define edit_move(x,y) widget_gotoyx(edit, y, x); y 256 src/editor/editdraw.c int y, x; y 281 src/editor/editdraw.c tty_getyx (&y, &x); y 351 src/editor/editdraw.c tty_draw_box (w->y, w->x, w->lines, w->cols, !active); y 392 src/editor/editdraw.c int x, x1, y, cols_to_skip; y 399 src/editor/editdraw.c y = row + EDIT_TEXT_VERTICAL_OFFSET; y 405 src/editor/editdraw.c y++; y 415 src/editor/editdraw.c if (len > 0 && w->y + y >= 0) y 418 src/editor/editdraw.c tty_draw_hline (w->y + y, w->x + x1, ' ', len); y 422 src/editor/editdraw.c tty_draw_hline (w->y + y, w->x + x1, ' ', len); y 427 src/editor/editdraw.c tty_draw_hline (w->y + y, w->x + x1, ' ', wrap_start); y 433 src/editor/editdraw.c tty_draw_hline (w->y + y, w->x + x1 + wrap_start, ' ', len); y 444 src/editor/editdraw.c edit_move (x1 + i - option_line_state_width, y); y 451 src/editor/editdraw.c edit_move (x1, y); y 856 src/editor/editdraw.c last_line = wh->y + wh->lines - 1; y 858 src/editor/editdraw.c y1 = w->y; y 868 src/editor/editdraw.c y2 = w->y + w->lines - 1; y 869 src/editor/editdraw.c if (y2 < wh->y + 1 /* menubar */ ) y 883 src/editor/editdraw.c else if (y1 >= wh->y + 1 /* menubar */ ) y 1068 src/editor/editdraw.c w->y++; y 1124 src/editor/editdraw.c w->y--; y 222 src/editor/editsearch.c ypos = w->y + w->lines / 2; y 749 src/editor/editsearch.c widget_set_size (wd, wd->y, wd->x, wd->lines, wd_width); y 750 src/editor/editsearch.c widget_set_size (lw, lw->y, wd->x + (wd->cols - lw->cols) / 2, lw->lines, lw->cols); y 225 src/editor/editwidget.c if (w->y > wh->y + 1) /* menubar */ y 226 src/editor/editwidget.c w->y--; y 229 src/editor/editwidget.c if (w->y < wh->y + wh->lines - 2) /* buttonbar */ y 230 src/editor/editwidget.c w->y++; y 269 src/editor/editwidget.c if (w->y + w->lines < wh->y + wh->lines - 1) /* buttonbar */ y 400 src/editor/editwidget.c edit_add_window (h, wh->y + 1, wh->x, wh->lines - 2, wh->cols, NULL, 0); y 697 src/editor/editwidget.c int x, y; y 701 src/editor/editwidget.c y = event->y - (edit->fullscreen ? 0 : 1); y 731 src/editor/editwidget.c if (y > edit->curs_row) y 732 src/editor/editwidget.c edit_move_down (edit, y - edit->curs_row, FALSE); y 733 src/editor/editwidget.c else if (y < edit->curs_row) y 734 src/editor/editwidget.c edit_move_up (edit, edit->curs_row - y, FALSE); y 861 src/editor/editwidget.c if (msg == MSG_MOUSE_DOWN && event->y == 0) y 925 src/editor/editwidget.c w->y = wo->y + 1; y 986 src/editor/editwidget.c int y, x; y 988 src/editor/editwidget.c y = (e->fullscreen ? 0 : 1) + EDIT_TEXT_VERTICAL_OFFSET + e->curs_row; y 992 src/editor/editwidget.c widget_gotoyx (w, y, x); y 1041 src/editor/editwidget.c global_y = event->y + w->y; y 1044 src/editor/editwidget.c global_y = CLAMP (global_y, h->y + 1, h->y + h->lines - 2); /* Status line, buttonbar */ y 1049 src/editor/editwidget.c w->y = global_y; y 1054 src/editor/editwidget.c w->lines = MAX (WINDOW_MIN_LINES, global_y - w->y + 1); y 1096 src/editor/editwidget.c if (msg == MSG_MOUSE_DOWN && (event->y + w->y == LINES - 1)) y 1111 src/editor/editwidget.c if (event->y == 0) y 1127 src/editor/editwidget.c if (event->y == w->lines - 1 && event->x == w->cols - 1) y 1143 src/editor/editwidget.c if (event->y == 0) y 1274 src/editor/editwidget.c f_ok = edit_add_window (edit_dlg, wd->y + 1, wd->x, wd->lines - 2, wd->cols, f->file_vpath, y 1357 src/editor/editwidget.c rect_init (&edit->loc_prev, w->y, w->x, w->lines, w->cols); y 1376 src/editor/editwidget.c edit_add_window (WDialog * h, int y, int x, int lines, int cols, const vfs_path_t * f, long fline) y 1381 src/editor/editwidget.c edit = edit_init (NULL, y, x, lines, cols, f, fline); y 1541 src/editor/editwidget.c widget_set_size (w, h->y + 1, h->x, h->lines - 2, h->cols); y 329 src/editor/etags.c start_y = we->y + edit->curs_row + EDIT_TEXT_VERTICAL_OFFSET + (edit->fullscreen ? 0 : 1) + 1; y 220 src/file_history.c history_descriptor_init (&hd, w->y, w->x, file_list, 0); y 458 src/filemanager/achown.c perm_button_new (int y, int x, int action, button_flags_t flags, const char *text, y 465 src/filemanager/achown.c b = button_new (y, x, action, flags, text, callback); y 554 src/filemanager/achown.c dlg_create (TRUE, wh->y - 1, lxx, wh->lines + 2, 17, WPOS_KEEP_DEFAULT, TRUE, y 738 src/filemanager/achown.c int y; y 761 src/filemanager/achown.c #define XTRACT(i,y,cb) y, BX+advanced_chown_but[i].x, \ y 778 src/filemanager/achown.c y = BY + 3; y 782 src/filemanager/achown.c group_add_widget (ch_grp, hline_new (y++, -1, -1)); y 784 src/filemanager/achown.c button_new (y, y 792 src/filemanager/achown.c button_new (y, WIDGET (ch_dlg)->cols / 2 + 1, y 796 src/filemanager/achown.c y++; y 800 src/filemanager/achown.c group_add_widget (ch_grp, hline_new (y++, -1, -1)); y 802 src/filemanager/achown.c button_new (y, y 810 src/filemanager/achown.c button_new (y, WIDGET (ch_dlg)->cols / 2 + 1, y 193 src/filemanager/boxes.c int y, x; y 196 src/filemanager/boxes.c y = wd->y + (wd->lines - w->lines) / 2; y 198 src/filemanager/boxes.c rect_init (&r, y, x, w->lines, w->cols); y 411 src/filemanager/boxes.c rect_init (&r, w->y, w->x, LINES - 9, COLS - 20); y 416 src/filemanager/boxes.c bar->y = LINES - 1; y 1088 src/filemanager/boxes.c WIDGET (bar)->y = LINES - 1; y 1209 src/filemanager/boxes.c w->y + w->lines - 6, w->x, w->cols, y 361 src/filemanager/chattr.c fileattrtext_new (int y, int x, const char *filename, unsigned long attr) y 370 src/filemanager/chattr.c widget_init (WIDGET (fat), y, x, 2, cols, fileattrtext_callback, NULL); y 456 src/filemanager/chattr.c tty_fill_region (w->y, w->x - 1, w->lines, w->cols + 1, ' '); y 879 src/filemanager/chattr.c chattrboxes_new (int y, int x, int height, int width) y 892 src/filemanager/chattr.c group_init (cbg, y, x, height, width, chattrboxes_callback, chattrboxes_mouse_callback); y 973 src/filemanager/chattr.c int y; y 1006 src/filemanager/chattr.c y = 2; y 1007 src/filemanager/chattr.c file_attr = fileattrtext_new (y, wx, fname, attr); y 1009 src/filemanager/chattr.c y += WIDGET (file_attr)->lines; y 1010 src/filemanager/chattr.c group_add_widget (dg, hline_new (y++, -1, -1)); y 1016 src/filemanager/chattr.c widget_set_size (dw, dw->y, dw->x, lines, cols + wx * 2); y 1020 src/filemanager/chattr.c cb = chattrboxes_new (y++, wx, checkboxes_lines, cols); y 1023 src/filemanager/chattr.c y += checkboxes_lines - 1; y 1029 src/filemanager/chattr.c group_add_widget (dg, hline_new (y++, -1, -1)); y 1031 src/filemanager/chattr.c chattr_but[i].button = WIDGET (button_new (y, dw->cols / 2 + 1 - chattr_but[i].width, y 1037 src/filemanager/chattr.c chattr_but[i].button = WIDGET (button_new (y++, dw->cols / 2 + 2, chattr_but[i].ret_cmd, y 1049 src/filemanager/chattr.c widget_set_size (dw, dw->y, dw->x, lines, cols); y 1059 src/filemanager/chattr.c widget_set_size (b, b->y, cols - b->cols, b->lines, b->cols); y 1062 src/filemanager/chattr.c widget_set_size (b, b->y, cols + 1, b->lines, b->cols); y 104 src/filemanager/chmod.c int y; /* vertical position relatively to dialog bottom boundary */ y 205 src/filemanager/chmod.c int y, x; y 212 src/filemanager/chmod.c y = WIDGET (file_gb)->y + 1; y 215 src/filemanager/chmod.c tty_gotoyx (y, x); y 217 src/filemanager/chmod.c tty_gotoyx (y + 2, x); y 219 src/filemanager/chmod.c tty_gotoyx (y + 4, x); y 221 src/filemanager/chmod.c tty_gotoyx (y + 6, x); y 309 src/filemanager/chmod.c int i, y; y 354 src/filemanager/chmod.c y = PY + 2; y 357 src/filemanager/chmod.c group_add_widget (g, label_new (y, cols, c_fname)); y 359 src/filemanager/chmod.c statl = label_new (y + 2, cols, buffer); y 362 src/filemanager/chmod.c group_add_widget (g, label_new (y + 4, cols, c_fown)); y 364 src/filemanager/chmod.c group_add_widget (g, label_new (y + 6, cols, c_fgrp)); y 370 src/filemanager/chmod.c group_add_widget (g, hline_new (lines - chmod_but[i].y - 1, -1, -1)); y 374 src/filemanager/chmod.c y = lines - chmod_but[i].y; y 375 src/filemanager/chmod.c group_add_widget (g, button_new (y, WIDGET (ch_dlg)->cols / 2 - chmod_but[i].len, y 379 src/filemanager/chmod.c group_add_widget (g, button_new (y, WIDGET (ch_dlg)->cols / 2 + 1, y 386 src/filemanager/chmod.c y = lines - chmod_but[i].y; y 387 src/filemanager/chmod.c group_add_widget (g, hline_new (y - 1, -1, -1)); y 388 src/filemanager/chmod.c group_add_widget (g, button_new (y, WIDGET (ch_dlg)->cols / 2 - chmod_but[i].len, y 392 src/filemanager/chmod.c group_add_widget (g, button_new (y, WIDGET (ch_dlg)->cols / 2 + 1, chmod_but[i].ret_cmd, y 77 src/filemanager/chown.c int y; y 96 src/filemanager/chown.c int y; y 152 src/filemanager/chown.c int y = 3; y 157 src/filemanager/chown.c widget_gotoyx (h, y + 0, x); y 159 src/filemanager/chown.c widget_gotoyx (h, y + 2, x); y 161 src/filemanager/chown.c widget_gotoyx (h, y + 4, x); y 163 src/filemanager/chown.c widget_gotoyx (h, y + 6, x); y 165 src/filemanager/chown.c widget_gotoyx (h, y + 8, x); y 195 src/filemanager/chown.c int i, y; y 237 src/filemanager/chown.c chown_label[i].l = label_new (chown_label[i].y, 7 + GW * 2, ""); y 245 src/filemanager/chown.c group_add_widget (g, hline_new (lines - chown_but[0].y - 1, -1, -1)); y 247 src/filemanager/chown.c y = lines - chown_but[0].y; y 252 src/filemanager/chown.c group_add_widget (g, button_new (y, x, chown_but[i].ret_cmd, chown_but[i].flags, y 259 src/filemanager/chown.c y = lines - chown_but[i].y; y 260 src/filemanager/chown.c group_add_widget (g, hline_new (y - 1, -1, -1)); y 261 src/filemanager/chown.c group_add_widget (g, button_new (y, WIDGET (ch_dlg)->cols / 2 - chown_but[i].len, y 265 src/filemanager/chown.c group_add_widget (g, button_new (y, WIDGET (ch_dlg)->cols / 2 + 1, chown_but[i].ret_cmd, y 199 src/filemanager/command.c command_new (int y, int x, int cols) y 204 src/filemanager/command.c cmd = input_new (y, x, command_colors, cols, "", "cmdline", y 22 src/filemanager/command.h WInput *command_new (int y, int x, int len); y 208 src/filemanager/file.c int y, x; y 210 src/filemanager/file.c y = wd->y + 5; y 217 src/filemanager/file.c widget_set_size (dsm->abort_button, y, x, y 227 src/filemanager/file.c widget_set_size (dsm->abort_button, y, x, dsm->abort_button->lines, y 230 src/filemanager/file.c widget_set_size (dsm->skip_button, y, x, dsm->skip_button->lines, dsm->skip_button->cols); y 3125 src/filemanager/file.c widget_set_size (wd, wd->y, wd->x, 8, ui_width); y 3144 src/filemanager/file.c widget_set_size (wd, wd->y, wd->x, wd->lines, WIDGET (dsm->count_size)->cols + 6); y 410 src/filemanager/filegui.c W(i) = WIDGET (label_new (dlg_widgets[i].y, dlg_widgets[i].x, text)) y 417 src/filemanager/filegui.c W(i) = WIDGET (button_new (dlg_widgets[i].y, dlg_widgets[i].x, \ y 431 src/filemanager/filegui.c int y; y 565 src/filemanager/filegui.c WIDGET (check_new (dlg_widgets[14].y, dlg_widgets[14].x, FALSE, dlg_widgets[14].text)); y 646 src/filemanager/filegui.c group_add_widget (g, hline_new (W (7)->y - wd->y + 1, -1, -1)); y 656 src/filemanager/filegui.c group_add_widget (g, hline_new (W (10)->y - wd->y + 1, -1, -1)); y 663 src/filemanager/filegui.c group_add_widget (g, hline_new (W (19)->y - wd->y + 1, -1, -1)); y 807 src/filemanager/filegui.c int y = 2, x = 3; y 840 src/filemanager/filegui.c ui->src_file_label = label_new (y++, x, ""); y 843 src/filemanager/filegui.c ui->src_file = label_new (y++, x, ""); y 846 src/filemanager/filegui.c ui->tgt_file_label = label_new (y++, x, ""); y 849 src/filemanager/filegui.c ui->tgt_file = label_new (y++, x, ""); y 852 src/filemanager/filegui.c ui->progress_file_gauge = gauge_new (y++, x + 3, dlg_width - (x + 3) * 2, FALSE, 100, 0); y 857 src/filemanager/filegui.c ui->progress_file_label = label_new (y++, x, ""); y 862 src/filemanager/filegui.c ui->total_bytes_label = hline_new (y++, -1, -1); y 868 src/filemanager/filegui.c gauge_new (y++, x + 3, dlg_width - (x + 3) * 2, FALSE, 100, 0); y 875 src/filemanager/filegui.c ui->total_files_processed_label = label_new (y++, x, ""); y 878 src/filemanager/filegui.c ui->time_label = label_new (y++, x, ""); y 884 src/filemanager/filegui.c ui->src_file = label_new (y++, x, ""); y 887 src/filemanager/filegui.c ui->total_files_processed_label = label_new (y++, x, ""); y 891 src/filemanager/filegui.c group_add_widget (g, hline_new (y++, -1, -1)); y 893 src/filemanager/filegui.c progress_buttons[0].w = WIDGET (button_new (y, 0, progress_buttons[0].action, y 899 src/filemanager/filegui.c progress_buttons[1].w = WIDGET (button_new (y, 0, progress_buttons[1].action, y 908 src/filemanager/filegui.c progress_buttons[2].w = WIDGET (button_new (y, 0, progress_buttons[2].action, y 917 src/filemanager/filegui.c progress_buttons[3].w = WIDGET (button_new (y, 0, progress_buttons[3].action, y 932 src/filemanager/filegui.c widget_set_size (w, w->y, w->x, y + 3, MAX (COLS * 2 / 3, buttons_width + 6)); y 1508 src/filemanager/filemanager.c widget_adjust_position (w->pos_flags, &w->y, &w->x, &w->lines, &w->cols); y 1560 src/filemanager/find.c rect_init (&r, w->y, w->x, LINES - 4, COLS - 16); y 1662 src/filemanager/find.c int y; y 1691 src/filemanager/find.c y = 2; y 1692 src/filemanager/find.c find_list = listbox_new (y, 2, lines - 10, cols - 4, FALSE, NULL); y 1694 src/filemanager/find.c y += WIDGET (find_list)->lines; y 1696 src/filemanager/find.c group_add_widget_autopos (g, hline_new (y++, -1, -1), WPOS_KEEP_BOTTOM, NULL); y 1698 src/filemanager/find.c found_num_label = label_new (y++, 4, ""); y 1701 src/filemanager/find.c status_label = label_new (y++, 4, _("Searching")); y 1704 src/filemanager/find.c group_add_widget_autopos (g, hline_new (y++, -1, -1), WPOS_KEEP_BOTTOM, NULL); y 1714 src/filemanager/find.c (y, fbuts[i].x, fbuts[i].ret_cmd, fbuts[i].flags, fbuts[i].text, y 1720 src/filemanager/find.c y++; y 164 src/filemanager/hotlist.c int ret_cmd, flags, y, x, len; y 614 src/filemanager/hotlist.c rect_init (&r, w->y, w->x, LINES - (h == hotlist_dlg ? 2 : 6), COLS - 6); y 714 src/filemanager/hotlist.c row = hotlist_but[i].y; y 730 src/filemanager/hotlist.c row = hotlist_but[i].y; y 756 src/filemanager/hotlist.c int y; y 786 src/filemanager/hotlist.c y = UY; y 787 src/filemanager/hotlist.c hotlist_group = groupbox_new (y, UX, lines - 10 + dh, cols - 2 * UX, _("Top level group")); y 792 src/filemanager/hotlist.c listbox_new (y + 1, UX + 1, hotlist_widget->lines - 2, hotlist_widget->cols - 2, FALSE, y 810 src/filemanager/hotlist.c y += hotlist_widget->lines; y 812 src/filemanager/hotlist.c path_box = groupbox_new (y, UX, 3, hotlist_widget->cols, _("Directory path")); y 815 src/filemanager/hotlist.c pname = label_new (y + 1, UX + 2, ""); y 817 src/filemanager/hotlist.c y += WIDGET (path_box)->lines; y 819 src/filemanager/hotlist.c group_add_widget_autopos (g, hline_new (y++, -1, -1), WPOS_KEEP_BOTTOM, NULL); y 824 src/filemanager/hotlist.c button_new (y + hotlist_but[i].y, UX + hotlist_but[i].x, y 840 src/filemanager/hotlist.c int y; y 858 src/filemanager/hotlist.c y = UY; y 859 src/filemanager/hotlist.c movelist_group = groupbox_new (y, UX, lines - 7, cols - 2 * UX, _("Directory label")); y 864 src/filemanager/hotlist.c listbox_new (y + 1, UX + 1, movelist_widget->lines - 2, movelist_widget->cols - 2, FALSE, y 870 src/filemanager/hotlist.c y += movelist_widget->lines; y 872 src/filemanager/hotlist.c group_add_widget_autopos (g, hline_new (y++, -1, -1), WPOS_KEEP_BOTTOM, NULL); y 877 src/filemanager/hotlist.c button_new (y + hotlist_but[i].y, UX + hotlist_but[i].x, y 92 src/filemanager/info.c tty_draw_box (w->y, w->x, w->lines, w->cols, FALSE); y 101 src/filemanager/info.c tty_draw_hline (w->y + 2, w->x + 1, ACS_HLINE, w->cols - 2); y 363 src/filemanager/info.c info_new (int y, int x, int lines, int cols) y 370 src/filemanager/info.c widget_init (w, y, x, lines, cols, info_callback, NULL); y 21 src/filemanager/info.h WInfo *info_new (int y, int x, int lines, int cols); y 649 src/filemanager/layout.c restore_into_right_dir_panel (int idx, gboolean last_was_panel, int y, int x, int lines, int cols) y 661 src/filemanager/layout.c new_widget = panel_sized_with_dir_new (p_name, y, x, lines, cols, saved_dir_vpath); y 665 src/filemanager/layout.c new_widget = panel_sized_new (p_name, y, x, lines, cols); y 850 src/filemanager/layout.c widget_set_size (WIDGET (the_menubar), mw->y, mw->x, 1, mw->cols); y 854 src/filemanager/layout.c start_y = mw->y + (menubar_visible ? 1 : 0); y 974 src/filemanager/layout.c int y; y 1013 src/filemanager/layout.c y = mw->lines - 1 - (mc_global.keybar_visible ? 1 : 0); y 1015 src/filemanager/layout.c widget_set_size (WIDGET (the_prompt), y, mw->x, 1, prompt_width); y 1017 src/filemanager/layout.c widget_set_size (WIDGET (cmdline), y, mw->x + prompt_width, 1, mw->cols - prompt_width); y 1113 src/filemanager/layout.c int x = 0, y = 0, cols = 0, lines = 0; y 1141 src/filemanager/layout.c y = w->y; y 1178 src/filemanager/layout.c new_widget = restore_into_right_dir_panel (num, last_was_panel, y, x, lines, cols); y 1183 src/filemanager/layout.c new_widget = WIDGET (info_new (y, x, lines, cols)); y 1187 src/filemanager/layout.c new_widget = WIDGET (tree_new (y, x, lines, cols, TRUE)); y 1191 src/filemanager/layout.c new_widget = WIDGET (mcview_new (y, x, lines, cols, TRUE)); y 1323 src/filemanager/layout.c int x, y, cols, lines; y 1348 src/filemanager/layout.c y = panels[0].widget->y; y 1353 src/filemanager/layout.c panels[0].widget->y = panels[1].widget->y; y 1358 src/filemanager/layout.c panels[1].widget->y = y; y 75 src/filemanager/listmode.c int ret_cmd, flags, y, x; y 82 src/filemanager/listmode.c int y, x; y 210 src/filemanager/listmode.c button_new (listmode_but[i].y, listmode_but[i].x, y 218 src/filemanager/listmode.c pname = label_new (listmode_labels[i].y, listmode_labels[i].x, listmode_labels[i].text); y 896 src/filemanager/panel.c int y, x; y 898 src/filemanager/panel.c tty_getyx (&y, &x); y 899 src/filemanager/panel.c tty_draw_hline (y, x, ' ', width - length); y 1074 src/filemanager/panel.c display_total_marked_size (const WPanel * panel, int y, int x, gboolean size_only) y 1107 src/filemanager/panel.c widget_gotoyx (w, y, x); y 1120 src/filemanager/panel.c int y; y 1122 src/filemanager/panel.c y = panel_lines (panel) + 2; y 1125 src/filemanager/panel.c tty_draw_hline (w->y + y, w->x + 1, ACS_HLINE, w->cols - 2); y 1128 src/filemanager/panel.c display_total_marked_size (panel, y, -1, FALSE); y 1267 src/filemanager/panel.c tty_draw_box (w->y, w->x, w->lines, w->cols, FALSE); y 1271 src/filemanager/panel.c int y; y 1273 src/filemanager/panel.c y = panel_lines (panel) + 2; y 1275 src/filemanager/panel.c widget_gotoyx (w, y, 0); y 1277 src/filemanager/panel.c widget_gotoyx (w, y, w->cols - 1); y 1567 src/filemanager/panel.c int y, x; y 1572 src/filemanager/panel.c tty_getyx (&y, &x); y 1574 src/filemanager/panel.c tty_draw_hline (y, x, ' ', w->cols - 2); y 3430 src/filemanager/panel.c history_descriptor_init (&hd, WIDGET (panel)->y, WIDGET (panel)->x, panel->dir_history.list, y 3884 src/filemanager/panel.c panel_mouse_is_on_item (const WPanel * panel, int y, int x) y 3888 src/filemanager/panel.c if (y < 0) y 3892 src/filemanager/panel.c y += panel->top_file; y 3894 src/filemanager/panel.c if (y > last) y 3903 src/filemanager/panel.c y += lines * (x / width); y 3906 src/filemanager/panel.c return (y > last ? -1 : y); y 3922 src/filemanager/panel.c if (event->y == 0) y 3947 src/filemanager/panel.c if (event->y == 1) y 3962 src/filemanager/panel.c my_index = panel_mouse_is_on_item (panel, event->y - 2, event->x); y 3983 src/filemanager/panel.c panel_mouse_is_on_item (panel, event->y - 2, event->x) >= 0) y 4368 src/filemanager/panel.c panel_sized_empty_new (const char *panel_name, int y, int x, int lines, int cols) y 4377 src/filemanager/panel.c widget_init (w, y, x, lines, cols, panel_callback, panel_mouse_callback); y 4460 src/filemanager/panel.c panel_sized_with_dir_new (const char *panel_name, int y, int x, int lines, int cols, y 4469 src/filemanager/panel.c panel = panel_sized_empty_new (panel_name, y, x, lines, cols); y 155 src/filemanager/panel.h WPanel *panel_sized_empty_new (const char *panel_name, int y, int x, int lines, int cols); y 156 src/filemanager/panel.h WPanel *panel_sized_with_dir_new (const char *panel_name, int y, int x, int lines, int cols, y 265 src/filemanager/panel.h panel_sized_new (const char *panel_name, int y, int x, int lines, int cols) y 267 src/filemanager/panel.h return panel_sized_with_dir_new (panel_name, y, x, lines, cols, NULL); y 153 src/filemanager/panelize.c int x, y; y 180 src/filemanager/panelize.c y = UY; y 181 src/filemanager/panelize.c group_add_widget (g, groupbox_new (y++, UX, 12, panelize_cols - UX * 2, "")); y 183 src/filemanager/panelize.c l_panelize = listbox_new (y, UX + 1, 10, panelize_cols - UX * 2 - 2, FALSE, NULL); y 189 src/filemanager/panelize.c y += WIDGET (l_panelize)->lines + 1; y 190 src/filemanager/panelize.c group_add_widget (g, label_new (y++, UX, _("Command"))); y 192 src/filemanager/panelize.c input_new (y++, UX, input_colors, panelize_cols - UX * 2, "", "in", y 198 src/filemanager/panelize.c group_add_widget (g, hline_new (y++, -1, -1)); y 205 src/filemanager/panelize.c b = button_new (y, x, y 240 src/filemanager/tree.c tty_draw_hline (w->y + line, w->x + 1, ' ', tree_cols); y 254 src/filemanager/tree.c tty_draw_hline (w->y + line, w->x + 1, ' ', tree_cols); y 270 src/filemanager/tree.c int x = 0, y = 0; y 277 src/filemanager/tree.c widget_gotoyx (w, y, x); y 281 src/filemanager/tree.c x = y = 1; y 342 src/filemanager/tree.c tty_draw_hline (w->y + y + i, w->x + x, ' ', tree_cols); y 1130 src/filemanager/tree.c tty_draw_box (w->y, w->x, w->lines, w->cols, FALSE); y 1137 src/filemanager/tree.c int y; y 1139 src/filemanager/tree.c y = w->lines - 3; y 1140 src/filemanager/tree.c widget_gotoyx (w, y, 0); y 1142 src/filemanager/tree.c widget_gotoyx (w, y, w->cols - 1); y 1144 src/filemanager/tree.c tty_draw_hline (w->y + y, w->x + 1, ACS_HLINE, w->cols - 2); y 1218 src/filemanager/tree.c int y; y 1220 src/filemanager/tree.c y = event->y; y 1222 src/filemanager/tree.c y--; y 1228 src/filemanager/tree.c if (tree->is_panel && event->y == WIDGET (w->owner)->y) y 1243 src/filemanager/tree.c if (y < 0) y 1248 src/filemanager/tree.c else if (y >= lines) y 1255 src/filemanager/tree.c if (tree->tree_shown[y] != NULL) y 1257 src/filemanager/tree.c tree->selected_ptr = tree->tree_shown[y]; y 1258 src/filemanager/tree.c tree->topdiff = y; y 1281 src/filemanager/tree.c tree_new (int y, int x, int lines, int cols, gboolean is_panel) y 1289 src/filemanager/tree.c widget_init (w, y, x, lines, cols, tree_callback, tree_mouse_callback); y 25 src/filemanager/tree.h WTree *tree_new (int y, int x, int lines, int cols, gboolean is_panel); y 357 src/help.c start_link_area (int x, int y, const char *link_name) y 368 src/help.c la->y1 = y; y 379 src/help.c end_link_area (int x, int y) y 386 src/help.c la->y2 = y; y 567 src/help.c SLsmg_draw_object (WIDGET (h)->y + line + 2, WIDGET (h)->x + col + 2, y 888 src/help.c rect_init (&r, w->y, w->x, help_lines + 4, HELP_WINDOW_WIDTH + 4); y 983 src/help.c int x, y; y 1000 src/help.c y = event->y - 1; y 1008 src/help.c if (y == la->y1 && x >= la->x1 && y == la->y2 && x <= la->x2) y 1015 src/help.c if ((y == la->y1 && x >= la->x1) || (y == la->y2 && x <= la->x2)) y 1033 src/help.c else if (y < 0) y 1035 src/help.c else if (y >= help_lines) y 1037 src/help.c else if (y < help_lines / 2) y 1049 src/help.c mousedispatch_new (int y, int x, int yl, int xl) y 1054 src/help.c widget_init (w, y, x, yl, xl, md_callback, help_mouse_callback); y 1151 src/help.c WIDGET (help_bar)->y -= wh->y; y 261 src/learn.c int x, y, i; y 294 src/learn.c y = UY; y 312 src/learn.c WIDGET (button_new (y, x, B_USER + i, NARROW_BUTTON, buffer, learn_button)); y 313 src/learn.c learnkeys[i].label = WIDGET (label_new (y, x + 19, "")); y 317 src/learn.c y++; y 318 src/learn.c if (y == UY + ROWS) y 321 src/learn.c y = UY; y 73 src/vfs/extfs/extfs.c #define ERRNOR(x,y) do { my_errno = x; return y; } while(0) y 160 src/viewer/display.c tty_draw_hline (WIDGET (view)->y + top, WIDGET (view)->x + left, ' ', width); y 262 src/viewer/display.c screen_dimen height, rest, y; y 294 src/viewer/display.c y = view_area.top; y 296 src/viewer/display.c view->status_area.top = y; y 297 src/viewer/display.c y += view->status_area.height; y 301 src/viewer/display.c view->ruler_area.top = y; y 302 src/viewer/display.c y += view->ruler_area.height; y 305 src/viewer/display.c view->data_area.top = y; y 306 src/viewer/display.c y += view->data_area.height; y 309 src/viewer/display.c view->ruler_area.top = y; y 360 src/viewer/display.c tty_draw_box (w->y, w->x, w->lines, w->cols, FALSE); y 99 src/viewer/mcviewer.c if (event->y == WIDGET (w->owner)->y) y 143 src/viewer/mcviewer.c screen_dimen y; y 145 src/viewer/mcviewer.c y = event->y + 1; /* FIXME */ y 147 src/viewer/mcviewer.c if (y < view->data_area.top + view->data_area.height * 1 / 3) y 156 src/viewer/mcviewer.c else if (y < view->data_area.top + view->data_area.height * 2 / 3) y 195 src/viewer/mcviewer.c mcview_new (int y, int x, int lines, int cols, gboolean is_panel) y 202 src/viewer/mcviewer.c widget_init (w, y, x, lines, cols, mcview_callback, mcview_mouse_callback); y 250 src/viewer/mcviewer.c lc_mcview = mcview_new (vw->y, vw->x, vw->lines - 1, vw->cols, FALSE); y 42 src/viewer/mcviewer.h extern WView *mcview_new (int y, int x, int lines, int cols, gboolean is_panel); y 104 src/viewer/search.c widget_set_size (wd, wd->y, wd->x, wd->lines, wd_width); y 105 src/viewer/search.c widget_set_size (lw, lw->y, wd->x + (wd->cols - lw->cols) / 2, lw->lines, lw->cols); y 78 tests/lib/widget/widget_make_global_local.c ck_assert_int_eq (w0->y, 21); y 81 tests/lib/widget/widget_make_global_local.c ck_assert_int_eq (WIDGET (g1)->y, 25); y 84 tests/lib/widget/widget_make_global_local.c ck_assert_int_eq (w1->y, 30); y 87 tests/lib/widget/widget_make_global_local.c ck_assert_int_eq (WIDGET (g2)->y, 40); y 90 tests/lib/widget/widget_make_global_local.c ck_assert_int_eq (w2->y, 55); y 98 tests/lib/widget/widget_make_global_local.c ck_assert_int_eq (w0->y, 1); y 102 tests/lib/widget/widget_make_global_local.c ck_assert_int_eq (WIDGET (g1)->y, 5); y 105 tests/lib/widget/widget_make_global_local.c ck_assert_int_eq (w1->y, 10); y 108 tests/lib/widget/widget_make_global_local.c ck_assert_int_eq (WIDGET (g2)->y, 20); y 111 tests/lib/widget/widget_make_global_local.c ck_assert_int_eq (w2->y, 35);