lines 550 lib/strutil.h void str_msg_term_size (const char *text, int *lines, int *columns); lines 918 lib/strutil/strutil.c str_msg_term_size (const char *text, int *lines, int *columns) lines 924 lib/strutil/strutil.c *lines = 1; lines 950 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 2210 src/diffviewer/ydiff.c dview->height = w->rect.lines - 1; lines 3374 src/diffviewer/ydiff.c r.lines--; lines 514 src/editor/edit.c edit_move_display (edit, line - (WIDGET (edit)->rect.lines / 2)); lines 718 src/editor/edit.c edit->line_numbers[2] = edit->buffer.lines; lines 722 src/editor/edit.c if (line >= edit->buffer.lines) lines 802 src/editor/edit.c if (edit->buffer.curs_line >= edit->buffer.lines - 1) lines 803 src/editor/edit.c i = edit->buffer.lines; lines 807 src/editor/edit.c if (edit_line_is_blank (edit, i) || i >= edit->buffer.lines) lines 813 src/editor/edit.c if (!edit_line_is_blank (edit, i) || i > edit->buffer.lines) lines 822 src/editor/edit.c if (edit_line_is_blank (edit, i) || i >= edit->buffer.lines) lines 843 src/editor/edit.c edit_move_down (edit, WIDGET (edit)->rect.lines - edit->curs_row - 1, FALSE); lines 869 src/editor/edit.c if (edit->buffer.curs_line < edit->buffer.lines) lines 871 src/editor/edit.c edit_move_down (edit, edit->buffer.lines - edit->curs_row, FALSE); lines 873 src/editor/edit.c edit->start_line = edit->buffer.lines; lines 874 src/editor/edit.c edit_scroll_upward (edit, WIDGET (edit)->rect.lines - 1); lines 1094 src/editor/edit.c edit_move_updown (WEdit *edit, long lines, gboolean do_scroll, gboolean direction) lines 1097 src/editor/edit.c long l = direction ? edit->buffer.curs_line : edit->buffer.lines - edit->buffer.curs_line; lines 1099 src/editor/edit.c if (lines > l) lines 1100 src/editor/edit.c lines = l; lines 1102 src/editor/edit.c if (lines == 0) lines 1105 src/editor/edit.c if (lines > 1) lines 1110 src/editor/edit.c edit_scroll_upward (edit, lines); lines 1112 src/editor/edit.c edit_scroll_downward (edit, lines); lines 1115 src/editor/edit.c p = direction ? edit_buffer_get_backward_offset (&edit->buffer, p, lines) : lines 1116 src/editor/edit.c edit_buffer_get_forward_offset (&edit->buffer, p, lines, 0); lines 1592 src/editor/edit.c if (n++ >= WIDGET (edit)->rect.lines - edit->curs_row) /* out of screen */ lines 2585 src/editor/edit.c edit->buffer.lines++; lines 2619 src/editor/edit.c edit->buffer.lines++; lines 2696 src/editor/edit.c edit->buffer.lines--; lines 2756 src/editor/edit.c edit->buffer.lines--; lines 2963 src/editor/edit.c lines_below = edit->buffer.lines - edit->start_line - (WIDGET (edit)->rect.lines - 1); lines 3684 src/editor/edit.c edit_move_up (edit, w->lines - 1, TRUE); lines 3691 src/editor/edit.c edit_move_down (edit, w->lines - 1, TRUE); lines 3878 src/editor/edit.c if (p->line >= edit->start_line + w->lines || p->line < edit->start_line) lines 3879 src/editor/edit.c edit_move_display (edit, p->line - w->lines / 2); lines 3895 src/editor/edit.c if (p->line >= edit->start_line + w->lines || p->line < edit->start_line) lines 3896 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 640 src/editor/editbuffer.c edit_buffer_get_forward_offset (const edit_buffer_t *buf, off_t current, long lines, off_t upto) lines 645 src/editor/editbuffer.c lines = MAX (lines, 0); lines 647 src/editor/editbuffer.c while (lines-- != 0) lines 672 src/editor/editbuffer.c edit_buffer_get_backward_offset (const edit_buffer_t *buf, off_t current, long lines) lines 674 src/editor/editbuffer.c lines = MAX (lines, 0); lines 677 src/editor/editbuffer.c while (lines-- != 0 && current != 0) lines 707 src/editor/editbuffer.c buf->lines = 0; lines 723 src/editor/editbuffer.c buf->lines++; lines 744 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 1688 src/editor/editcmd.c l = edit->buffer.lines + l + 2; lines 1690 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 847 src/editor/editdraw.c last_line = wh->rect.y + wh->rect.lines - 1; lines 859 src/editor/editdraw.c y2 = w->y + w->lines - 1; lines 873 src/editor/editdraw.c end_row = w->lines - 1; lines 875 src/editor/editdraw.c end_row = wh->rect.lines - 1 - y1 - 1; lines 877 src/editor/editdraw.c end_row = start_row + wh->rect.lines - 1 - 1; lines 960 src/editor/editdraw.c if ((force & REDRAW_LINE_BELOW) != 0 && row < w->lines - 1) lines 1048 src/editor/editdraw.c if (w->lines <= 0 || w->cols <= 0) lines 1063 src/editor/editdraw.c b_extreme = MAX (w->lines / 4, b_extreme); lines 1064 src/editor/editdraw.c t_extreme = MAX (w->lines / 4, t_extreme); lines 1066 src/editor/editdraw.c if (b_extreme + t_extreme + 1 > w->lines) lines 1073 src/editor/editdraw.c b_extreme = (b_extreme * (w->lines - 1)) / n; lines 1074 src/editor/editdraw.c t_extreme = (t_extreme * (w->lines - 1)) / n; lines 1095 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 934 src/editor/editsearch.c l = edit->curs_row - WIDGET (edit)->rect.lines / 3; lines 232 src/editor/editwidget.c if (w->y < wh->y + wh->lines - 2) /* buttonbar */ lines 270 src/editor/editwidget.c if (w->lines > WINDOW_MIN_LINES) lines 271 src/editor/editwidget.c w->lines--; lines 274 src/editor/editwidget.c if (w->y + w->lines < wh->y + wh->lines - 1) /* buttonbar */ lines 275 src/editor/editwidget.c w->lines++; lines 315 src/editor/editwidget.c int lines, cols; lines 321 src/editor/editwidget.c lines = MIN ((size_t) (LINES * 2 / 3), dlg_num); lines 324 src/editor/editwidget.c listbox = listbox_window_new (lines, cols, _("Open files"), "[Open files]"); lines 1044 src/editor/editwidget.c global_y = CLAMP (global_y, h->y + 1, h->y + h->lines - 2); /* Status line, buttonbar */ lines 1054 src/editor/editwidget.c r->lines = MAX (WINDOW_MIN_LINES, global_y - r->y + 1); lines 1127 src/editor/editwidget.c if (event->y == w->rect.lines - 1 && event->x == w->rect.cols - 1) lines 1257 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 555 src/filemanager/achown.c dlg_create (TRUE, wh->rect.y - 1, lxx, wh->rect.lines + 2, 17, WPOS_KEEP_DEFAULT, TRUE, lines 560 src/filemanager/achown.c listbox_new (1, 1, WIDGET (chl_dlg)->rect.lines - 2, WIDGET (chl_dlg)->rect.cols - 2, lines 736 src/filemanager/achown.c int lines = 12; lines 747 src/filemanager/achown.c lines += 2; lines 750 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 rect_init (&r, 2, 2, wd->rect.lines - 6, wd->rect.cols - 5); lines 1097 src/filemanager/boxes.c group_add_widget_autopos (g, hline_new (wd->rect.lines - 4, 1, -1), WPOS_KEEP_BOTTOM, NULL); lines 1229 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 422 src/filemanager/chattr.c max_line = w->rect.lines - 1; lines 426 src/filemanager/chattr.c if (cb->top + w->rect.lines == check_attr_mod_num || w->rect.lines >= check_attr_mod_num) lines 432 src/filemanager/chattr.c line = 1 + (cb->pos * (w->rect.lines - 2)) / check_attr_mod_num; lines 456 src/filemanager/chattr.c tty_fill_region (w->rect.y, w->rect.x - 1, w->rect.lines, w->rect.cols + 1, ' '); lines 463 src/filemanager/chattr.c if (!mc_global.tty.slow_terminal && check_attr_mod_num > w->rect.lines) lines 526 src/filemanager/chattr.c if (cb->pos == cb->top + WIDGET (cb)->rect.lines - 1) lines 571 src/filemanager/chattr.c int i = WIDGET (cb)->rect.lines; lines 609 src/filemanager/chattr.c cb->top = cb->pos - WIDGET (cb)->rect.lines + 1; lines 667 src/filemanager/chattr.c int i = WIDGET (cb)->rect.lines; lines 893 src/filemanager/chattr.c for (i = 0; i < r->lines; i++) lines 963 src/filemanager/chattr.c int lines, cols; lines 981 src/filemanager/chattr.c lines = 5 + checkboxes_lines + 4; lines 983 src/filemanager/chattr.c lines += 3; lines 985 src/filemanager/chattr.c if (lines >= mw->rect.lines - 2) lines 989 src/filemanager/chattr.c dl = lines - (mw->rect.lines - 2); lines 990 src/filemanager/chattr.c lines -= dl; lines 995 src/filemanager/chattr.c dlg_create (TRUE, 0, 0, lines, cols + wx * 2, WPOS_CENTER, FALSE, dialog_colors, lines 1003 src/filemanager/chattr.c y += WIDGET (file_attr)->rect.lines; lines 1012 src/filemanager/chattr.c r.lines = lines; lines 1050 src/filemanager/chattr.c r.lines = lines; lines 308 src/filemanager/chmod.c int lines, cols; lines 323 src/filemanager/chmod.c lines = single_set ? 20 : 23; lines 334 src/filemanager/chmod.c dlg_create (TRUE, 0, 0, lines, cols, WPOS_CENTER, FALSE, dialog_colors, lines 370 src/filemanager/chmod.c group_add_widget (g, hline_new (lines - chmod_but[i].y - 1, -1, -1)); lines 374 src/filemanager/chmod.c y = lines - chmod_but[i].y; lines 386 src/filemanager/chmod.c y = lines - chmod_but[i].y; lines 193 src/filemanager/chown.c int lines, cols; lines 199 src/filemanager/chown.c lines = GH + 4 + (single_set != 0 ? 2 : 4); lines 203 src/filemanager/chown.c dlg_create (TRUE, 0, 0, lines, cols, WPOS_CENTER, FALSE, dialog_colors, NULL, NULL, lines 244 src/filemanager/chown.c group_add_widget (g, hline_new (lines - chown_but[0].y - 1, -1, -1)); lines 246 src/filemanager/chown.c y = lines - chown_but[0].y; lines 258 src/filemanager/chown.c y = lines - chown_but[i].y; lines 3403 src/filemanager/file.c r.lines = 8; lines 1005 src/filemanager/filegui.c r.lines = y + 3; lines 583 src/filemanager/find.c const int lines = 19; lines 585 src/filemanager/find.c const int lines = 18; lines 688 src/filemanager/find.c dlg_create (TRUE, 0, 0, lines, cols, WPOS_CENTER, FALSE, dialog_colors, find_parm_callback, lines 1265 src/filemanager/find.c widget_gotoyx (h, w->rect.lines - 7, w->rect.cols - 4); lines 1573 src/filemanager/find.c r.lines = LINES - 4; lines 1675 src/filemanager/find.c int lines, cols; lines 1695 src/filemanager/find.c lines = LINES - 4; lines 1699 src/filemanager/find.c dlg_create (TRUE, 0, 0, lines, cols, WPOS_CENTER, FALSE, dialog_colors, find_callback, NULL, lines 1706 src/filemanager/find.c find_list = listbox_new (y, 2, lines - 10, cols - 4, FALSE, NULL); lines 1708 src/filemanager/find.c y += WIDGET (find_list)->rect.lines; lines 609 src/filemanager/hotlist.c r.lines = LINES - (h == hotlist_dlg ? 2 : 6); lines 751 src/filemanager/hotlist.c int lines, cols; lines 760 src/filemanager/hotlist.c lines = LINES - 2; lines 778 src/filemanager/hotlist.c dlg_create (TRUE, 0, 0, lines, cols, WPOS_CENTER, FALSE, dialog_colors, hotlist_callback, lines 783 src/filemanager/hotlist.c hotlist_group = groupbox_new (y, UX, lines - 10 + dh, cols - 2 * UX, _("Top level group")); lines 788 src/filemanager/hotlist.c listbox_new (y + 1, UX + 1, hotlist_widget->rect.lines - 2, hotlist_widget->rect.cols - 2, lines 806 src/filemanager/hotlist.c y += hotlist_widget->rect.lines; lines 813 src/filemanager/hotlist.c y += WIDGET (path_box)->rect.lines; lines 835 src/filemanager/hotlist.c int lines, cols; lines 842 src/filemanager/hotlist.c lines = LINES - 6; lines 848 src/filemanager/hotlist.c dlg_create (TRUE, 0, 0, lines, cols, WPOS_CENTER, FALSE, dialog_colors, hotlist_callback, lines 855 src/filemanager/hotlist.c movelist_group = groupbox_new (y, UX, lines - 7, cols - 2 * UX, _("Directory label")); lines 860 src/filemanager/hotlist.c listbox_new (y + 1, UX + 1, movelist_widget->rect.lines - 2, movelist_widget->rect.cols - 2, lines 866 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 159 src/filemanager/info.c switch (w->lines - 2) lines 366 src/filemanager/layout.c mw->rect.lines - (_keybar_visible ? 1 : 0) - (_command_prompt ? 1 : 0) - lines 375 src/filemanager/layout.c mw->rect.lines - (_keybar_visible ? 1 : 0) - (_command_prompt ? 1 : 0) - lines 834 src/filemanager/layout.c r->lines - (menubar_visible ? 1 : 0) - (mc_global.message_visible ? 1 : 0) - lines 854 src/filemanager/layout.c rb.lines = 1; lines 888 src/filemanager/layout.c end_line = r->lines - (mc_global.keybar_visible ? 1 : 0) - 1; lines 908 src/filemanager/layout.c rb.y = r->lines - 1; lines 909 src/filemanager/layout.c rb.lines = 1; lines 1022 src/filemanager/layout.c y = r->lines - 1 - (mc_global.keybar_visible ? 1 : 0); lines 444 src/filemanager/panel.c return (CONST_WIDGET (p)->rect.lines - 3 - (panels_options.show_mini_info ? 2 : 0)); lines 1231 src/filemanager/panel.c widget_gotoyx (w, w->rect.lines - 1, w->rect.cols - 2 - (int) strlen (tmp)); lines 1323 src/filemanager/panel.c tty_draw_box (w->rect.y, w->rect.x, w->rect.lines, w->rect.cols, FALSE); lines 1389 src/filemanager/panel.c widget_gotoyx (w, w->rect.lines - 1, 4); lines 1397 src/filemanager/panel.c display_total_marked_size (panel, w->rect.lines - 1, 2, TRUE); lines 2168 src/filemanager/panel.c panel->top = panel->current - (WIDGET (panel)->rect.lines - 2) / 2; lines 2179 src/filemanager/panel.c int lines, top; lines 2181 src/filemanager/panel.c lines = panel_lines (panel); lines 2186 src/filemanager/panel.c top += lines * ((panel->current - top) / lines); lines 2188 src/filemanager/panel.c return (panel->current - top - lines / 2); lines 2257 src/filemanager/panel.c panel_move_current (WPanel *panel, int lines) lines 2265 src/filemanager/panel.c new_pos = panel->current + lines; lines 2277 src/filemanager/panel.c panel->top += lines; lines 2283 src/filemanager/panel.c panel->top += lines; lines 2602 src/filemanager/panel.c int lines; lines 2615 src/filemanager/panel.c lines = panel_lines (panel); lines 2616 src/filemanager/panel.c lines = MIN (lines, panel->dir.len - panel->current - 1); lines 2617 src/filemanager/panel.c for (; lines != 0; lines--) lines 2630 src/filemanager/panel.c int lines; lines 2643 src/filemanager/panel.c lines = panel_lines (panel); lines 2644 src/filemanager/panel.c lines = MIN (lines, panel->current + 1); lines 2645 src/filemanager/panel.c for (; lines != 0; lines--) lines 4059 src/filemanager/panel.c int lines, col_width, col; lines 4064 src/filemanager/panel.c lines = panel_lines (panel); lines 4065 src/filemanager/panel.c if (y >= lines) lines 4072 src/filemanager/panel.c y += panel->top + lines * col; lines 215 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 1124 src/filemanager/tree.c tty_draw_box (w->rect.y, w->rect.x, w->rect.lines, w->rect.cols, FALSE); lines 1133 src/filemanager/tree.c y = w->rect.lines - 3; lines 1233 src/filemanager/tree.c int lines; lines 1235 src/filemanager/tree.c lines = tlines (tree); lines 1239 src/filemanager/tree.c tree_move_backward (tree, lines - 1); lines 1242 src/filemanager/tree.c else if (y >= lines) lines 1244 src/filemanager/tree.c tree_move_forward (tree, lines - 1); lines 1294 src/filemanager/tree.c tree->topdiff = w->rect.lines / 2; 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 509 src/viewer/actions_cmd.c mcview_move_up (view, (view->data_area.lines + 1) / 2); lines 512 src/viewer/actions_cmd.c mcview_move_down (view, (view->data_area.lines + 1) / 2); lines 515 src/viewer/actions_cmd.c mcview_move_up (view, view->data_area.lines); lines 518 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 360 src/viewer/display.c tty_draw_box (w->rect.y, w->rect.x, w->rect.lines, w->rect.cols, FALSE); lines 377 src/viewer/display.c if (ruler == RULER_NONE || r->lines < 1) lines 384 src/viewer/display.c if (line_row < r->lines) lines 393 src/viewer/display.c if (nums_row < r->lines) lines 152 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 256 src/viewer/mcviewer.c r.lines--; 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);