Searched refs:cursor_rect (Results 1 – 2 of 2) sorted by relevance
207 let cursor_rect = self.cursor_rect(); in handle_mouse_relative_event() localVariable212 cmp::min(max_x - cursor_rect.width(), self.cursor_x.get() + event.dx), in handle_mouse_relative_event()216 cmp::min(max_y - cursor_rect.height(), self.cursor_y.get() - event.dy), in handle_mouse_relative_event()255 let cursor_rect = self.cursor_rect(); in update_cursor() localVariable256 compositor().unwrap().request_redraw(cursor_rect); in update_cursor()262 let cursor_rect = self.cursor_rect(); in update_cursor() localVariable263 compositor().unwrap().request_redraw(cursor_rect); in update_cursor()269 pub fn cursor_rect(&self) -> Rect { in cursor_rect() method
56 let cursor_rect = window_manager.cursor_rect(); in redraw_all() localVariable94 let cursor_intersect = rect.intersection(&cursor_rect); in redraw_all()102 &cursor_intersect.offset(-cursor_rect.left(), -cursor_rect.top()), in redraw_all()