Home
last modified time | relevance | path

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

/StarryEngine/starry_applications/src/asset_manager/code/
H A Dmod.rs66 let asset_manager: &mut AssetManager = unsafe { &mut *self_ptr }; in init_grid() localVariable
69 if let Some(item) = asset_manager.items.get(&grid.focused_id.get().unwrap()) { in init_grid()
77 if asset_manager.cur_path.len() == 1 { in init_grid()
81 &asset_manager.cur_path[..asset_manager.cur_path.len() - 1]; in init_grid()
83 let _ = asset_manager.cur_path.split_off(slash_pos + 1); in init_grid()
87 asset_manager.cur_path.push_str(&item.file_path.borrow()); in init_grid()
88 asset_manager.cur_path.push_str(&"/"); in init_grid()
90 asset_manager.refresh_grid(); in init_grid()
153 asset_manager.loading_panel.draw(); in init_grid()
/StarryEngine/starry_applications/src/
H A Dmain.rs3 use starry_apps::{asset_manager::code::AssetManager, set_tty};
8 let mut asset_manager = AssetManager::new(); in main() localVariable
9 asset_manager.init_grid(); in main()
10 asset_manager.refresh_grid(); in main()
13 asset_manager.exec(); in main()
H A Dlib.rs6 pub mod asset_manager; module