Searched refs:fg (Results 1 – 7 of 7) sorted by relevance
/DragonOS/tools/debugging/logmonitor/src/ |
H A D | ui.rs | 45 .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 D | framebuffer_console.rs | 67 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 D | mod.rs | 421 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 D | mod.rs | 90 let fg; in generic_imageblit() localVariable 96 fg = fb_info_data.pesudo_palette[image.fg as usize]; in generic_imageblit() 99 fg = image.fg; in generic_imageblit() 109 unsafe { self.fast_imageblit(image, &mut safe_pointer, fg, bg) } in generic_imageblit() 111 self.slow_imageblit(image, &mut safe_pointer, fg, bg) in generic_imageblit() 124 unsafe fn fast_imageblit(&self, image: &FbImage, dst1: &mut FrameP, fg: u32, bg: u32) { in fast_imageblit() 126 let mut fgx = fg; in fast_imageblit() 144 fgx |= fg; in fast_imageblit() 1230 pub fg: u32, field
|
/DragonOS/kernel/src/driver/video/fbdev/ |
H A D | vesafb.rs | 392 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 D | textui.rs | 1030 let fg = (fr_color & 0x0000ff00) >> 8; in rs_textui_putchar() localVariable
|
/DragonOS/kernel/src/syscall/ |
H A D | mod.rs | 1240 let fg = (front_color & 0x0000ff00) >> 8; in put_string() localVariable
|