Home
last modified time | relevance | path

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

/DragonOS/kernel/src/libs/lib_ui/
H A Dtextui.rs238 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 Dtextui_no_alloc.rs13 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 Dprintk.rs6 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 Dtextui.md25 fr_color: FontColor,
26 bk_color: FontColor,