/StarryEngine/starry_toolkit/src/base/ |
H A D | panel.rs | 79 pub struct Panel { struct 81 self_ref: RefCell<Weak<Panel>>, argument 102 impl Panel { argument 103 pub fn new(rect: Rect, title: &str, color: Color) -> Arc<Panel> { in new() argument 104 Panel::from_window( in new() 110 pub fn from_window(window: Window, rect: Rect) -> Arc<Panel> { in from_window() argument 111 let panel = Arc::new(Panel { in from_window() 332 impl Focus for Panel { implementation
|
/StarryEngine/starry_applications/src/asset_manager/code/ |
H A D | mod.rs | 9 base::{panel::Panel, rect::Rect}, 26 panel: Arc<Panel>, 30 loading_panel: Arc<Panel>, 41 panel: Panel::new( in new() 46 loading_panel: Panel::new( in new()
|
H A D | asset_item_list.rs | 10 base::{panel::Panel, rect::Rect, vector2::Vector2}, 26 panel: RefCell<Option<Arc<Panel>>>, 115 fn panel(&self) -> &RefCell<Option<Arc<Panel>>> { in panel() argument
|
H A D | asset_item_grid.rs | 10 base::{panel::Panel, rect::Rect, vector2::Vector2}, 31 panel: RefCell<Option<Arc<Panel>>>, 120 fn panel(&self) -> &RefCell<Option<Arc<Panel>>> { in panel() argument
|
/StarryEngine/starry_toolkit/src/widgets/ |
H A D | image.rs | 10 base::{panel::Panel, rect::Rect, vector2::Vector2}, 25 panel: RefCell<Option<Arc<Panel>>>, 118 fn panel(&self) -> &RefCell<Option<Arc<Panel>>> { in panel() argument
|
H A D | label.rs | 11 base::{panel::Panel, rect::Rect, vector2::Vector2}, 37 panel: RefCell<Option<Arc<Panel>>>, 158 fn panel(&self) -> &RefCell<Option<Arc<crate::base::panel::Panel>>> { in panel() argument
|
H A D | mod.rs | 11 base::{event::Event, panel::Panel, rect::Rect, vector2::Vector2}, 61 fn panel(&self) -> &RefCell<Option<Arc<Panel>>>; in panel() argument
|
/StarryEngine/starry_toolkit/src/ |
H A D | main.rs | 4 panel::{Panel, PanelRendererMode}, 13 let panel = Panel::new( in main()
|
/StarryEngine/starry_toolkit/src/layout/ |
H A D | list.rs | 11 base::{panel::Panel, rect::Rect, vector2::Vector2}, 38 panel: RefCell<Option<Arc<Panel>>>, 204 fn panel(&self) -> &RefCell<Option<Arc<Panel>>> { in panel() argument
|
H A D | grid.rs | 11 base::{event::Event, panel::Panel, rect::Rect, vector2::Vector2}, 33 panel: RefCell<Option<Arc<Panel>>>, 275 fn panel(&self) -> &RefCell<Option<Arc<Panel>>> { in panel() argument
|
/StarryEngine/starry_toolkit/src/util/ |
H A D | mod.rs | 4 base::{panel::Panel, rect::Rect, vector2::Vector2}, 83 pub fn widget_set_panel(widget: &Arc<dyn Widget>, panel: &Arc<Panel>) { in widget_set_panel() argument
|