Searched refs:bg (Results 1 – 5 of 5) sorted by relevance
/DragonOS/kernel/src/driver/video/fbdev/base/fbcon/ |
H A D | framebuffer_console.rs | 68 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 D | mod.rs | 422 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 D | mod.rs | 91 let bg; in generic_imageblit() localVariable 97 bg = fb_info_data.pesudo_palette[image.bg as usize]; in generic_imageblit() 100 bg = image.bg; 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() 127 let mut bgx = bg; in fast_imageblit() 145 bgx |= bg; in fast_imageblit() 1231 pub bg: u32, field
|
/DragonOS/kernel/src/libs/lib_ui/ |
H A D | textui.rs | 1033 let bg = (bk_color & 0x0000ff00) >> 8; in rs_textui_putchar() localVariable
|
/DragonOS/kernel/src/syscall/ |
H A D | mod.rs | 1243 let bg = (back_color & 0x0000ff00) >> 8; in put_string() localVariable
|