Searched refs:cursor_y (Results 1 – 1 of 1) sorted by relevance
66 pub cursor_y: Cell<i32>, field84 cursor_y: Cell::new(SCREEN_HEIGHT as i32 / 2), in new()156 y: self.cursor_y.get(), in window_new()216 cmp::min(max_y - cursor_rect.height(), self.cursor_y.get() - event.dy), in handle_mouse_relative_event()254 if kind != self.cursor_i.get() || x != self.cursor_x.get() || y != self.cursor_y.get() { in update_cursor()260 self.cursor_y.set(y); in update_cursor()275 self.cursor_y.get(), in cursor_rect()281 return Rect::new(self.cursor_x.get(), self.cursor_y.get(), 0, 0); in cursor_rect()