Home
last modified time | relevance | path

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

/StarryEngine/starry_toolkit/src/layout/
H A Dgrid.rs57 enter_callback: RefCell<Option<Arc<dyn Fn(&Self, char, &Cell<bool>)>>>,
170 pub fn arrange_elements(&self, resize_children: bool) { in arrange_elements() argument
279 fn draw(&self, renderer: &mut dyn Renderer, _focused: bool) { in draw() argument
289 _focused: bool, in handle_event() argument
290 redraw: &Cell<bool>, in handle_event() argument
291 caught: &Cell<bool>, in handle_event() argument
292 ) -> bool { in handle_event() argument
325 fn emit_enter(&self, char: char, redraw: &Cell<bool>) { in emit_enter() argument
331 fn set_enter_callback<T: Fn(&Self, char, &Cell<bool>) + 'static>(&self, func: T) { in set_enter_callback()
H A Dlist.rs208 fn draw(&self, renderer: &mut dyn Renderer, _focused: bool) { in draw() argument
218 _focused: bool, in handle_event() argument
219 _redraw: &Cell<bool>, in handle_event() argument
220 _caught: &Cell<bool>, in handle_event() argument
221 ) -> bool { in handle_event() argument
/StarryEngine/starry_toolkit/src/widgets/
H A Dmod.rs86 fn draw(&self, renderer: &mut dyn Renderer, focused: bool); in draw() argument
95 _focused: bool, in handle_event() argument
96 _redraw: &Cell<bool>, in handle_event() argument
97 _caught: &Cell<bool>, in handle_event() argument
98 ) -> bool { in handle_event() argument
H A Dimage.rs122 fn draw(&self, renderer: &mut dyn Renderer, _focused: bool) { in draw() argument
H A Dlabel.rs162 fn draw(&self, renderer: &mut dyn Renderer, _focused: bool) { in draw() argument
/StarryEngine/starry_server/src/base/
H A Dwindow.rs32 pub barderless: bool,
34 pub resizable: bool,
36 pub transparent: bool,
38 pub unclosable: bool,
H A Drect.rs85 pub fn contains(&self, x: i32, y: i32) -> bool { in contains() argument
90 pub fn is_empty(&self) -> bool { in is_empty() argument
H A Dimage.rs221 fn sync(&mut self) -> bool { in sync() argument
382 fn sync(&mut self) -> bool { in sync() argument
/StarryEngine/starry_toolkit/src/base/
H A Devent.rs9 left_button: bool,
10 middle_button: bool,
11 right_button: bool,
H A Drect.rs67 pub fn contains(&self, p: Vector2) -> bool { in contains() argument
75 pub fn contains_rect(&self, r: &Rect) -> bool { in contains_rect() argument
82 pub fn intersects(&self, r: &Rect) -> bool { in intersects() argument
H A Dpanel.rs64 fn sync(&mut self) -> bool { in sync() argument
89 running: Cell<bool>,
95 redraw: Cell<bool>,
/StarryEngine/starry_client/src/base/
H A Devent.rs65 pub pressed: bool,
121 pub left: bool,
123 pub right: bool,
125 pub middle: bool,
H A Dcolor.rs73 fn eq(&self, other: &Self) -> bool { in eq() argument
H A Drenderer.rs34 fn sync(&mut self) -> bool; in sync() argument
/StarryEngine/starry_applications/src/asset_manager/code/
H A Dasset_item_grid.rs33 cache_focused: Cell<bool>,
35 pub is_dir: Cell<bool>,
42 pub fn new(file_name: &str, is_dir: bool) -> Arc<Self> { in new()
124 fn draw(&self, renderer: &mut dyn Renderer, focused: bool) { in draw() argument
H A Dasset_item_list.rs28 cache_focused: Cell<bool>,
36 pub fn new(file_name: &str, is_dir: bool) -> Arc<Self> { in new()
119 fn draw(&self, renderer: &mut dyn Renderer, focused: bool) { in draw() argument
H A Dmod.rs31 init_show: bool,
/StarryEngine/starry_toolkit/src/traits/
H A Denter.rs5 fn emit_enter(&self, char: char, redraw: &Cell<bool>); in emit_enter() argument
7 fn set_enter_callback<T: Fn(&Self, char, &Cell<bool>) + 'static>(&self, func: T); in set_enter_callback()
H A Dfocus.rs13 fn is_focused(&self, widget: &Arc<dyn Widget>) -> bool { in is_focused() argument
/StarryEngine/starry_client/src/
H A Dwindow.rs37 resizable: bool,
67 fn sync(&mut self) -> bool { in sync() argument