Searched refs:palette (Results 1 – 3 of 3) sorted by relevance
67 pub palette: [Color; 16], field162 palette: [Default::default(); 16], in new()292 for (idx, color) in self.palette.iter_mut().enumerate() { in reset_palette()1509 self.palette[i].red = self.par[j] as u16; in do_control()1511 self.palette[i].green = self.par[j] as u16; in do_control()1513 self.palette[i].blue = self.par[j] as u16; in do_control()1516 self.palette[i].red = self.par[j] as u16; in do_control()1518 self.palette[i].green = self.par[j] as u16; in do_control()1520 self.palette[i].blue = self.par[j] as u16; in do_control()
378 let mut palette = Vec::new(); in con_set_palette() localVariable379 palette.resize(16, Color::default()); in con_set_palette()381 let vc_palette = &vc_data.palette; in con_set_palette()384 let col = palette.get_mut(idx as usize).unwrap(); in con_set_palette()393 self.fb().set_color_map(palette)?; in con_set_palette()
113 multiboot2::FramebufferType::Indexed { palette: _ } => todo!(), in early_init_framebuffer_info()