cols 45 lib/tty/tty-internal.h void tty_colorize_area (int y, int x, int rows, int cols, int color); cols 132 lib/tty/tty-ncurses.c tty_clip (int *y, int *x, int *rows, int *cols) cols 146 lib/tty/tty-ncurses.c *cols += *x; cols 148 lib/tty/tty-ncurses.c if (*cols <= 0) cols 160 lib/tty/tty-ncurses.c if (*x + *cols > COLS) cols 161 lib/tty/tty-ncurses.c *cols = COLS - *x; cols 163 lib/tty/tty-ncurses.c if (*cols <= 0) cols 540 lib/tty/tty-ncurses.c tty_fill_region (int y, int x, int rows, int cols, unsigned char ch) cols 544 lib/tty/tty-ncurses.c if (!tty_clip (&y, &x, &rows, &cols)) cols 550 lib/tty/tty-ncurses.c hline (ch, cols); cols 562 lib/tty/tty-ncurses.c tty_colorize_area (int y, int x, int rows, int cols, int color) cols 570 lib/tty/tty-ncurses.c if (!use_colors || !tty_clip (&y, &x, &rows, &cols)) cols 574 lib/tty/tty-ncurses.c ctext = g_malloc (sizeof (cchar_t) * (cols + 1)); cols 578 lib/tty/tty-ncurses.c mvin_wchnstr (y + row, x, ctext, cols); cols 580 lib/tty/tty-ncurses.c for (int col = 0; col < cols; col++) cols 586 lib/tty/tty-ncurses.c mvadd_wchnstr (y + row, x, ctext, cols); cols 594 lib/tty/tty-ncurses.c (void) cols; cols 621 lib/tty/tty-slang.c tty_fill_region (int y, int x, int rows, int cols, unsigned char ch) cols 623 lib/tty/tty-slang.c SLsmg_fill_region (y, x, rows, cols, ch); cols 629 lib/tty/tty-slang.c tty_colorize_area (int y, int x, int rows, int cols, int color) cols 632 lib/tty/tty-slang.c SLsmg_set_color_in_region (color, y, x, rows, cols); cols 282 lib/tty/tty.c tty_draw_box_shadow (int y, int x, int rows, int cols, int shadow_color) cols 285 lib/tty/tty.c tty_colorize_area (y + 1, x + cols, rows - 1, 2, shadow_color); cols 287 lib/tty/tty.c tty_colorize_area (y + rows, x + 2, 1, cols, shadow_color); cols 126 lib/tty/tty.h extern void tty_draw_box (int y, int x, int rows, int cols, gboolean single); cols 127 lib/tty/tty.h extern void tty_draw_box_shadow (int y, int x, int rows, int cols, int shadow_color); cols 128 lib/tty/tty.h extern void tty_fill_region (int y, int x, int rows, int cols, unsigned char ch); cols 109 lib/tty/win.c int bytes, i, j, cols = 0; cols 132 lib/tty/win.c for (cols = 1;; cols++) cols 143 lib/tty/win.c if ((i % cols) == 0) cols 144 lib/tty/win.c tty_gotoyx (starty + (i / cols), 0); cols 78 lib/widget/background.c tty_fill_region (w->rect.y, w->rect.x, w->rect.lines, w->rect.cols, b->pattern); cols 108 lib/widget/background.c background_new (int y, int x, int lines, int cols, int color, unsigned char pattern, cols 111 lib/widget/background.c WRect r = { y, x, lines, cols }; cols 30 lib/widget/background.h WBackground *background_new (int y, int x, int lines, int cols, int color, unsigned char pattern, cols 219 lib/widget/button.c r.cols = button_get_len (b); cols 254 lib/widget/button.c w->rect.cols = button_get_len (b); cols 184 lib/widget/buttonbar.c tty_printf ("%-*s", w->rect.cols, ""); cols 148 lib/widget/check.c r.cols = 4 + hotkey_width (c->text); cols 175 lib/widget/check.c w->rect.cols = 3; // "[ ]" cols 177 lib/widget/check.c w->rect.cols = 4 + hotkey_width (check->text); // "[ ] text" cols 232 lib/widget/dialog-switch.c int lines, cols; cols 241 lib/widget/dialog-switch.c cols = COLS * 2 / 3; cols 243 lib/widget/dialog-switch.c listbox = listbox_window_new (lines, cols, _ ("Screens"), "[Screen selector]"); cols 251 lib/widget/dialog-switch.c title = dlg->get_title (dlg, WIDGET (listbox->list)->rect.cols - 2); cols 382 lib/widget/dialog.c if (event->y < 0 || event->y >= w->rect.lines || event->x < 0 || event->x >= w->rect.cols) cols 399 lib/widget/dialog.c dlg_create (gboolean modal, int y1, int x1, int lines, int cols, widget_pos_flags_t pos_flags, cols 403 lib/widget/dialog.c WRect r = { y1, x1, lines, cols }; cols 439 lib/widget/dialog.c WIDGET (frame_new (0, 0, w->rect.lines, w->rect.cols, title, FALSE, new_d->compact)); cols 103 lib/widget/dialog.h WDialog *dlg_create (gboolean modal, int y1, int x1, int lines, int cols, cols 78 lib/widget/frame.c tty_draw_box_shadow (w->y, w->x, w->lines, w->cols, SHADOW_COLOR); cols 81 lib/widget/frame.c tty_fill_region (w->y, w->x, w->lines, w->cols, ' '); cols 82 lib/widget/frame.c tty_draw_box (w->y + d, w->x + d, w->lines - 2 * d, w->cols - 2 * d, f->single); cols 88 lib/widget/frame.c widget_gotoyx (f, d, (w->cols - str_term_width1 (f->title)) / 2); cols 98 lib/widget/frame.c frame_new (int y, int x, int lines, int cols, const char *title, gboolean single, gboolean compact) cols 100 lib/widget/frame.c WRect r = { y, x, lines, cols }; cols 36 lib/widget/frame.h WFrame *frame_new (int y, int x, int lines, int cols, const char *title, gboolean single, cols 75 lib/widget/gauge.c tty_printf ("%*s", w->rect.cols, ""); cols 97 lib/widget/gauge.c gauge_len = w->rect.cols - 7; // 7 positions for percentage cols 131 lib/widget/gauge.c gauge_new (int y, int x, int cols, gboolean shown, int max, int current) cols 133 lib/widget/gauge.c WRect r = { y, x, 1, cols }; cols 30 lib/widget/gauge.h WGauge *gauge_new (int y, int x, int cols, gboolean shown, int max, int current); cols 206 lib/widget/group.c r.cols = 0; cols 242 lib/widget/group.c r.cols = 0; cols 396 lib/widget/group.c r.x = g->x + (g->cols - c->rect.cols) / 2; cols 400 lib/widget/group.c r.cols += wss->scale_x; cols 443 lib/widget/group.c wss.scale_x = w->cols - or.cols; cols 774 lib/widget/group.c ww->rect.x = (wg->rect.cols - ww->rect.cols) / 2; cols 75 lib/widget/groupbox.c tty_draw_box (w->rect.y, w->rect.x, w->rect.lines, w->rect.cols, TRUE); cols 74 lib/widget/hline.c w->cols = wo->cols; cols 79 lib/widget/hline.c w->cols = wo->cols - 2; cols 113 lib/widget/hline.c tty_draw_hline (w->rect.y, w->rect.x + 1, ACS_HLINE, w->rect.cols - 2); cols 119 lib/widget/hline.c widget_gotoyx (w, 0, w->rect.cols - 1); cols 128 lib/widget/hline.c widget_gotoyx (w, 0, (w->rect.cols - text_width) / 2); cols 155 lib/widget/hline.c r.cols = width < 0 ? 1 : width; cols 73 lib/widget/input.c (in->history.list != NULL && WIDGET (in)->rect.cols > HISTORY_BUTTON_WIDTH * 2 + 1 \ cols 116 lib/widget/input.c widget_gotoyx (in, 0, WIDGET (in)->rect.cols - HISTORY_BUTTON_WIDTH); cols 122 lib/widget/input.c widget_gotoyx (in, 0, WIDGET (in)->rect.cols - HISTORY_BUTTON_WIDTH + 1); cols 909 lib/widget/input.c if (event->x >= w->rect.cols - HISTORY_BUTTON_WIDTH && should_show_history_button (in)) cols 1213 lib/widget/input.c if ((pw < in->term_first_shown) || (pw >= in->term_first_shown + w->cols - has_history)) cols 1215 lib/widget/input.c in->term_first_shown = pw - (w->cols / 3); cols 1236 lib/widget/input.c str_term_substring (in->buffer->str, in->term_first_shown, w->cols - has_history)); cols 1245 lib/widget/input.c w->cols - has_history); cols 1261 lib/widget/input.c MIN (m2 - m1, (w->cols - has_history) - (buf_width - in->term_first_shown)); cols 1272 lib/widget/input.c cp = str_term_substring (in->buffer->str, in->term_first_shown, w->cols - has_history); cols 1274 lib/widget/input.c for (i = 0; i < w->cols - has_history; i++) cols 107 lib/widget/label.c tty_print_string (str_fit_to_term (p, w->rect.cols, align)); cols 140 lib/widget/label.c str_msg_term_size (text, &r.lines, &r.cols); cols 159 lib/widget/label.c int newcols = w->rect.cols; cols 175 lib/widget/label.c w->rect.cols = MAX (newcols, w->rect.cols); cols 182 lib/widget/label.c w->rect.cols = MIN (newcols, w->rect.cols); cols 59 lib/widget/listbox-window.c listbox_window_centered_new (int center_y, int center_x, int lines, int cols, const char *title, cols 76 lib/widget/listbox-window.c cols = MAX (cols, len); cols 79 lib/widget/listbox-window.c cols = MIN (cols, COLS - 6); cols 92 lib/widget/listbox-window.c xpos -= cols / 2; cols 99 lib/widget/listbox-window.c if (xpos + cols >= COLS) cols 100 lib/widget/listbox-window.c xpos = COLS - cols - space; cols 107 lib/widget/listbox-window.c listbox->dlg = dlg_create (TRUE, ypos, xpos, lines + space, cols + space, pos_flags, FALSE, cols 110 lib/widget/listbox-window.c listbox->list = listbox_new (2, 2, lines, cols, FALSE, NULL); cols 119 lib/widget/listbox-window.c listbox_window_new (int lines, int cols, const char *title, const char *help) cols 121 lib/widget/listbox-window.c return listbox_window_centered_new (-1, -1, lines, cols, title, help); cols 28 lib/widget/listbox-window.h Listbox *listbox_window_centered_new (int center_y, int center_x, int lines, int cols, cols 30 lib/widget/listbox-window.h Listbox *listbox_window_new (int lines, int cols, const char *title, const char *help); cols 102 lib/widget/listbox.c widget_gotoyx (l, 0, w->cols); cols 111 lib/widget/listbox.c widget_gotoyx (w, max_line, w->cols); cols 123 lib/widget/listbox.c widget_gotoyx (l, i, w->cols); cols 186 lib/widget/listbox.c tty_print_string (str_fit_to_term (text, w->cols - 2, J_LEFT_FIT)); cols 132 lib/widget/menu.c if (x + menu->max_entry_len + 4 > (gsize) w->cols) cols 133 lib/widget/menu.c x = w->cols - menu->max_entry_len - 4; cols 190 lib/widget/menu.c if (column + menu->max_entry_len + 5 > (gsize) w->cols) cols 191 lib/widget/menu.c column = w->cols - menu->max_entry_len - 5; cols 228 lib/widget/menu.c tty_draw_hline (w->y, w->x, ' ', w->cols); cols 742 lib/widget/menu.c if (right_x > w->cols) cols 744 lib/widget/menu.c left_x = w->cols - (menu->max_entry_len + 3); cols 745 lib/widget/menu.c right_x = w->cols; cols 1022 lib/widget/menu.c gap = WIDGET (menubar)->rect.cols - 2; cols 110 lib/widget/quick.c *width = MAX (label.widget->rect.cols, in.widget->rect.cols); cols 117 lib/widget/quick.c in.widget = WIDGET (quick_create_input (*y, x + label.widget->rect.cols + 1, quick_widget)); cols 121 lib/widget/quick.c *width = label.widget->rect.cols + in.widget->rect.cols + 1; cols 130 lib/widget/quick.c label_new (*y, x + in.widget->rect.cols + 1, I18N (quick_widget->u.input.label_text))); cols 133 lib/widget/quick.c *width = label.widget->rect.cols + in.widget->rect.cols + 1; cols 145 lib/widget/quick.c *width = MAX (label.widget->rect.cols, in.widget->rect.cols); cols 191 lib/widget/quick.c quick_dlg->rect.cols = MAX (quick_dlg->rect.cols, len); cols 210 lib/widget/quick.c width = item.widget->rect.cols; cols 226 lib/widget/quick.c width = item.widget->rect.cols; cols 247 lib/widget/quick.c width = item.widget->rect.cols; cols 261 lib/widget/quick.c width = item.widget->rect.cols; cols 287 lib/widget/quick.c width = item.widget->rect.cols; cols 370 lib/widget/quick.c blen += item.widget->rect.cols + 1; cols 385 lib/widget/quick.c quick_dlg->rect.cols = MAX (quick_dlg->rect.cols, blen + 6); cols 402 lib/widget/quick.c quick_dlg->rect.cols = MAX (quick_dlg->rect.cols, len); cols 403 lib/widget/quick.c width1 = quick_dlg->rect.cols - 6; cols 404 lib/widget/quick.c width2 = (quick_dlg->rect.cols - 7) / 2; cols 407 lib/widget/quick.c dd = dlg_create (TRUE, 0, 0, y + 3, quick_dlg->rect.cols, WPOS_CENTER | WPOS_TRYUP, FALSE, cols 411 lib/widget/quick.c dd = dlg_create (TRUE, quick_dlg->rect.y, quick_dlg->rect.x, y + 3, quick_dlg->rect.cols, cols 419 lib/widget/quick.c x = (WIDGET (dd)->rect.cols - blen) / 2; cols 465 lib/widget/quick.c x += r->cols + 1; cols 483 lib/widget/quick.c r->x = label->rect.x + label->rect.cols + 1 - WIDGET (label->owner)->rect.x; cols 484 lib/widget/quick.c r->cols = width - label->rect.cols - 1; cols 492 lib/widget/quick.c r->cols = width - label->rect.cols - 1; cols 493 lib/widget/quick.c label->rect.x = r->x + r->cols + 1; cols 501 lib/widget/quick.c r->cols = width; cols 516 lib/widget/quick.c r->cols = column_width; cols 534 lib/widget/quick.c r->cols = wg->rect.cols; cols 542 lib/widget/quick.c r->cols = column_width + 2; cols 169 lib/widget/radio.c tty_draw_hline (w->rect.y + i, w->rect.x, ' ', w->rect.cols); cols 239 lib/widget/radio.c r0.cols = 4 + wmax; cols 62 lib/widget/rect.c rect_new (int y, int x, int lines, int cols) cols 69 lib/widget/rect.c rect_init (r, y, x, lines, cols); cols 86 lib/widget/rect.c rect_init (WRect *r, int y, int x, int lines, int cols) cols 91 lib/widget/rect.c r->cols = cols; cols 123 lib/widget/rect.c r->cols += dc; cols 145 lib/widget/rect.c r->cols += dc * 2; cols 167 lib/widget/rect.c x = r->x + r->cols; cols 169 lib/widget/rect.c x1 = r1->x + r1->cols; cols 181 lib/widget/rect.c r->cols = x - r->x; cols 203 lib/widget/rect.c x = r->x + r->cols; cols 205 lib/widget/rect.c x1 = r1->x + r1->cols; cols 217 lib/widget/rect.c r->cols = x - r->x; cols 233 lib/widget/rect.c return !((r2->x >= r1->x + r1->cols) || (r1->x >= r2->x + r2->cols) cols 250 lib/widget/rect.c return (r1->y == r2->y && r1->x == r2->x && r1->lines == r2->lines && r1->cols == r2->cols); cols 26 lib/widget/rect.h int cols; cols 33 lib/widget/rect.h WRect *rect_new (int y, int x, int lines, int cols); cols 34 lib/widget/rect.h void rect_init (WRect *r, int y, int x, int lines, int cols); cols 399 lib/widget/widget-common.c r->cols = COLS; cols 404 lib/widget/widget-common.c r->x = (COLS - r->cols) / 2; cols 431 lib/widget/widget-common.c widget_set_size (Widget *w, int y, int x, int lines, int cols) cols 433 lib/widget/widget-common.c WRect r = { y, x, lines, cols }; cols 480 lib/widget/widget-common.c tty_fill_region (w->rect.y, w->rect.x, w->rect.lines, w->rect.cols, ' '); cols 897 lib/widget/widget-common.c return (event->x > r->x) && (event->y > r->y) && (event->x <= r->x + r->cols) cols 213 lib/widget/widget-common.h void widget_set_size (Widget *w, int y, int x, int lines, int cols); cols 108 lib/widget/wtools.c xpos = COLS / 2 - w->rect.cols / 2; cols 111 lib/widget/wtools.c rect_init (&r, ypos, xpos, w->rect.lines, w->rect.cols); cols 248 lib/widget/wtools.c int cols, lines; cols 271 lib/widget/wtools.c str_msg_term_size (text, &lines, &cols); cols 272 lib/widget/wtools.c cols = 6 + MAX (win_len, MAX (str_term_width1 (header), cols)); cols 276 lib/widget/wtools.c query_dlg = dlg_create (TRUE, 0, 0, lines, cols, pos_flags, FALSE, query_colors, cols 288 lib/widget/wtools.c cols = (cols - win_len - 2) / 2 + 2; cols 300 lib/widget/wtools.c button = button_new (lines - 3, cols, B_USER + i, NORMAL_BUTTON, cur_name, NULL); cols 302 lib/widget/wtools.c cols += xpos; cols 674 lib/widget/wtools.c wd_width = MAX (wd->rect.cols, b_width + 6); cols 685 lib/widget/wtools.c r.cols = wd_width; cols 2212 src/diffviewer/ydiff.c dview->half1 = w->rect.cols / 2; cols 2213 src/diffviewer/ydiff.c dview->half2 = w->rect.cols - dview->half1; cols 124 src/editor/edit-impl.h off_t edit_move_forward3 (const WEdit *edit, off_t current, long cols, off_t upto); cols 174 src/editor/edit.c r.cols = MAX (r.cols, lw->rect.cols + 6); cols 177 src/editor/edit.c r.x = wd->rect.x + (wd->rect.cols - r.cols) / 2; cols 2787 src/editor/edit.c edit_move_forward3 (const WEdit *edit, off_t current, long cols, off_t upto) cols 2795 src/editor/edit.c cols = -10; cols 2804 src/editor/edit.c if (cols != -10) cols 2806 src/editor/edit.c if (col == cols) cols 2808 src/editor/edit.c if (col > cols) cols 187 src/editor/editdraw.c const int w = h->rect.cols; cols 252 src/editor/editdraw.c int cols = w->rect.cols; cols 256 src/editor/editdraw.c if (cols > 5) cols 273 src/editor/editdraw.c tty_printf ("[%s]", str_term_trim (fname, w->rect.cols - 8 - 6)); cols 279 src/editor/editdraw.c if (x + 6 <= cols - 2 - 6) cols 288 src/editor/editdraw.c if (cols > 30) cols 301 src/editor/editdraw.c if (cols > 46) cols 345 src/editor/editdraw.c tty_draw_box (w->rect.y, w->rect.x, w->rect.lines, w->rect.cols, !active); cols 350 src/editor/editdraw.c widget_gotoyx (w, w->rect.lines - 1, w->rect.cols - 1); cols 371 src/editor/editdraw.c widget_gotoyx (w->owner, 0, WIDGET (w->owner)->rect.cols - 6); cols 373 src/editor/editdraw.c widget_gotoyx (w, 0, w->rect.cols - 8); cols 524 src/editor/editdraw.c if (w->rect.x + w->rect.cols <= WIDGET (w->owner)->rect.cols) cols 854 src/editor/editdraw.c last_column = wh->rect.x + wh->rect.cols - 1; cols 864 src/editor/editdraw.c x2 = w->x + w->cols - 1; cols 881 src/editor/editdraw.c end_column = w->cols - 1; cols 883 src/editor/editdraw.c end_column = wh->rect.cols - 1 - x1; cols 885 src/editor/editdraw.c end_column = start_column + wh->rect.cols - 1; cols 1050 src/editor/editdraw.c if (w->lines <= 0 || w->cols <= 0) cols 1078 src/editor/editdraw.c if (l_extreme + r_extreme + 1 > w->cols) cols 1085 src/editor/editdraw.c l_extreme = (l_extreme * (w->cols - 1)) / n; cols 1086 src/editor/editdraw.c r_extreme = (r_extreme * (w->cols - 1)) / n; cols 1090 src/editor/editdraw.c outby = p + edit->start_col - w->cols + 1 + (r_extreme + edit->found_len); cols 253 src/editor/editsearch.c dlg_width = WIDGET (w->owner)->rect.cols - xpos - 1; cols 758 src/editor/editsearch.c r.cols = MAX (r.cols, lw->rect.cols + 6); cols 761 src/editor/editsearch.c r.x = wd->rect.x + (wd->rect.cols - r.cols) / 2; cols 239 src/editor/editwidget.c if (w->x + wh->cols > wh->x) cols 243 src/editor/editwidget.c if (w->x < wh->x + wh->cols) cols 281 src/editor/editwidget.c if (w->cols > WINDOW_MIN_COLS) cols 282 src/editor/editwidget.c w->cols--; cols 285 src/editor/editwidget.c if (w->x + w->cols < wh->x + wh->cols) cols 286 src/editor/editwidget.c w->cols++; cols 318 src/editor/editwidget.c int lines, cols; cols 325 src/editor/editwidget.c cols = COLS * 2 / 3; cols 327 src/editor/editwidget.c listbox = listbox_window_new (lines, cols, _ ("Open files"), "[Open files]"); cols 342 src/editor/editwidget.c str_term_trim (fname, WIDGET (listbox->list)->rect.cols - 2), e, cols 891 src/editor/editwidget.c x = w->rect.cols - 6; cols 1048 src/editor/editwidget.c h->x + h->cols - 1); // Currently a no-op, as the dialog has no left/right margins cols 1058 src/editor/editwidget.c r->cols = MAX (WINDOW_MIN_COLS, global_x - r->x + 1); cols 1085 src/editor/editwidget.c close_x = (w->rect.cols - 1) - dx - 1; cols 1131 src/editor/editwidget.c if (event->y == w->rect.lines - 1 && event->x == w->rect.cols - 1) cols 1258 src/editor/editwidget.c edit_dlg->bg = WIDGET (background_new (1, 0, wd->rect.lines - 2, wd->rect.cols, cols 1422 src/editor/editwidget.c edit->drag_state_start = w->rect.cols / 2; cols 558 src/filemanager/achown.c WIDGET (chl_dlg)->rect.cols - 2, FALSE, NULL); cols 734 src/filemanager/achown.c int cols = 74; cols 746 src/filemanager/achown.c ch_dlg = dlg_create (TRUE, 0, 0, lines, cols, WPOS_CENTER, FALSE, dialog_colors, cols 783 src/filemanager/achown.c button_new (y, WIDGET (ch_dlg)->rect.cols / 2 - advanced_chown_but[i].len, cols 789 src/filemanager/achown.c button_new (y, WIDGET (ch_dlg)->rect.cols / 2 + 1, advanced_chown_but[i].ret_cmd, cols 798 src/filemanager/achown.c button_new (y, WIDGET (ch_dlg)->rect.cols / 2 - advanced_chown_but[i].len, cols 804 src/filemanager/achown.c button_new (y, WIDGET (ch_dlg)->rect.cols / 2 + 1, advanced_chown_but[i].ret_cmd, cols 1013 src/filemanager/achown.c str_fit_to_term (fname->str, WIDGET (ch_dlg)->rect.cols - 20, J_LEFT_FIT), cols 198 src/filemanager/boxes.c r.x = wd->x + wd->cols / 2; cols 411 src/filemanager/boxes.c r.cols = COLS - 20; cols 849 src/filemanager/boxes.c int cols; cols 856 src/filemanager/boxes.c cols = strtol (panel_brief_cols_out, &error, 10); cols 858 src/filemanager/boxes.c *brief_cols = cols; cols 1120 src/filemanager/boxes.c rect_init (&r, 2, 2, wd->rect.lines - 6, wd->rect.cols - 5); cols 1255 src/filemanager/boxes.c WRect r = { w->rect.y + w->rect.lines - 6, w->rect.x, 0, w->rect.cols }; cols 1330 src/filemanager/boxes.c int cols = 60; cols 1347 src/filemanager/boxes.c cols = MAX (cols, x + 6); cols 1349 src/filemanager/boxes.c jobs_dlg = dlg_create (TRUE, 0, 0, lines, cols, WPOS_CENTER, FALSE, dialog_colors, NULL, NULL, cols 1353 src/filemanager/boxes.c bg_list = listbox_new (2, 2, lines - 6, cols - 6, FALSE, NULL); cols 1359 src/filemanager/boxes.c x = (cols - x) / 2; cols 292 src/filemanager/chattr.c if (w->rect.cols > fat->filename_width) cols 294 src/filemanager/chattr.c widget_gotoyx (w, 0, (w->rect.cols - fat->filename_width) / 2); cols 300 src/filemanager/chattr.c tty_print_string (str_trunc (fat->filename, w->rect.cols)); cols 304 src/filemanager/chattr.c widget_gotoyx (w, 1, (w->rect.cols - check_attr_num) / 2); cols 336 src/filemanager/chattr.c if (fat->filename_width > wo->cols - wx * 2) cols 339 src/filemanager/chattr.c w->rect.cols = wo->cols - wx * 2; cols 363 src/filemanager/chattr.c r.cols = MAX (width, (int) check_attr_num); cols 412 src/filemanager/chattr.c widget_gotoyx (w, 0, w->rect.cols); cols 421 src/filemanager/chattr.c widget_gotoyx (w, max_line, w->rect.cols); cols 432 src/filemanager/chattr.c widget_gotoyx (w, i, w->rect.cols); cols 452 src/filemanager/chattr.c tty_fill_region (w->rect.y, w->rect.x - 1, w->rect.lines, w->rect.cols + 1, ' '); cols 959 src/filemanager/chattr.c int lines, cols; cols 973 src/filemanager/chattr.c cols = check_attr_width + cb_scrollbar_width; cols 990 src/filemanager/chattr.c ch_dlg = dlg_create (TRUE, 0, 0, lines, cols + wx * 2, WPOS_CENTER, FALSE, dialog_colors, cols 1001 src/filemanager/chattr.c if (cols < WIDGET (file_attr)->rect.cols) cols 1004 src/filemanager/chattr.c cols = WIDGET (file_attr)->rect.cols; cols 1005 src/filemanager/chattr.c cols = MIN (cols, mw->rect.cols - wx * 2); cols 1006 src/filemanager/chattr.c r.cols = cols + wx * 2; cols 1012 src/filemanager/chattr.c rect_init (&r, y++, wx, checkboxes_lines > 0 ? checkboxes_lines : 1, cols); cols 1017 src/filemanager/chattr.c cols = 0; cols 1024 src/filemanager/chattr.c chattr_but[i].button = WIDGET (button_new (y, dw->rect.cols / 2 + 1 - chattr_but[i].width, cols 1031 src/filemanager/chattr.c WIDGET (button_new (y++, dw->rect.cols / 2 + 2, chattr_but[i].ret_cmd, cols 1036 src/filemanager/chattr.c cols = cols 1037 src/filemanager/chattr.c MAX (cols, chattr_but[i - 1].button->rect.cols + 1 + chattr_but[i].button->rect.cols); cols 1041 src/filemanager/chattr.c cols += 6; cols 1042 src/filemanager/chattr.c if (cols > dw->rect.cols) cols 1046 src/filemanager/chattr.c r.cols = cols; cols 1050 src/filemanager/chattr.c cols = dw->rect.x + dw->rect.cols / 2 + 1; cols 1058 src/filemanager/chattr.c r.x = cols - r.cols; cols 1063 src/filemanager/chattr.c r.x = cols + 1; cols 304 src/filemanager/chmod.c int lines, cols; cols 316 src/filemanager/chmod.c cols = str_term_width1 (fname) + 2 + 1; cols 317 src/filemanager/chmod.c file_gb_len = MAX (file_gb_len, cols); cols 320 src/filemanager/chmod.c cols = perm_gb_len + file_gb_len + 1 + 6; cols 322 src/filemanager/chmod.c if (cols > COLS) cols 325 src/filemanager/chmod.c cols = COLS; cols 326 src/filemanager/chmod.c file_gb_len = cols - (perm_gb_len + 1 + 6); cols 329 src/filemanager/chmod.c ch_dlg = dlg_create (TRUE, 0, 0, lines, cols, WPOS_CENTER, FALSE, dialog_colors, chmod_callback, cols 350 src/filemanager/chmod.c cols = PX + perm_gb_len + 3; cols 352 src/filemanager/chmod.c group_add_widget (g, label_new (y, cols, c_fname)); cols 354 src/filemanager/chmod.c statl = label_new (y + 2, cols, buffer); cols 357 src/filemanager/chmod.c group_add_widget (g, label_new (y + 4, cols, c_fown)); cols 359 src/filemanager/chmod.c group_add_widget (g, label_new (y + 6, cols, c_fgrp)); cols 371 src/filemanager/chmod.c button_new (y, WIDGET (ch_dlg)->rect.cols / 2 - chmod_but[i].len, cols 376 src/filemanager/chmod.c button_new (y, WIDGET (ch_dlg)->rect.cols / 2 + 1, cols 386 src/filemanager/chmod.c button_new (y, WIDGET (ch_dlg)->rect.cols / 2 - chmod_but[i].len, cols 391 src/filemanager/chmod.c button_new (y, WIDGET (ch_dlg)->rect.cols / 2 + 1, chmod_but[i].ret_cmd, cols 185 src/filemanager/chown.c int lines, cols; cols 192 src/filemanager/chown.c cols = GW * 3 + 2 + 6; cols 194 src/filemanager/chown.c ch_dlg = dlg_create (TRUE, 0, 0, lines, cols, WPOS_CENTER, FALSE, dialog_colors, NULL, NULL, cols 238 src/filemanager/chown.c x = (cols - blen) / 2; cols 253 src/filemanager/chown.c button_new (y, WIDGET (ch_dlg)->rect.cols / 2 - chown_but[i].len, cols 258 src/filemanager/chown.c button_new (y, WIDGET (ch_dlg)->rect.cols / 2 + 1, chown_but[i].ret_cmd, cols 206 src/filemanager/command.c command_new (int y, int x, int cols) cols 211 src/filemanager/command.c cmd = input_new (y, x, command_colors, cols, "", "cmdline", cols 209 src/filemanager/file.c x += (wd->rect.cols - dsm->abort_button->rect.cols) / 2; cols 218 src/filemanager/file.c int cols; cols 220 src/filemanager/file.c cols = dsm->abort_button->rect.cols + dsm->skip_button->rect.cols + 1; cols 221 src/filemanager/file.c x += (wd->rect.cols - cols) / 2; cols 226 src/filemanager/file.c x += dsm->abort_button->rect.cols + 1; cols 3413 src/filemanager/file.c r.cols = ui_width; cols 3432 src/filemanager/file.c if (WIDGET (dsm->count_size)->rect.cols + 6 > r.cols) cols 3434 src/filemanager/file.c r.cols = WIDGET (dsm->count_size)->rect.cols + 6; cols 3443 src/filemanager/file.c str_trunc (vfs_path_as_str (dsm->dirname_vpath), wd->rect.cols - 6)); cols 172 src/filemanager/filegui.c #define truncFileStringSecure(dlg, s) path_trunc (s, WIDGET (dlg)->rect.cols - 10) cols 437 src/filemanager/filegui.c #define WCOLS(i) W (i)->rect.cols cols 754 src/filemanager/filegui.c progress_buttons[0].w->rect.x = w->rect.x + (w->rect.cols - buttons_width) / 2; cols 1009 src/filemanager/filegui.c r.cols = MAX (COLS * 2 / 3, buttons_width + 6); cols 921 src/filemanager/filemanager.c WIDGET (the_hint)->rect.cols = COLS; cols 581 src/filemanager/find.c int cols = 68; cols 678 src/filemanager/find.c cols = max (cols, max (b12, cw * 2 + 1) + 6); cols 685 src/filemanager/find.c find_dlg = dlg_create (TRUE, 0, 0, lines, cols, WPOS_CENTER, FALSE, dialog_colors, cols 690 src/filemanager/find.c x2 = cols / 2 + 1; cols 691 src/filemanager/find.c cw = (cols - 7) / 2; cols 695 src/filemanager/find.c in_start = input_new (y1, x1, input_colors, cols - b0 - 7, in_start_dir, "start", cols 699 src/filemanager/find.c group_add_widget (g, button_new (y1++, cols - b0 - 3, B_TREE, NORMAL_BUTTON, buts[0], NULL)); cols 705 src/filemanager/find.c in_ignore = input_new (y1++, x1, input_colors, cols - 6, cols 773 src/filemanager/find.c x1 = (cols - b12) / 2; cols 1034 src/filemanager/find.c status_update (str_trunc (buffer, WIDGET (h)->rect.cols - 8)); cols 1129 src/filemanager/find.c status_update (str_trunc (result, WIDGET (h)->rect.cols - 8)); cols 1257 src/filemanager/find.c widget_gotoyx (h, w->rect.lines - 7, w->rect.cols - 4); cols 1356 src/filemanager/find.c status_update (str_trunc (directory, WIDGET (h)->rect.cols - 8)); cols 1495 src/filemanager/find.c const int cols = CONST_WIDGET (h)->rect.cols; cols 1502 src/filemanager/find.c fbuts[0].x = (cols - l1) / 2; cols 1510 src/filemanager/find.c fbuts[5].x = (cols - l2) / 2; cols 1531 src/filemanager/find.c if (title_len > WIDGET (h)->rect.cols - 6) cols 1534 src/filemanager/find.c title_len = WIDGET (h)->rect.cols - 6; cols 1567 src/filemanager/find.c r.cols = COLS - 16; cols 1668 src/filemanager/find.c int lines, cols; cols 1689 src/filemanager/find.c cols = COLS - 16; cols 1691 src/filemanager/find.c find_dlg = dlg_create (TRUE, 0, 0, lines, cols, WPOS_CENTER, FALSE, dialog_colors, cols 1698 src/filemanager/find.c find_list = listbox_new (y, 2, lines - 10, cols - 4, FALSE, NULL); cols 257 src/filemanager/hotlist.c groupbox_set_title (movelist_group, str_trunc (p, w->rect.cols - 2)); cols 260 src/filemanager/hotlist.c groupbox_set_title (hotlist_group, str_trunc (p, w->rect.cols - 2)); cols 261 src/filemanager/hotlist.c label_set_text (pname, str_trunc (text, w->rect.cols)); cols 609 src/filemanager/hotlist.c r.cols = COLS - 6; cols 673 src/filemanager/hotlist.c init_i18n_stuff (int list_type, int cols) cols 717 src/filemanager/hotlist.c cols = MAX (cols, MAX (len[0], len[1])); cols 731 src/filemanager/hotlist.c hotlist_but[i].x = cols - hotlist_but[i].len - 6; cols 740 src/filemanager/hotlist.c return cols; cols 750 src/filemanager/hotlist.c int lines, cols; cols 760 src/filemanager/hotlist.c cols = init_i18n_stuff (list_type, COLS - 6); cols 776 src/filemanager/hotlist.c hotlist_dlg = dlg_create (TRUE, 0, 0, lines, cols, WPOS_CENTER, FALSE, dialog_colors, cols 781 src/filemanager/hotlist.c hotlist_group = groupbox_new (y, UX, lines - 10 + dh, cols - 2 * UX, _ ("Top level group")); cols 786 src/filemanager/hotlist.c hotlist_widget->rect.cols - 2, FALSE, hotlist_listbox_callback); cols 805 src/filemanager/hotlist.c path_box = groupbox_new (y, UX, 3, hotlist_widget->rect.cols, _ ("Directory path")); cols 832 src/filemanager/hotlist.c int lines, cols; cols 840 src/filemanager/hotlist.c cols = init_i18n_stuff (LIST_MOVELIST, COLS - 6); cols 844 src/filemanager/hotlist.c movelist_dlg = dlg_create (TRUE, 0, 0, lines, cols, WPOS_CENTER, FALSE, dialog_colors, cols 851 src/filemanager/hotlist.c movelist_group = groupbox_new (y, UX, lines - 7, cols - 2 * UX, _ ("Directory label")); cols 856 src/filemanager/hotlist.c movelist_widget->rect.cols - 2, FALSE, hotlist_listbox_callback); cols 92 src/filemanager/info.c tty_draw_box (w->rect.y, w->rect.x, w->rect.lines, w->rect.cols, FALSE); cols 94 src/filemanager/info.c widget_gotoyx (w, 0, (w->rect.cols - len - 2) / 2); cols 99 src/filemanager/info.c widget_gotoyx (w, 2, w->rect.cols - 1); cols 101 src/filemanager/info.c tty_draw_hline (w->rect.y + 2, w->rect.x + 1, ACS_HLINE, w->rect.cols - 2); cols 207 src/filemanager/info.c str_trunc (myfs_stats.device, w->cols - i18n_adjust)); cols 214 src/filemanager/info.c str_trunc (myfs_stats.mpoint, w->cols - i18n_adjust)); cols 301 src/filemanager/info.c str_printf (buff, file_label, str_trunc (fname, w->cols - i18n_adjust)); cols 213 src/filemanager/layout.c int md_cols = CONST_WIDGET (filemanager)->rect.cols; cols 251 src/filemanager/layout.c tty_printf ("%03d", CONST_WIDGET (filemanager)->rect.cols - panels_layout.left_panel_size); cols 410 src/filemanager/layout.c panels_layout.left_panel_size = CONST_WIDGET (filemanager)->rect.cols / 2; cols 747 src/filemanager/layout.c int cols, x; cols 757 src/filemanager/layout.c widget->rect.cols = mw->rect.cols; cols 763 src/filemanager/layout.c cols = mw->rect.cols; cols 768 src/filemanager/layout.c cols = panels_layout.left_panel_size; cols 773 src/filemanager/layout.c cols = mw->rect.cols - panels_layout.left_panel_size; cols 777 src/filemanager/layout.c widget->rect.cols = cols; cols 860 src/filemanager/layout.c panels[0].widget->rect.cols); cols 862 src/filemanager/layout.c height - panels_layout.top_panel_size, panels[1].widget->rect.cols); cols 866 src/filemanager/layout.c widget_set_size (panels[0].widget, start_y, r->x, height, panels[0].widget->rect.cols); cols 868 src/filemanager/layout.c panels[1].widget->rect.cols); cols 871 src/filemanager/layout.c widget_set_size (WIDGET (the_hint), height + start_y, r->x, 1, r->cols); cols 996 src/filemanager/layout.c if (r->cols > 8 && prompt_width > r->cols - 8) cols 1000 src/filemanager/layout.c prompt_width = r->cols - 8; cols 1017 src/filemanager/layout.c widget_set_size (WIDGET (cmdline), y, r->x + prompt_width, 1, r->cols - prompt_width); cols 1061 src/filemanager/layout.c widget_gotoyx (w, menubar_visible ? 1 : 0, w->rect.cols - 1); cols 1144 src/filemanager/layout.c int md_cols = CONST_WIDGET (filemanager)->rect.cols; cols 1148 src/filemanager/layout.c r.cols = md_cols; cols 1153 src/filemanager/layout.c r.cols = md_cols - panels_layout.left_panel_size; cols 814 src/filemanager/panel.c width = w->rect.cols - 2; cols 824 src/filemanager/panel.c width = w->rect.cols - offset - 2; cols 884 src/filemanager/panel.c width = WIDGET (panel)->rect.cols - 2; cols 911 src/filemanager/panel.c str_fit_to_term (panel->quick_search.buffer->str, w->rect.cols - 3, J_LEFT)); cols 936 src/filemanager/panel.c tty_print_string (str_fit_to_term (link_target, w->rect.cols - 5, J_LEFT_FIT)); cols 939 src/filemanager/panel.c tty_print_string (str_fit_to_term (_ ("<readlink failed>"), w->rect.cols - 2, J_LEFT)); cols 947 src/filemanager/panel.c tty_print_string (str_fit_to_term (_ ("UP--DIR"), w->rect.cols - 2, J_LEFT)); cols 998 src/filemanager/panel.c int cols; cols 1004 src/filemanager/panel.c cols = w->rect.cols - 2; cols 1015 src/filemanager/panel.c buf = str_trunc (buf, cols - 4); cols 1019 src/filemanager/panel.c x = (w->rect.cols - str_term_width1 (buf)) / 2 - 1; cols 1043 src/filemanager/panel.c tty_draw_hline (w->rect.y + y, w->rect.x + 1, ACS_HLINE, w->rect.cols - 2); cols 1091 src/filemanager/panel.c widget_gotoyx (w, w->rect.lines - 1, w->rect.cols - 2 - (int) strlen (tmp)); cols 1183 src/filemanager/panel.c tty_draw_box (w->rect.y, w->rect.x, w->rect.lines, w->rect.cols, FALSE); cols 1193 src/filemanager/panel.c widget_gotoyx (w, y, w->rect.cols - 1); cols 1204 src/filemanager/panel.c widget_gotoyx (w, 0, w->rect.cols - 6); cols 1230 src/filemanager/panel.c tty_printf (" %s ", str_term_trim (tmp, MIN (MAX (w->rect.cols - 12, 0), w->rect.cols))); cols 1498 src/filemanager/panel.c tty_draw_hline (y, x, ' ', w->rect.cols - 2); cols 1772 src/filemanager/panel.c usable_columns = WIDGET (panel)->rect.cols - 2; cols 3946 src/filemanager/panel.c col_width = (CONST_WIDGET (panel)->rect.cols - 2) / panel->list_cols; cols 3979 src/filemanager/panel.c else if (event->x == w->rect.cols - 2) cols 3982 src/filemanager/panel.c else if (event->x >= w->rect.cols - 5 && event->x <= w->rect.cols - 3) cols 3985 src/filemanager/panel.c else if (event->x == w->rect.cols - 6) cols 277 src/filemanager/tree.c tree_cols = w->rect.cols; cols 1122 src/filemanager/tree.c tty_draw_box (w->rect.y, w->rect.x, w->rect.lines, w->rect.cols, FALSE); cols 1124 src/filemanager/tree.c widget_gotoyx (w, 0, (w->rect.cols - len - 2) / 2); cols 1134 src/filemanager/tree.c widget_gotoyx (w, y, w->rect.cols - 1); cols 1136 src/filemanager/tree.c tty_draw_hline (w->rect.y + y, w->rect.x + 1, ACS_HLINE, w->rect.cols - 2); cols 895 src/help.c r.cols = HELP_WINDOW_WIDTH + 4; cols 1162 src/help.c r.cols = HELP_WINDOW_WIDTH - 2; cols 658 src/viewer/ascii.c if (view->mode_flags.wrap && (off_t) col + charwidth > dpy_text_column + (off_t) r->cols cols 673 src/viewer/ascii.c && (off_t) col + charwidth <= dpy_text_column + (off_t) r->cols) cols 703 src/viewer/ascii.c i < (off_t) col + charwidth && i < dpy_text_column + (off_t) r->cols; i++) cols 709 src/viewer/ascii.c else if ((off_t) col < dpy_text_column + (off_t) r->cols cols 710 src/viewer/ascii.c && (off_t) col + charwidth > dpy_text_column + (off_t) r->cols) cols 716 src/viewer/ascii.c for (i = col; i < dpy_text_column + (off_t) r->cols; i++) cols 727 src/viewer/ascii.c if (!view->mode_flags.wrap && (off_t) col >= dpy_text_column + (off_t) r->cols cols 1037 src/viewer/ascii.c view->dpy_text_column = DOZ (linewidth, (off_t) view->data_area.cols); cols 137 src/viewer/display.c right = view->status_area.x + view->status_area.cols; cols 157 src/viewer/display.c tty_draw_hline (WIDGET (view)->rect.y + r->y, WIDGET (view)->rect.x + r->x, ' ', r->cols); cols 163 src/viewer/display.c if (r->cols > 40) cols 165 src/viewer/display.c widget_gotoyx (view, r->y, r->cols - 32); cols 184 src/viewer/display.c if (r->cols > 40) cols 185 src/viewer/display.c tty_print_string (str_fit_to_term (file_label, r->cols - 34, J_LEFT_FIT)); cols 187 src/viewer/display.c tty_print_string (str_fit_to_term (file_label, r->cols - 5, J_LEFT_FIT)); cols 188 src/viewer/display.c if (r->cols > 26) cols 268 src/viewer/display.c view_area.cols = DOZ (WIDGET (view)->rect.cols, 2 * view->dpy_frame_size); cols 313 src/viewer/display.c int cols = view->data_area.cols; cols 316 src/viewer/display.c if (cols < 9 + 17) cols 319 src/viewer/display.c bytes = 4 * ((cols - 9) / ((cols <= 80) ? 17 : 18)); cols 351 src/viewer/display.c tty_draw_box (w->rect.y, w->rect.x, w->rect.lines, w->rect.cols, FALSE); cols 372 src/viewer/display.c for (c = 0; c < r->cols; c++) cols 125 src/viewer/hex.c if (r->cols == 80) cols 127 src/viewer/hex.c else if (r->cols > 80) cols 166 src/viewer/hex.c for (i = 0; col < r->cols && hex_buff[i] != '\0'; col++, i++) cols 281 src/viewer/hex.c if (col < r->cols) cols 286 src/viewer/hex.c if (col < r->cols) cols 296 src/viewer/hex.c if (col < r->cols) cols 305 src/viewer/hex.c if (view->data_area.cols >= 80 && col < r->cols) cols 310 src/viewer/hex.c if (col < r->cols) cols 350 src/viewer/hex.c if (text_start + bytes < r->cols) cols 410 src/viewer/lib.c if (view->status_area.cols < 1 || (view->status_area.x + view->status_area.cols) < 4) cols 121 src/viewer/mcviewer.c if (x < r->cols * 1 / 4) cols 126 src/viewer/mcviewer.c else if (x < r->cols * 3 / 4) cols 106 src/viewer/search.c r.cols = MAX (r.cols, lw->rect.cols + 6); cols 109 src/viewer/search.c r.x = wd->rect.x + (wd->rect.cols - r.cols) / 2;