Home
last modified time | relevance | path

Searched refs:bg (Results 1 – 5 of 5) sorted by relevance

/DragonOS/kernel/src/driver/video/fbdev/base/fbcon/
H A Dframebuffer_console.rs68 let bg; in get_color() localVariable
71 bg = 0; in get_color()
74 bg = col; in get_color()
76 color = if is_fg { fg } else { bg }; in get_color()
619 bg: u32, in put_string()
635 bg, in put_string()
660 fn cursor(&self, vc_data: &VirtualConsoleData, op: CursorOperation, fg: u32, bg: u32) { in cursor()
698 || fbcon_data.cursor_state.image.bg != bg in cursor()
702 fbcon_data.cursor_state.image.bg = bg; in cursor()
798 cursor.image.bg = fbcon_data.cursor_state.image.bg; in cursor()
H A Dmod.rs422 bg: 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.rs92 let bg; in generic_imageblit() localVariable
98 bg = fb_info_data.pesudo_palette[image.bg as usize]; in generic_imageblit()
101 bg = image.bg; in generic_imageblit()
110 unsafe { self.fast_imageblit(image, dst1, fg, bg) } in generic_imageblit()
116 bg, in generic_imageblit()
132 unsafe fn fast_imageblit(&self, image: &FbImage, mut dst1: VirtAddr, fg: u32, bg: u32) { in fast_imageblit()
135 let mut bgx = bg; in fast_imageblit()
153 bgx |= bg; in fast_imageblit()
1260 pub bg: u32, field
/DragonOS/kernel/src/libs/lib_ui/
H A Dtextui.rs1039 let bg = (bk_color & 0x0000ff00) >> 8; in rs_textui_putchar() localVariable
/DragonOS/kernel/src/syscall/
H A Dmod.rs1228 let bg = (back_color & 0x0000ff00) >> 8; in put_string() localVariable