Function egui::widgets::color_picker::color_edit_button_srgba
source · pub fn color_edit_button_srgba(
ui: &mut Ui,
srgba: &mut Color32,
alpha: Alpha
) -> Response
Expand description
Shows a button with the given color. If the user clicks the button, a full color picker is shown.