Searched refs:ITEM_WIDTH (Results 1 – 2 of 2) sorted by relevance
/StarryEngine/starry_applications/src/asset_manager/code/ |
H A D | asset_item_grid.rs | 39 pub const ITEM_WIDTH: u32 = 144; constant 45 rect: Cell::new(Rect::new(0, 0, Self::ITEM_WIDTH, Self::ITEM_HEIGHT)), in new() 60 Image::new_from_color(Self::ITEM_WIDTH, Self::ITEM_HEIGHT, Color::rgba(0, 0, 0, 0)); in new() 77 name.resize(Self::ITEM_WIDTH, 16); in new()
|
H A D | asset_item_list.rs | 33 pub const ITEM_WIDTH: u32 = 1024; constant 39 rect: Cell::new(Rect::new(0, 0, Self::ITEM_WIDTH, Self::ITEM_HEIGHT)), in new() 53 Self::ITEM_WIDTH, in new()
|