Home
last modified time | relevance | path

Searched refs:FontColor (Results 1 – 4 of 4) sorted by relevance

/DragonOS-0.1.9/kernel/src/libs/lib_ui/
Dtextui.rs239 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 …]
Dtextui_no_alloc.rs13 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/
Dtextui.md25 fr_color: FontColor,
26 bk_color: FontColor,
/DragonOS-0.1.9/kernel/src/libs/
Dprintk.rs8 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()