Home
last modified time | relevance | path

Searched refs:mouse_xpos (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/dev/syscons/
H A Dscmouse.c169 scp->mouse_xpos = scp->mouse_oldxpos = x; 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()
190 if (scp->mouse_xpos > scp->xpixel-1) in set_mouse_pos()
191 scp->mouse_xpos = scp->xpixel-1; 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()
202 if ((scp->mouse_xpos != scp->mouse_oldxpos || scp->mouse_ypos != scp->mouse_oldypos) in set_mouse_pos()
207 + scp->mouse_xpos/scp->font_width - scp->xoff; in set_mouse_pos()
224 (*scp->rndr->draw_mouse)(scp, scp->mouse_xpos, scp->mouse_ypos, TRUE); in sc_draw_mouse_image()
[all …]
H A Dsyscons.h313 short mouse_xpos; /* mouse x coordinate */ member