Home
last modified time | relevance | path

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

/StarryEngine/starry_applications/src/asset_manager/code/
H A Dmod.rs69 if let Some(item) = asset_manager.items.get(&grid.focused_id.get().unwrap()) { in init_grid()
123 let mut nxt_row = grid.focused_id.get().unwrap().0 as i32 + row_offset; in init_grid()
124 let mut nxt_col = grid.focused_id.get().unwrap().1 as i32 + col_offset; in init_grid()
219 grid.focused_id.set(Some((0, 0))); in refresh_grid()
/StarryEngine/starry_toolkit/src/layout/
H A Dgrid.rs51 pub focused_id: Cell<Option<(usize, usize)>>, field
78 focused_id: Cell::new(None), in new()
165 self.focused_id.set(Some((row, col))); in focus_by_id()
317 self.focused_id.set(Some((*row, *col))); in focus()
H A Dlist.rs43 focused_id: Cell<Option<usize>>, field
63 focused_id: Cell::new(None), in new()
235 self.focused_id.set(Some(index)); in focus()