Lines Matching refs:cursor
7 Hardware cursor support.
33 // public function to set shape of cursor
38 uint8 *fb_cursor = vc->cursor.data;
41 /* NOTE: Currently, for BeOS, cursor width and height must be equal to 16. */
50 vc->cursor.hot_x = hot_x;
51 vc->cursor.hot_y = hot_y;
69 // public function to move cursor
84 // clamp cursor (negative positions are impossible due to uint16)
126 // public function to show cursor
136 vc->cursor.is_visible = is_visible;
139 // show the cursor if it's on the other port
149 // move cursor on one port
163 x -= vc->cursor.hot_x;
164 y -= vc->cursor.hot_y;
166 // check whether the cursor is (partially) visible on this screen
170 // in theory, cursor can be up to 64 pixels off screen,
185 // if upper-left corner of cursor is outside of
204 vc->cursor.fb_offset + xorigin + yorigin * 16 );
213 vc->cursor.fb_offset + xorigin + yorigin * 16 );
218 // show cursor on one port, depending on official whishes and whether
219 // cursor is located on this subscreen
229 if( vc->cursor.is_visible && crtc->cursor_on_screen ) {
240 if( vc->cursor.is_visible && crtc->cursor_on_screen )