Home
last modified time | relevance | path

Searched refs:ch_width (Results 1 – 4 of 4) sorted by relevance

/netbsd-src/external/bsd/nvi/dist/motif_l/
H A Dm_motif.h40 scr->ch_width * (x)
50 ( (x) / scr->ch_width )
62 int ch_width, member
H A Dm_func.c136 width = __vi_screen->ch_width * __vi_screen->cols; in vi_deleteln()
184 width = __vi_screen->ch_width * __vi_screen->cols; in vi_insertln()
H A Dm_vi.c329 this_screen->cols = width / this_screen->ch_width;
775 new_screen->ch_width = font->max_bounds.width;
842 XmNwidth, new_screen->ch_width * new_screen->cols,
/netbsd-src/external/bsd/nvi/dist/gtk/
H A Dgtkviscreen.c533 vi->ch_width = gdk_text_width (widget->style->font, "A", 1); in gtk_vi_screen_size_request()
535 char_width = DEFAULT_VI_SCREEN_WIDTH_CHARS * vi->ch_width; in gtk_vi_screen_size_request()
617 cols = width / vi->ch_width; in recompute_geometry()
649 xmin = area->x / vi->ch_width; in expose_text()
650 xmax = MIN((area->x + area->width + vi->ch_width - 1) / vi->ch_width, in expose_text()
723 gdk_draw_rectangle(vi->text_area, bg, 1, xpos * vi->ch_width, in draw_lines()
724 y * vi->ch_height, blen * vi->ch_width, in draw_lines()
731 xpos * vi->ch_width, in draw_lines()
749 xpos * vi->ch_width, in draw_lines()