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

Add ability to convert from a hex string to Color32 using macros (#1596)

This commit is contained in:
Luke Newcomb
2022-05-15 11:07:30 -04:00
committed by GitHub
parent 3c685d7bf6
commit d2decfa338
6 changed files with 57 additions and 11 deletions

View File

@@ -47,13 +47,14 @@ mint = ["emath/mint"]
# implement serde on most types.
serde = ["dep:serde", "ahash/serde", "emath/serde"]
[dependencies]
emath = { version = "0.18.0", path = "../emath" }
ab_glyph = "0.2.11"
nohash-hasher = "0.2"
color-hex = "0.2.0"
# Optional:
ahash = { version = "0.7", default-features = false, features = ["std"] }
bytemuck = { version = "1.7.2", optional = true, features = ["derive"] }