Searched refs:char (Results 1 – 8 of 8) sorted by relevance
/StarryEngine/starry_toolkit/src/traits/ |
H A D | enter.rs | 5 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() argument
|
/StarryEngine/starry_toolkit/src/layout/ |
H A D | grid.rs | 57 enter_callback: RefCell<Option<Arc<dyn Fn(&Self, char, &Cell<bool>)>>>, 325 fn emit_enter(&self, char: char, redraw: &Cell<bool>) { in emit_enter() argument 327 enter_callback(self, char, redraw); in emit_enter() 331 fn set_enter_callback<T: Fn(&Self, char, &Cell<bool>) + 'static>(&self, func: T) { in set_enter_callback() argument
|
/StarryEngine/starry_applications/src/asset_manager/code/ |
H A D | mod.rs | 65 grid.set_enter_callback(move |grid, char, redraw| { in init_grid() 68 if char == '\n' { in init_grid() 96 let row_offset: i32 = match char { in init_grid() 108 let col_offset: i32 = match char { in init_grid()
|
/StarryEngine/starry_toolkit/src/widgets/ |
H A D | label.rs | 173 for char in text.chars() { in draw() 174 if char == '\n' { in draw() 188 renderer.char(local_rect.x, local_rect.y, char, self.text_color.get()); in draw()
|
/StarryEngine/starry_toolkit/src/base/ |
H A D | event.rs | 15 character: Option<char>, 19 character: Option<char>,
|
H A D | panel.rs | 326 character: Some(bufffer[i] as char), in polling_tty()
|
/StarryEngine/starry_client/src/base/ |
H A D | event.rs | 61 pub character: char, 81 character: char::from_u32(event.a as u32).unwrap_or('\0'), in from_event()
|
H A D | renderer.rs | 85 fn char(&mut self, x: i32, y: i32, c: char, color: Color) { in char() method
|