Home
last modified time | relevance | path

Searched refs:char (Results 1 – 8 of 8) sorted by relevance

/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() argument
/StarryEngine/starry_toolkit/src/layout/
H A Dgrid.rs57 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 Dmod.rs65 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 Dlabel.rs173 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 Devent.rs15 character: Option<char>,
19 character: Option<char>,
H A Dpanel.rs326 character: Some(bufffer[i] as char), in polling_tty()
/StarryEngine/starry_client/src/base/
H A Devent.rs61 pub character: char,
81 character: char::from_u32(event.a as u32).unwrap_or('\0'), in from_event()
H A Drenderer.rs85 fn char(&mut self, x: i32, y: i32, c: char, color: Color) { in char() method