Track window theme in window::State

This commit is contained in:
Héctor Ramón Jiménez 2025-09-08 06:01:36 +02:00
parent 354159bdf4
commit c1d7819c07
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
3 changed files with 41 additions and 18 deletions

View file

@ -1,3 +1,4 @@
use crate::theme;
use crate::time::Instant;
use crate::{Point, Size};
@ -71,4 +72,7 @@ pub enum Event {
///
/// - **Wayland:** Not implemented.
FilesHoveredLeft,
/// The theme mode of the window has changed.
ThemeModeChanged(theme::Mode),
}