Home
last modified time | relevance | path

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

/StarryEngine/starry_server/src/core/
H A Dwindow_manager.rs66 pub cursor_y: Cell<i32>, field
84 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()