Make config use dropdown

This commit is contained in:
Michael Mikovsky
2025-12-02 08:22:03 -07:00
parent 7f2b145a7a
commit 7fb9aaf534
5 changed files with 205 additions and 80 deletions
+67 -13
View File
@@ -485,6 +485,15 @@ version = "0.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d8b14ccef22fc6f5a8f4d7d768562a182c04ce9a3b3157b91390b52ddfdf1a76"
[[package]]
name = "ecolor"
version = "0.31.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bc4feb366740ded31a004a0e4452fbf84e80ef432ecf8314c485210229672fd1"
dependencies = [
"emath 0.31.1",
]
[[package]]
name = "ecolor"
version = "0.33.2"
@@ -492,7 +501,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "084980ebede2fb1ad6c4f54285b3e489052ef2b6aa4016e4c19349417adc75c5"
dependencies = [
"bytemuck",
"emath",
"emath 0.33.2",
"serde",
]
@@ -505,7 +514,7 @@ dependencies = [
"ahash",
"bytemuck",
"document-features",
"egui",
"egui 0.33.2",
"egui-wgpu",
"egui-winit",
"egui_glow",
@@ -534,6 +543,20 @@ dependencies = [
"winit",
]
[[package]]
name = "egui"
version = "0.31.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "25dd34cec49ab55d85ebf70139cb1ccd29c977ef6b6ba4fe85489d6877ee9ef3"
dependencies = [
"ahash",
"bitflags 2.10.0",
"emath 0.31.1",
"epaint 0.31.1",
"nohash-hasher",
"profiling",
]
[[package]]
name = "egui"
version = "0.33.2"
@@ -543,8 +566,8 @@ dependencies = [
"accesskit",
"ahash",
"bitflags 2.10.0",
"emath",
"epaint",
"emath 0.33.2",
"epaint 0.33.2",
"log",
"nohash-hasher",
"profiling",
@@ -554,6 +577,15 @@ dependencies = [
"unicode-segmentation",
]
[[package]]
name = "egui-dropdown"
version = "0.13.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "82d277c6c1f49e4e227344e920132d2d22a51810296b5c78f90e6aef4eed63ea"
dependencies = [
"egui 0.31.1",
]
[[package]]
name = "egui-wgpu"
version = "0.33.2"
@@ -563,8 +595,8 @@ dependencies = [
"ahash",
"bytemuck",
"document-features",
"egui",
"epaint",
"egui 0.33.2",
"epaint 0.33.2",
"log",
"profiling",
"thiserror 2.0.17",
@@ -582,7 +614,7 @@ checksum = "4772ed5f16fa8ec2ba295e58f62b58ee83fcf49e67ec13d2b7ddf4e9a2dea34e"
dependencies = [
"arboard",
"bytemuck",
"egui",
"egui 0.33.2",
"log",
"objc2 0.5.2",
"objc2-foundation 0.2.2",
@@ -603,7 +635,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "550e844e608e356f4ad6843c510aa9bb5838b427e4700ed0056e9746ceeed866"
dependencies = [
"ahash",
"egui",
"egui 0.33.2",
"enum-map",
"log",
"mime_guess2",
@@ -617,7 +649,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "17b94ff67a1d18933fff2519f5f57c388f932c093036c381fb9ae2853b3e1e09"
dependencies = [
"bytemuck",
"egui",
"egui 0.33.2",
"glow",
"log",
"memoffset",
@@ -634,7 +666,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ebfac3ca35f5e4fe217d3b03312111b234fe55ce059faf62b4cb47f7cf6d54f1"
dependencies = [
"ahash",
"egui",
"egui 0.33.2",
"itertools",
"log",
"serde",
@@ -646,6 +678,12 @@ version = "1.15.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719"
[[package]]
name = "emath"
version = "0.31.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9e4cadcff7a5353ba72b7fea76bf2122b5ebdbc68e8155aa56dfdea90083fe1b"
[[package]]
name = "emath"
version = "0.33.2"
@@ -687,6 +725,21 @@ dependencies = [
"syn",
]
[[package]]
name = "epaint"
version = "0.31.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "41fcc0f5a7c613afd2dee5e4b30c3e6acafb8ad6f0edb06068811f708a67c562"
dependencies = [
"ab_glyph",
"ahash",
"ecolor 0.31.1",
"emath 0.31.1",
"nohash-hasher",
"parking_lot",
"profiling",
]
[[package]]
name = "epaint"
version = "0.33.2"
@@ -696,8 +749,8 @@ dependencies = [
"ab_glyph",
"ahash",
"bytemuck",
"ecolor",
"emath",
"ecolor 0.33.2",
"emath 0.33.2",
"epaint_default_fonts",
"log",
"nohash-hasher",
@@ -2401,7 +2454,8 @@ version = "0.1.0"
dependencies = [
"chrono",
"eframe",
"egui",
"egui 0.33.2",
"egui-dropdown",
"egui_extras",
"egui_tiles",
"log",