lines 594 lib/strutil.h void str_msg_term_size (const char *text, int *lines, int *columns); lines 927 lib/strutil/strutil.c str_msg_term_size (const char *text, int *lines, int *columns) lines 933 lib/strutil/strutil.c *lines = 1; lines 959 lib/strutil/strutil.c (*lines)++; lines 78 lib/widget/background.c tty_fill_region (w->rect.y, w->rect.x, w->rect.lines, w->rect.cols, b->pattern); lines 108 lib/widget/background.c background_new (int y, int x, int lines, int cols, int color, unsigned char pattern, lines 111 lib/widget/background.c WRect r = { y, x, lines, cols }; lines 30 lib/widget/background.h WBackground *background_new (int y, int x, int lines, int cols, int color, unsigned char pattern, lines 232 lib/widget/dialog-switch.c int lines, cols; lines 240 lib/widget/dialog-switch.c lines = MIN ((size_t) (LINES * 2 / 3), dlg_num); lines 243 lib/widget/dialog-switch.c listbox = listbox_window_new (lines, cols, _("Screens"), "[Screen selector]"); lines 382 lib/widget/dialog.c if (event->y < 0 || event->y >= w->rect.lines || event->x < 0 || event->x >= w->rect.cols) lines 399 lib/widget/dialog.c dlg_create (gboolean modal, int y1, int x1, int lines, int cols, widget_pos_flags_t pos_flags, lines 403 lib/widget/dialog.c WRect r = { y1, x1, lines, cols }; lines 439 lib/widget/dialog.c WIDGET (frame_new (0, 0, w->rect.lines, w->rect.cols, title, FALSE, new_d->compact)); lines 103 lib/widget/dialog.h WDialog *dlg_create (gboolean modal, int y1, int x1, int lines, int cols, lines 78 lib/widget/frame.c tty_draw_box_shadow (w->y, w->x, w->lines, w->cols, SHADOW_COLOR); lines 81 lib/widget/frame.c tty_fill_region (w->y, w->x, w->lines, w->cols, ' '); lines 82 lib/widget/frame.c tty_draw_box (w->y + d, w->x + d, w->lines - 2 * d, w->cols - 2 * d, f->single); lines 98 lib/widget/frame.c frame_new (int y, int x, int lines, int cols, const char *title, gboolean single, gboolean compact) lines 100 lib/widget/frame.c WRect r = { y, x, lines, cols }; lines 36 lib/widget/frame.h WFrame *frame_new (int y, int x, int lines, int cols, const char *title, gboolean single, lines 205 lib/widget/group.c r.lines = 0; lines 241 lib/widget/group.c r.lines = 0; lines 408 lib/widget/group.c r.y = g->y + (g->lines - c->rect.lines) / 2; lines 412 lib/widget/group.c r.lines += wss->scale_y; lines 445 lib/widget/group.c wss.scale_y = w->lines - or.lines; lines 777 lib/widget/group.c ww->rect.y = (wg->rect.lines - ww->rect.lines) / 2; lines 75 lib/widget/groupbox.c tty_draw_box (w->rect.y, w->rect.x, w->rect.lines, w->rect.cols, TRUE); lines 141 lib/widget/label.c str_msg_term_size (text, &r.lines, &r.cols); lines 177 lib/widget/label.c w->rect.lines = MAX (newlines, w->rect.lines); lines 59 lib/widget/listbox-window.c listbox_window_centered_new (int center_y, int center_x, int lines, int cols, lines 69 lib/widget/listbox-window.c lines = MIN (lines, LINES - 6); lines 91 lib/widget/listbox-window.c ypos -= lines / 2; lines 94 lib/widget/listbox-window.c if (ypos + lines >= LINES) lines 95 lib/widget/listbox-window.c ypos = LINES - lines - space; lines 108 lib/widget/listbox-window.c dlg_create (TRUE, ypos, xpos, lines + space, cols + space, pos_flags, FALSE, listbox_colors, lines 111 lib/widget/listbox-window.c listbox->list = listbox_new (2, 2, lines, cols, FALSE, NULL); lines 120 lib/widget/listbox-window.c listbox_window_new (int lines, int cols, const char *title, const char *help) lines 122 lib/widget/listbox-window.c return listbox_window_centered_new (-1, -1, lines, cols, title, help); lines 28 lib/widget/listbox-window.h Listbox *listbox_window_centered_new (int center_y, int center_x, int lines, int cols, lines 30 lib/widget/listbox-window.h Listbox *listbox_window_new (int lines, int cols, const char *title, const char *help); lines 96 lib/widget/listbox.c int max_line = w->lines - 1; lines 112 lib/widget/listbox.c if (l->top + w->lines == length || w->lines >= length) lines 119 lib/widget/listbox.c line = 1 + ((l->current * (w->lines - 2)) / length); lines 162 lib/widget/listbox.c for (i = 0; i < w->lines; i++) lines 191 lib/widget/listbox.c if (l->scrollbar && length > w->lines) lines 299 lib/widget/listbox.c listbox_back_n (l, w->lines - 1); lines 302 lib/widget/listbox.c listbox_fwd_n (l, w->lines - 1); lines 313 lib/widget/listbox.c is_more = (l->top + w->lines >= length); lines 561 lib/widget/listbox.c r.lines = height > 0 ? height : 1; lines 641 lib/widget/listbox.c int lines = WIDGET (l)->rect.lines; lines 647 lib/widget/listbox.c l->top = DOZ (length, lines); lines 675 lib/widget/listbox.c int lines = WIDGET (l)->rect.lines; lines 677 lib/widget/listbox.c if (l->current - l->top >= lines) lines 678 lib/widget/listbox.c l->top = l->current - lines + 1; lines 318 lib/widget/menu.c w->rect.lines = 1; lines 638 lib/widget/menu.c w->rect.lines = LINES; lines 103 lib/widget/quick.c *y += label.widget->rect.lines - 1; lines 143 lib/widget/quick.c *y += label.widget->rect.lines - 1; lines 263 lib/widget/quick.c y += item.widget->rect.lines - 1; lines 289 lib/widget/quick.c y += item.widget->rect.lines - 1; lines 315 lib/widget/quick.c w->rect.lines = y + 1 - w->rect.y; lines 507 lib/widget/quick.c r->lines = 1; lines 62 lib/widget/rect.c rect_new (int y, int x, int lines, int cols) lines 69 lib/widget/rect.c rect_init (r, y, x, lines, cols); lines 86 lib/widget/rect.c rect_init (WRect * r, int y, int x, int lines, int cols) lines 90 lib/widget/rect.c r->lines = lines; lines 122 lib/widget/rect.c r->lines += dl; lines 144 lib/widget/rect.c r->lines += dl * 2; lines 166 lib/widget/rect.c y = r->y + r->lines; lines 168 lib/widget/rect.c y1 = r1->y + r1->lines; lines 180 lib/widget/rect.c r->lines = y - r->y; lines 202 lib/widget/rect.c y = r->y + r->lines; lines 204 lib/widget/rect.c y1 = r1->y + r1->lines; lines 216 lib/widget/rect.c r->lines = y - r->y; lines 234 lib/widget/rect.c || (r2->y >= r1->y + r1->lines) || (r1->y >= r2->y + r2->lines)); lines 250 lib/widget/rect.c return (r1->y == r2->y && r1->x == r2->x && r1->lines == r2->lines && r1->cols == r2->cols); lines 25 lib/widget/rect.h int lines; lines 33 lib/widget/rect.h WRect *rect_new (int y, int x, int lines, int cols); lines 34 lib/widget/rect.h void rect_init (WRect * r, int y, int x, int lines, int cols); lines 401 lib/widget/widget-common.c r->lines = LINES; lines 410 lib/widget/widget-common.c r->y = (LINES - r->lines) / 2; lines 434 lib/widget/widget-common.c widget_set_size (Widget * w, int y, int x, int lines, int cols) lines 436 lib/widget/widget-common.c WRect r = { y, x, lines, cols }; lines 483 lib/widget/widget-common.c tty_fill_region (w->rect.y, w->rect.x, w->rect.lines, w->rect.cols, ' '); lines 902 lib/widget/widget-common.c && (event->y <= r->y + r->lines); lines 213 lib/widget/widget-common.h void widget_set_size (Widget * w, int y, int x, int lines, int cols); lines 100 lib/widget/wtools.c ypos = LINES / 3 - (w->rect.lines - 3) / 2; lines 105 lib/widget/wtools.c if (ypos + w->rect.lines < LINES / 2) lines 111 lib/widget/wtools.c rect_init (&r, ypos, xpos, w->rect.lines, w->rect.cols); lines 289 lib/widget/wtools.c int cols, lines; lines 312 lib/widget/wtools.c str_msg_term_size (text, &lines, &cols); lines 314 lib/widget/wtools.c lines += 4 + (count > 0 ? 2 : 0); lines 318 lib/widget/wtools.c dlg_create (TRUE, 0, 0, lines, cols, pos_flags, FALSE, query_colors, query_default_callback, lines 328 lib/widget/wtools.c group_add_widget (g, hline_new (lines - 4, -1, -1)); lines 342 lib/widget/wtools.c button = button_new (lines - 3, cols, B_USER + i, NORMAL_BUTTON, cur_name, NULL); lines 724 lib/widget/wtools.c r.lines = y + 2; lines 2212 src/diffviewer/ydiff.c dview->height = w->rect.lines - 1; lines 3390 src/diffviewer/ydiff.c r.lines--; lines 515 src/editor/edit.c edit_move_display (edit, line - (WIDGET (edit)->rect.lines / 2)); lines 719 src/editor/edit.c edit->line_numbers[2] = edit->buffer.lines; lines 723 src/editor/edit.c if (line >= edit->buffer.lines) lines 803 src/editor/edit.c if (edit->buffer.curs_line >= edit->buffer.lines - 1) lines 804 src/editor/edit.c i = edit->buffer.lines; lines 808 src/editor/edit.c if (edit_line_is_blank (edit, i) || i >= edit->buffer.lines) lines 814 src/editor/edit.c if (!edit_line_is_blank (edit, i) || i > edit->buffer.lines) lines 823 src/editor/edit.c if (edit_line_is_blank (edit, i) || i >= edit->buffer.lines) lines 844 src/editor/edit.c edit_move_down (edit, WIDGET (edit)->rect.lines - edit->curs_row - 1, FALSE); lines 870 src/editor/edit.c if (edit->buffer.curs_line < edit->buffer.lines) lines 872 src/editor/edit.c edit_move_down (edit, edit->buffer.lines - edit->curs_row, FALSE); lines 874 src/editor/edit.c edit->start_line = edit->buffer.lines; lines 875 src/editor/edit.c edit_scroll_upward (edit, WIDGET (edit)->rect.lines - 1); lines 1095 src/editor/edit.c edit_move_updown (WEdit * edit, long lines, gboolean do_scroll, gboolean direction) lines 1098 src/editor/edit.c long l = direction ? edit->buffer.curs_line : edit->buffer.lines - edit->buffer.curs_line; lines 1100 src/editor/edit.c if (lines > l) lines 1101 src/editor/edit.c lines = l; lines 1103 src/editor/edit.c if (lines == 0) lines 1106 src/editor/edit.c if (lines > 1) lines 1111 src/editor/edit.c edit_scroll_upward (edit, lines); lines 1113 src/editor/edit.c edit_scroll_downward (edit, lines); lines 1116 src/editor/edit.c p = direction ? edit_buffer_get_backward_offset (&edit->buffer, p, lines) : lines 1117 src/editor/edit.c edit_buffer_get_forward_offset (&edit->buffer, p, lines, 0); lines 1593 src/editor/edit.c if (n++ >= WIDGET (edit)->rect.lines - edit->curs_row) /* out of screen */ lines 2571 src/editor/edit.c edit->buffer.lines++; lines 2605 src/editor/edit.c edit->buffer.lines++; lines 2682 src/editor/edit.c edit->buffer.lines--; lines 2742 src/editor/edit.c edit->buffer.lines--; lines 2949 src/editor/edit.c lines_below = edit->buffer.lines - edit->start_line - (WIDGET (edit)->rect.lines - 1); lines 3670 src/editor/edit.c edit_move_up (edit, w->lines - 1, TRUE); lines 3677 src/editor/edit.c edit_move_down (edit, w->lines - 1, TRUE); lines 3864 src/editor/edit.c if (p->line >= edit->start_line + w->lines || p->line < edit->start_line) lines 3865 src/editor/edit.c edit_move_display (edit, p->line - w->lines / 2); lines 3881 src/editor/edit.c if (p->line >= edit->start_line + w->lines || p->line < edit->start_line) lines 3882 src/editor/edit.c edit_move_display (edit, p->line - w->lines / 2); lines 156 src/editor/editbuffer.c buf->lines = 0; lines 328 src/editor/editbuffer.c long lines = 0; lines 335 src/editor/editbuffer.c lines++; lines 337 src/editor/editbuffer.c return lines; lines 641 src/editor/editbuffer.c edit_buffer_get_forward_offset (const edit_buffer_t * buf, off_t current, long lines, off_t upto) lines 646 src/editor/editbuffer.c lines = MAX (lines, 0); lines 648 src/editor/editbuffer.c while (lines-- != 0) lines 673 src/editor/editbuffer.c edit_buffer_get_backward_offset (const edit_buffer_t * buf, off_t current, long lines) lines 675 src/editor/editbuffer.c lines = MAX (lines, 0); lines 678 src/editor/editbuffer.c while (lines-- != 0 && current != 0) lines 708 src/editor/editbuffer.c buf->lines = 0; lines 724 src/editor/editbuffer.c buf->lines++; lines 745 src/editor/editbuffer.c buf->lines++; lines 21 src/editor/editbuffer.h long lines; /* total lines in the file */ lines 59 src/editor/editbuffer.h off_t edit_buffer_get_forward_offset (const edit_buffer_t * buf, off_t current, long lines, lines 61 src/editor/editbuffer.h off_t edit_buffer_get_backward_offset (const edit_buffer_t * buf, off_t current, long lines); lines 1676 src/editor/editcmd.c l = edit->buffer.lines + l + 2; lines 1678 src/editor/editcmd.c edit_move_display (edit, l - WIDGET (edit)->rect.lines / 2 - 1); lines 148 src/editor/editdraw.c edit->buffer.lines + 1, (long) edit->buffer.curs1, (long) edit->buffer.size, lines 165 src/editor/editdraw.c edit->buffer.lines + 1, (long) edit->buffer.curs1, (long) edit->buffer.size, lines 288 src/editor/editdraw.c edit_move (2, w->rect.lines - 1); lines 291 src/editor/editdraw.c edit->buffer.curs_line + 1, edit->buffer.lines + 1, (long) edit->buffer.curs1, lines 302 src/editor/editdraw.c edit_move (32, w->rect.lines - 1); lines 344 src/editor/editdraw.c tty_draw_box (w->rect.y, w->rect.x, w->rect.lines, w->rect.cols, !active); lines 349 src/editor/editdraw.c widget_gotoyx (w, w->rect.lines - 1, w->rect.cols - 1); lines 506 src/editor/editdraw.c if (row > w->rect.lines - 1 - EDIT_TEXT_VERTICAL_OFFSET - 2 * (edit->fullscreen ? 0 : 1)) lines 536 src/editor/editdraw.c if (cur_line <= edit->buffer.lines) lines 556 src/editor/editdraw.c if (row <= edit->buffer.lines - edit->start_line) lines 850 src/editor/editdraw.c last_line = wh->rect.y + wh->rect.lines - 1; lines 862 src/editor/editdraw.c y2 = w->y + w->lines - 1; lines 876 src/editor/editdraw.c end_row = w->lines - 1; lines 878 src/editor/editdraw.c end_row = wh->rect.lines - 1 - y1 - 1; lines 880 src/editor/editdraw.c end_row = start_row + wh->rect.lines - 1 - 1; lines 963 src/editor/editdraw.c if ((force & REDRAW_LINE_BELOW) != 0 && row < w->lines - 1) lines 1051 src/editor/editdraw.c if (w->lines <= 0 || w->cols <= 0) lines 1066 src/editor/editdraw.c b_extreme = MAX (w->lines / 4, b_extreme); lines 1067 src/editor/editdraw.c t_extreme = MAX (w->lines / 4, t_extreme); lines 1069 src/editor/editdraw.c if (b_extreme + t_extreme + 1 > w->lines) lines 1076 src/editor/editdraw.c b_extreme = (b_extreme * (w->lines - 1)) / n; lines 1077 src/editor/editdraw.c t_extreme = (t_extreme * (w->lines - 1)) / n; lines 1098 src/editor/editdraw.c outby = p - w->lines + 1 + b_extreme; lines 229 src/editor/editsearch.c ypos = w->rect.y + w->rect.lines / 2; lines 933 src/editor/editsearch.c l = edit->curs_row - WIDGET (edit)->rect.lines / 3; lines 233 src/editor/editwidget.c if (w->y < wh->y + wh->lines - 2) /* buttonbar */ lines 271 src/editor/editwidget.c if (w->lines > WINDOW_MIN_LINES) lines 272 src/editor/editwidget.c w->lines--; lines 275 src/editor/editwidget.c if (w->y + w->lines < wh->y + wh->lines - 1) /* buttonbar */ lines 276 src/editor/editwidget.c w->lines++; lines 316 src/editor/editwidget.c int lines, cols; lines 322 src/editor/editwidget.c lines = MIN ((size_t) (LINES * 2 / 3), dlg_num); lines 325 src/editor/editwidget.c listbox = listbox_window_new (lines, cols, _("Open files"), "[Open files]"); lines 1045 src/editor/editwidget.c global_y = CLAMP (global_y, h->y + 1, h->y + h->lines - 2); /* Status line, buttonbar */ lines 1055 src/editor/editwidget.c r->lines = MAX (WINDOW_MIN_LINES, global_y - r->y + 1); lines 1128 src/editor/editwidget.c if (event->y == w->rect.lines - 1 && event->x == w->rect.cols - 1) lines 1259 src/editor/editwidget.c (1, 0, wd->rect.lines - 2, wd->rect.cols, EDITOR_BACKGROUND, ' ', lines 123 src/editor/format.c begin_paragraph (WEdit * edit, gboolean force, long *lines) lines 135 src/editor/format.c *lines = edit->buffer.curs_line - i; lines 138 src/editor/format.c edit_buffer_get_current_bol (&edit->buffer), *lines); lines 152 src/editor/format.c for (i = edit->buffer.curs_line + 1; i <= edit->buffer.lines; i++) lines 479 src/editor/format.c long lines; lines 491 src/editor/format.c p = begin_paragraph (edit, force, &lines); lines 556 src/filemanager/achown.c dlg_create (TRUE, wh->rect.y - 1, lxx, wh->rect.lines + 2, 17, WPOS_KEEP_DEFAULT, TRUE, lines 561 src/filemanager/achown.c listbox_new (1, 1, WIDGET (chl_dlg)->rect.lines - 2, WIDGET (chl_dlg)->rect.cols - 2, lines 737 src/filemanager/achown.c int lines = 12; lines 748 src/filemanager/achown.c lines += 2; lines 751 src/filemanager/achown.c dlg_create (TRUE, 0, 0, lines, cols, WPOS_CENTER, FALSE, dialog_colors, lines 197 src/filemanager/boxes.c r.y = wd->y + (wd->lines - r.lines) / 2; lines 411 src/filemanager/boxes.c r.lines = LINES - 9; lines 1094 src/filemanager/boxes.c mytree = tree_new (2, 2, wd->rect.lines - 6, wd->rect.cols - 5, FALSE); lines 1096 src/filemanager/boxes.c group_add_widget_autopos (g, hline_new (wd->rect.lines - 4, 1, -1), WPOS_KEEP_BOTTOM, NULL); lines 1228 src/filemanager/boxes.c WRect r = { w->rect.y + w->rect.lines - 6, w->rect.x, 0, w->rect.cols }; lines 1302 src/filemanager/boxes.c int lines = 15; lines 1320 src/filemanager/boxes.c jobs_dlg = dlg_create (TRUE, 0, 0, lines, cols, WPOS_CENTER, FALSE, dialog_colors, NULL, NULL, lines 1324 src/filemanager/boxes.c bg_list = listbox_new (2, 2, lines - 6, cols - 6, FALSE, NULL); lines 1328 src/filemanager/boxes.c group_add_widget (g, hline_new (lines - 4, -1, -1)); lines 1333 src/filemanager/boxes.c group_add_widget (g, button_new (lines - 3, x, job_but[i].value, job_but[i].flags, lines 425 src/filemanager/chattr.c max_line = w->rect.lines - 1; lines 429 src/filemanager/chattr.c if (cb->top + w->rect.lines == check_attr_mod_num || w->rect.lines >= check_attr_mod_num) lines 435 src/filemanager/chattr.c line = 1 + (cb->pos * (w->rect.lines - 2)) / check_attr_mod_num; lines 459 src/filemanager/chattr.c tty_fill_region (w->rect.y, w->rect.x - 1, w->rect.lines, w->rect.cols + 1, ' '); lines 466 src/filemanager/chattr.c if (!mc_global.tty.slow_terminal && check_attr_mod_num > w->rect.lines) lines 531 src/filemanager/chattr.c if (cb->pos == cb->top + WIDGET (cb)->rect.lines - 1) lines 576 src/filemanager/chattr.c int i = WIDGET (cb)->rect.lines; lines 614 src/filemanager/chattr.c cb->top = cb->pos - WIDGET (cb)->rect.lines + 1; lines 672 src/filemanager/chattr.c int i = WIDGET (cb)->rect.lines; lines 898 src/filemanager/chattr.c for (i = 0; i < r->lines; i++) lines 970 src/filemanager/chattr.c int lines, cols; lines 988 src/filemanager/chattr.c lines = 5 + checkboxes_lines + 4; lines 990 src/filemanager/chattr.c lines += 3; lines 992 src/filemanager/chattr.c if (lines >= mw->rect.lines - 2) lines 996 src/filemanager/chattr.c dl = lines - (mw->rect.lines - 2); lines 997 src/filemanager/chattr.c lines -= dl; lines 1002 src/filemanager/chattr.c dlg_create (TRUE, 0, 0, lines, cols + wx * 2, WPOS_CENTER, FALSE, dialog_colors, lines 1010 src/filemanager/chattr.c y += WIDGET (file_attr)->rect.lines; lines 1019 src/filemanager/chattr.c r.lines = lines; lines 1057 src/filemanager/chattr.c r.lines = lines; lines 310 src/filemanager/chmod.c int lines, cols; lines 325 src/filemanager/chmod.c lines = single_set ? 20 : 23; lines 336 src/filemanager/chmod.c dlg_create (TRUE, 0, 0, lines, cols, WPOS_CENTER, FALSE, dialog_colors, lines 372 src/filemanager/chmod.c group_add_widget (g, hline_new (lines - chmod_but[i].y - 1, -1, -1)); lines 376 src/filemanager/chmod.c y = lines - chmod_but[i].y; lines 388 src/filemanager/chmod.c y = lines - chmod_but[i].y; lines 195 src/filemanager/chown.c int lines, cols; lines 201 src/filemanager/chown.c lines = GH + 4 + (single_set != 0 ? 2 : 4); lines 205 src/filemanager/chown.c dlg_create (TRUE, 0, 0, lines, cols, WPOS_CENTER, FALSE, dialog_colors, NULL, NULL, lines 246 src/filemanager/chown.c group_add_widget (g, hline_new (lines - chown_but[0].y - 1, -1, -1)); lines 248 src/filemanager/chown.c y = lines - chown_but[0].y; lines 260 src/filemanager/chown.c y = lines - chown_but[i].y; lines 3208 src/filemanager/file.c r.lines = 8; lines 957 src/filemanager/filegui.c r.lines = y + 3; lines 575 src/filemanager/find.c const int lines = 19; lines 577 src/filemanager/find.c const int lines = 18; lines 680 src/filemanager/find.c dlg_create (TRUE, 0, 0, lines, cols, WPOS_CENTER, FALSE, dialog_colors, find_parm_callback, lines 1261 src/filemanager/find.c widget_gotoyx (h, w->rect.lines - 7, w->rect.cols - 4); lines 1570 src/filemanager/find.c r.lines = LINES - 4; lines 1672 src/filemanager/find.c int lines, cols; lines 1692 src/filemanager/find.c lines = LINES - 4; lines 1696 src/filemanager/find.c dlg_create (TRUE, 0, 0, lines, cols, WPOS_CENTER, FALSE, dialog_colors, find_callback, NULL, lines 1703 src/filemanager/find.c find_list = listbox_new (y, 2, lines - 10, cols - 4, FALSE, NULL); lines 1705 src/filemanager/find.c y += WIDGET (find_list)->rect.lines; lines 616 src/filemanager/hotlist.c r.lines = LINES - (h == hotlist_dlg ? 2 : 6); lines 758 src/filemanager/hotlist.c int lines, cols; lines 767 src/filemanager/hotlist.c lines = LINES - 2; lines 785 src/filemanager/hotlist.c dlg_create (TRUE, 0, 0, lines, cols, WPOS_CENTER, FALSE, dialog_colors, hotlist_callback, lines 790 src/filemanager/hotlist.c hotlist_group = groupbox_new (y, UX, lines - 10 + dh, cols - 2 * UX, _("Top level group")); lines 795 src/filemanager/hotlist.c listbox_new (y + 1, UX + 1, hotlist_widget->rect.lines - 2, hotlist_widget->rect.cols - 2, lines 813 src/filemanager/hotlist.c y += hotlist_widget->rect.lines; lines 820 src/filemanager/hotlist.c y += WIDGET (path_box)->rect.lines; lines 842 src/filemanager/hotlist.c int lines, cols; lines 849 src/filemanager/hotlist.c lines = LINES - 6; lines 855 src/filemanager/hotlist.c dlg_create (TRUE, 0, 0, lines, cols, WPOS_CENTER, FALSE, dialog_colors, hotlist_callback, lines 862 src/filemanager/hotlist.c movelist_group = groupbox_new (y, UX, lines - 7, cols - 2 * UX, _("Directory label")); lines 867 src/filemanager/hotlist.c listbox_new (y + 1, UX + 1, movelist_widget->rect.lines - 2, movelist_widget->rect.cols - 2, lines 873 src/filemanager/hotlist.c y += movelist_widget->rect.lines; lines 92 src/filemanager/info.c tty_draw_box (w->rect.y, w->rect.x, w->rect.lines, w->rect.cols, FALSE); lines 157 src/filemanager/info.c switch (w->lines - 2) lines 364 src/filemanager/info.c info_new (int y, int x, int lines, int cols) lines 366 src/filemanager/info.c WRect r = { y, x, lines, cols }; lines 21 src/filemanager/info.h WInfo *info_new (int y, int x, int lines, int cols); lines 368 src/filemanager/layout.c mw->rect.lines - (_keybar_visible ? 1 : 0) - (_command_prompt ? 1 : 0) - lines 377 src/filemanager/layout.c mw->rect.lines - (_keybar_visible ? 1 : 0) - (_command_prompt ? 1 : 0) - lines 652 src/filemanager/layout.c restore_into_right_dir_panel (int idx, gboolean last_was_panel, int y, int x, int lines, int cols) lines 664 src/filemanager/layout.c new_widget = panel_sized_with_dir_new (p_name, y, x, lines, cols, saved_dir_vpath); lines 668 src/filemanager/layout.c new_widget = panel_sized_new (p_name, y, x, lines, cols); lines 836 src/filemanager/layout.c r->lines - (menubar_visible ? 1 : 0) - (mc_global.message_visible ? 1 : 0) - lines 856 src/filemanager/layout.c rb.lines = 1; lines 890 src/filemanager/layout.c end_line = r->lines - (mc_global.keybar_visible ? 1 : 0) - 1; lines 910 src/filemanager/layout.c rb.y = r->lines - 1; lines 911 src/filemanager/layout.c rb.lines = 1; lines 1024 src/filemanager/layout.c y = r->lines - 1 - (mc_global.keybar_visible ? 1 : 0); lines 1187 src/filemanager/layout.c restore_into_right_dir_panel (num, last_was_panel, r.y, r.x, r.lines, r.cols); lines 1192 src/filemanager/layout.c new_widget = WIDGET (info_new (r.y, r.x, r.lines, r.cols)); lines 1196 src/filemanager/layout.c new_widget = WIDGET (tree_new (r.y, r.x, r.lines, r.cols, TRUE)); lines 1200 src/filemanager/layout.c new_widget = WIDGET (mcview_new (r.y, r.x, r.lines, r.cols, TRUE)); lines 442 src/filemanager/panel.c return (CONST_WIDGET (p)->rect.lines - 3 - (panels_options.show_mini_info ? 2 : 0)); lines 1226 src/filemanager/panel.c widget_gotoyx (w, w->rect.lines - 1, w->rect.cols - 2 - (int) strlen (tmp)); lines 1318 src/filemanager/panel.c tty_draw_box (w->rect.y, w->rect.x, w->rect.lines, w->rect.cols, FALSE); lines 1384 src/filemanager/panel.c widget_gotoyx (w, w->rect.lines - 1, 4); lines 1392 src/filemanager/panel.c display_total_marked_size (panel, w->rect.lines - 1, 2, TRUE); lines 2163 src/filemanager/panel.c int lines, top; lines 2165 src/filemanager/panel.c lines = panel_lines (panel); lines 2170 src/filemanager/panel.c top += lines * ((panel->current - top) / lines); lines 2172 src/filemanager/panel.c return (panel->current - top - lines / 2); lines 2241 src/filemanager/panel.c panel_move_current (WPanel * panel, int lines) lines 2246 src/filemanager/panel.c new_pos = panel->current + lines; lines 2258 src/filemanager/panel.c panel->top += lines; lines 2264 src/filemanager/panel.c panel->top += lines; lines 2563 src/filemanager/panel.c int lines; lines 2568 src/filemanager/panel.c lines = panel_lines (panel); lines 2569 src/filemanager/panel.c lines = MIN (lines, panel->dir.len - panel->current - 1); lines 2570 src/filemanager/panel.c for (; lines != 0; lines--) lines 2583 src/filemanager/panel.c int lines; lines 2588 src/filemanager/panel.c lines = panel_lines (panel); lines 2589 src/filemanager/panel.c lines = MIN (lines, panel->current + 1); lines 2590 src/filemanager/panel.c for (; lines != 0; lines--) lines 3982 src/filemanager/panel.c int lines, col_width, col; lines 3987 src/filemanager/panel.c lines = panel_lines (panel); lines 3988 src/filemanager/panel.c if (y >= lines) lines 3995 src/filemanager/panel.c y += panel->top + lines * col; lines 4233 src/filemanager/panel.c panel->top = panel->current - (WIDGET (panel)->rect.lines - 2) / 2; lines 4475 src/filemanager/panel.c panel_sized_empty_new (const char *panel_name, int y, int x, int lines, int cols) lines 4477 src/filemanager/panel.c WRect r = { y, x, lines, cols }; lines 4568 src/filemanager/panel.c panel_sized_with_dir_new (const char *panel_name, int y, int x, int lines, int cols, lines 4577 src/filemanager/panel.c panel = panel_sized_empty_new (panel_name, y, x, lines, cols); lines 155 src/filemanager/panel.h WPanel *panel_sized_empty_new (const char *panel_name, int y, int x, int lines, int cols); lines 156 src/filemanager/panel.h WPanel *panel_sized_with_dir_new (const char *panel_name, int y, int x, int lines, int cols, lines 270 src/filemanager/panel.h panel_sized_new (const char *panel_name, int y, int x, int lines, int cols) lines 272 src/filemanager/panel.h return panel_sized_with_dir_new (panel_name, y, x, lines, cols, NULL); lines 216 src/filemanager/panelize.c y += WIDGET (l_panelize)->rect.lines + 1; lines 86 src/filemanager/tree.c #define tlines(t) (t->is_panel ? WIDGET (t)->rect.lines - 2 - \ lines 87 src/filemanager/tree.c (panels_options.show_mini_info ? 2 : 0) : WIDGET (t)->rect.lines) lines 1134 src/filemanager/tree.c tty_draw_box (w->rect.y, w->rect.x, w->rect.lines, w->rect.cols, FALSE); lines 1143 src/filemanager/tree.c y = w->rect.lines - 3; lines 1243 src/filemanager/tree.c int lines; lines 1245 src/filemanager/tree.c lines = tlines (tree); lines 1249 src/filemanager/tree.c tree_move_backward (tree, lines - 1); lines 1252 src/filemanager/tree.c else if (y >= lines) lines 1254 src/filemanager/tree.c tree_move_forward (tree, lines - 1); lines 1285 src/filemanager/tree.c tree_new (int y, int x, int lines, int cols, gboolean is_panel) lines 1287 src/filemanager/tree.c WRect r = { y, x, lines, cols }; lines 1305 src/filemanager/tree.c tree->topdiff = w->rect.lines / 2; lines 25 src/filemanager/tree.h WTree *tree_new (int y, int x, int lines, int cols, gboolean is_panel); lines 208 src/help.c move_forward2 (const char *c, int lines) lines 216 src/help.c if (line == lines) lines 228 src/help.c move_backward2 (const char *c, int lines) lines 247 src/help.c if (line == lines) lines 896 src/help.c r.lines = help_lines + 4; lines 979 src/help.c w->rect.lines = help_lines; lines 1163 src/help.c r.lines = help_lines; lines 504 src/viewer/actions_cmd.c mcview_move_up (view, (view->data_area.lines + 1) / 2); lines 507 src/viewer/actions_cmd.c mcview_move_down (view, (view->data_area.lines + 1) / 2); lines 510 src/viewer/actions_cmd.c mcview_move_up (view, view->data_area.lines); lines 513 src/viewer/actions_cmd.c mcview_move_down (view, view->data_area.lines); lines 588 src/viewer/ascii.c if (!view->mode_flags.wrap && (row < 0 || row >= r->lines) && linewidth == NULL) lines 669 src/viewer/ascii.c if (row >= 0 && row < r->lines) lines 769 src/viewer/ascii.c int lines = 0; lines 775 src/viewer/ascii.c lines += mcview_display_line (view, state, row, ¶graph_ended, NULL); lines 777 src/viewer/ascii.c return lines; lines 779 src/viewer/ascii.c if (row < view->data_area.lines) lines 783 src/viewer/ascii.c if (row >= view->data_area.lines) lines 784 src/viewer/ascii.c return lines; lines 805 src/viewer/ascii.c int lines = view->dpy_paragraph_skip_lines; lines 814 src/viewer/ascii.c while (lines-- != 0) lines 871 src/viewer/ascii.c for (row = 0; row < r->lines; row += n) lines 883 src/viewer/ascii.c mcview_ascii_move_up (view, r->lines - row); lines 897 src/viewer/ascii.c while (row < r->lines) lines 919 src/viewer/ascii.c mcview_ascii_move_down (WView * view, off_t lines) lines 921 src/viewer/ascii.c while (lines-- != 0) lines 968 src/viewer/ascii.c mcview_ascii_move_up (WView * view, off_t lines) lines 972 src/viewer/ascii.c while (lines-- != 0) lines 981 src/viewer/ascii.c while (lines > view->dpy_paragraph_skip_lines) lines 991 src/viewer/ascii.c lines -= view->dpy_paragraph_skip_lines; lines 1001 src/viewer/ascii.c mcview_display_paragraph (view, &view->dpy_state_top, view->data_area.lines); lines 1009 src/viewer/ascii.c view->dpy_paragraph_skip_lines -= lines; lines 157 src/viewer/display.c if (r->lines < 1) lines 272 src/viewer/display.c view_area.lines = DOZ (WIDGET (view)->rect.lines, 2 * view->dpy_frame_size); lines 281 src/viewer/display.c rest = view_area.lines; lines 284 src/viewer/display.c view->status_area.lines = height; lines 289 src/viewer/display.c view->ruler_area.lines = height; lines 292 src/viewer/display.c view->data_area.lines = rest; lines 298 src/viewer/display.c y += view->status_area.lines; lines 303 src/viewer/display.c y += view->ruler_area.lines; lines 307 src/viewer/display.c y += view->data_area.lines; lines 361 src/viewer/display.c tty_draw_box (w->rect.y, w->rect.x, w->rect.lines, w->rect.cols, FALSE); lines 378 src/viewer/display.c if (ruler == RULER_NONE || r->lines < 1) lines 385 src/viewer/display.c if (line_row < r->lines) lines 394 src/viewer/display.c if (nums_row < r->lines) lines 151 src/viewer/hex.c for (; mcview_get_byte (view, from, NULL) && row < r->lines; row++) lines 226 src/viewer/internal.h void mcview_ascii_move_down (WView * view, off_t lines); lines 227 src/viewer/internal.h void mcview_ascii_move_up (WView * view, off_t lines); lines 301 src/viewer/internal.h void mcview_move_up (WView * view, off_t lines); lines 302 src/viewer/internal.h void mcview_move_down (WView * view, off_t lines); lines 150 src/viewer/mcviewer.c if (y < r->y + r->lines * 1 / 3) lines 153 src/viewer/mcviewer.c mcview_move_up (view, r->lines / 2); lines 159 src/viewer/mcviewer.c else if (y < r->y + r->lines * 2 / 3) lines 167 src/viewer/mcviewer.c mcview_move_down (view, r->lines / 2); lines 198 src/viewer/mcviewer.c mcview_new (int y, int x, int lines, int cols, gboolean is_panel) lines 200 src/viewer/mcviewer.c WRect r = { y, x, lines, cols }; lines 255 src/viewer/mcviewer.c lc_mcview = mcview_new (vw->rect.y, vw->rect.x, vw->rect.lines - 1, vw->rect.cols, FALSE); lines 42 src/viewer/mcviewer.h extern WView *mcview_new (int y, int x, int lines, int cols, gboolean is_panel); lines 82 src/viewer/move.c displaysize = view->data_area.lines * bytes; lines 114 src/viewer/move.c mcview_move_up (WView * view, off_t lines) lines 117 src/viewer/move.c mcview_ascii_move_up (view, lines); lines 122 src/viewer/move.c bytes = lines * view->bytes_per_line; lines 144 src/viewer/move.c mcview_move_down (WView * view, off_t lines) lines 151 src/viewer/move.c mcview_ascii_move_down (view, lines); lines 158 src/viewer/move.c for (i = 0; i < lines && view->hex_cursor < limit; i++) lines 162 src/viewer/move.c if (lines != 1) lines 265 src/viewer/move.c mcview_move_up (view, view->data_area.lines);