Home
last modified time | relevance | path

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

/freebsd/sys/dev/syscons/
H A Dscmouse.c171 if (scp->font_size <= 0 || scp->font_width <= 0) in sc_mouse_move()
175 (y/scp->font_size - scp->yoff)*scp->xsize + x/scp->font_width - in sc_mouse_move()
185 if (scp->mouse_xpos < scp->xoff*scp->font_width) in set_mouse_pos()
186 scp->mouse_xpos = scp->xoff*scp->font_width; in set_mouse_pos()
196 if (scp->mouse_xpos > (scp->xsize + scp->xoff)*scp->font_width - 1) in set_mouse_pos()
197 scp->mouse_xpos = (scp->xsize + scp->xoff)*scp->font_width - 1; in set_mouse_pos()
203 && (scp->font_size != 0 && scp->font_width != 0)) { in set_mouse_pos()
207 + scp->mouse_xpos/scp->font_width - scp->xoff; in set_mouse_pos()
255 cols = 1 + howmany(10 - 1, scp->font_width); /* up to VGA cursor width 9 */ in sc_remove_mouse_image()
938 cur_scp->font_width, in sc_mouse_ioctl()
H A Dsyscons.h294 int font_width; /* fontsize in X direction */ member
621 int font_width);
624 int ysize, int fontsize, int font_width);
H A Dscvidctl.c220 scp->font_width = fontwidth; in sc_set_text_mode()
399 scp->font_width = fontwidth; in sc_set_pixel_mode()
743 scp->font_size, scp->font_width); in sc_vid_ioctl()
H A Dsyscons.c534 scp->font_width = 8; in sc_set_vesa_mode()
3646 scp->font_width = info.vi_cwidth; in init_scp()