Searched refs:FontColor (Results 1 – 4 of 4) sorted by relevance
/DragonOS/kernel/src/libs/lib_ui/ |
H A D | textui.rs | 238 pub struct FontColor(u32); struct 240 impl FontColor { implementation 241 pub const BLUE: FontColor = FontColor::new(0, 0, 0xff); 242 pub const RED: FontColor = FontColor::new(0xff, 0, 0); 243 pub const GREEN: FontColor = FontColor::new(0, 0xff, 0); 244 pub const WHITE: FontColor = FontColor::new(0xff, 0xff, 0xff); 245 pub const BLACK: FontColor = FontColor::new(0, 0, 0); 246 pub const YELLOW: FontColor = FontColor::new(0xff, 0xff, 0); 247 pub const ORANGE: FontColor = FontColor::new(0xff, 0x80, 0); 248 pub const INDIGO: FontColor = FontColor::new(0x00, 0xff, 0xff); [all …]
|
H A D | textui_no_alloc.rs | 13 FontColor, LineId, LineIndex, TextuiCharChromatic, TEXTUI_CHAR_HEIGHT, TEXTUI_CHAR_WIDTH, 43 frcolor: FontColor, in no_init_textui_putchar_window() argument 44 bkcolor: FontColor, in no_init_textui_putchar_window() argument
|
/DragonOS/kernel/src/libs/ |
H A D | printk.rs | 6 use super::lib_ui::textui::{textui_putstr, FontColor}; 48 let _ = textui_putstr(s, FontColor::WHITE, FontColor::BLACK); in __write_string() 51 let _ = textui_putstr(s, FontColor::WHITE, FontColor::BLACK); in __write_string()
|
/DragonOS/docs/kernel/libs/lib_ui/ |
H A D | textui.md | 25 fr_color: FontColor, 26 bk_color: FontColor,
|