Home
last modified time | relevance | path

Searched refs:fg (Results 1 – 7 of 7) sorted by relevance

/DragonOS/tools/debugging/logmonitor/src/
H A Dui.rs45 .map(|t| text::Line::from(Span::styled(*t, Style::default().fg(Color::Green)))) in render()
49 .highlight_style(Style::default().fg(Color::Yellow)) in render()
83 .style(Style::default().fg(Color::Green)) in draw_memory_logging_speed_gauges()
97 .fg(Color::Magenta) in draw_footer()
101 let info_style = Style::default().fg(Color::Blue); in draw_footer()
102 let warning_style = Style::default().fg(Color::Yellow); in draw_footer()
103 let error_style = Style::default().fg(Color::Magenta); in draw_footer()
104 let critical_style = Style::default().fg(Color::Red); in draw_footer()
115 _ => Style::default().fg(Color::White), in draw_footer()
/DragonOS/kernel/src/driver/video/fbdev/base/fbcon/
H A Dframebuffer_console.rs67 let fg; in get_color() localVariable
70 fg = col; in get_color()
73 fg = 0; in get_color()
76 color = if is_fg { fg } else { bg }; in get_color()
618 fg: u32, in put_string()
634 fg, in put_string()
660 fn cursor(&self, vc_data: &VirtualConsoleData, op: CursorOperation, fg: u32, bg: u32) { in cursor()
697 if fbcon_data.cursor_state.image.fg != fg in cursor()
701 fbcon_data.cursor_state.image.fg = fg; in cursor()
797 cursor.image.fg = fbcon_data.cursor_state.image.fg; in cursor()
H A Dmod.rs421 fg: u32, in put_string()
425 fn cursor(&self, vc_data: &VirtualConsoleData, op: CursorOperation, fg: u32, bg: u32); in cursor()
/DragonOS/kernel/src/driver/video/fbdev/base/
H A Dmod.rs91 let fg; in generic_imageblit() localVariable
97 fg = fb_info_data.pesudo_palette[image.fg as usize]; in generic_imageblit()
100 fg = image.fg; in generic_imageblit()
110 unsafe { self.fast_imageblit(image, dst1, fg, bg) } in generic_imageblit()
115 fg, in generic_imageblit()
132 unsafe fn fast_imageblit(&self, image: &FbImage, mut dst1: VirtAddr, fg: u32, bg: u32) { in fast_imageblit()
134 let mut fgx = fg; in fast_imageblit()
152 fgx |= fg; in fast_imageblit()
1259 pub fg: u32, field
/DragonOS/kernel/src/driver/video/fbdev/
H A Dvesafb.rs392 let fg = if self.current_fb_fix().visual == FbVisual::TrueColor in fb_fillrect() localVariable
409 unsafe { *base.add((y * line_offset + x) as usize) = fg }; in fb_fillrect()
/DragonOS/kernel/src/libs/lib_ui/
H A Dtextui.rs1036 let fg = (fr_color & 0x0000ff00) >> 8; in rs_textui_putchar() localVariable
/DragonOS/kernel/src/syscall/
H A Dmod.rs1225 let fg = (front_color & 0x0000ff00) >> 8; in put_string() localVariable