Function egui::widgets::color_picker::srgba_edit_ui

source ·
fn srgba_edit_ui(ui: &mut Ui, [r, g, b, a]: &mut [u8; 4], alpha: Alpha) -> bool
Expand description

Shows 4 DragValue widgets to be used to edit the RGBA u8 values. Alpha’s DragValue is hidden when Alpha::Opaque.

Returns true on change.