themes cleanup, ui improvements

This commit is contained in:
Aleksander
2025-11-12 17:49:05 +01:00
parent 6136a5aa43
commit 6e11c2cf87
15 changed files with 105 additions and 89 deletions

View File

@@ -12,7 +12,7 @@ use crate::{
backend::input::{HoverResult, PointerHit},
gui::panel::GuiPanel,
state::AppState,
subsystem::hid::{KeyModifier, VirtualKey, WheelDelta, ALT, CTRL, META, SHIFT, SUPER},
subsystem::hid::{ALT, CTRL, KeyModifier, META, SHIFT, SUPER, VirtualKey, WheelDelta},
windowing::backend::{FrameMeta, OverlayBackend, RenderResources, ShouldRender},
};
@@ -91,6 +91,7 @@ struct KeyState {
color: drawing::Color,
color2: drawing::Color,
border_color: drawing::Color,
border: f32,
drawn_state: Cell<bool>,
}