Home
last modified time | relevance | path

Searched refs:text (Results 1 – 5 of 5) sorted by relevance

/StarryEngine/starry_toolkit/src/widgets/
H A Dlabel.rs12 traits::text::Text,
76 let text = self.real_text.borrow(); in handle_overflow() localVariable
83 self.resize_base(text.len() as u32 * 8 as u32, 16); in handle_overflow()
89 if text.len() as u32 * 8 > rect.width { in handle_overflow()
166 let text = self.show_text.borrow().clone(); in draw() localVariable
173 for char in text.chars() { in draw()
239 fn set_text<S: Into<String>>(&self, text: S) -> &Self { in set_text()
240 let text = text.into(); in set_text() localVariable
241 (*self.real_text.borrow_mut()) = text.clone(); in set_text()
242 (*self.show_text.borrow_mut()) = text; in set_text()
/StarryEngine/starry_toolkit/src/traits/
H A Dmod.rs3 pub mod text; module
H A Dtext.rs4 fn set_text<S: Into<String>>(&self, text: S) -> &Self; in set_text()
/StarryEngine/starry_applications/src/asset_manager/code/
H A Dasset_item_list.rs11 traits::text::Text,
H A Dasset_item_grid.rs11 traits::text::Text,