1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-29 12: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

7
Cargo.lock generated
View File

@@ -608,6 +608,12 @@ dependencies = [
"unicode-width",
]
[[package]]
name = "color-hex"
version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ecdffb913a326b6c642290a0d0ec8e8d6597291acdc07cc4c9cb4b3635d44cf9"
[[package]]
name = "color_quant"
version = "1.1.0"
@@ -1347,6 +1353,7 @@ dependencies = [
"atomic_refcell",
"bytemuck",
"cint",
"color-hex",
"criterion",
"emath",
"nohash-hasher",