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