1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-31 22:00:03 -04:00

Rename Srgba to Color32

This commit is contained in:
Emil Ernerfeldt
2021-01-02 17:02:18 +01:00
parent 4fc12bf324
commit 73f3d8cf46
31 changed files with 198 additions and 193 deletions

View File

@@ -2,7 +2,7 @@ use std::time::Instant;
use crate::{storage::WindowSettings, *};
pub use egui::Srgba;
pub use egui::Color32;
const EGUI_MEMORY_KEY: &str = "egui";
const WINDOW_KEY: &str = "window";
@@ -16,7 +16,7 @@ impl epi::TextureAllocator for Painter {
&mut self,
id: egui::TextureId,
size: (usize, usize),
srgba_pixels: &[Srgba],
srgba_pixels: &[Color32],
) {
self.set_user_texture(id, size, srgba_pixels);
}