Track window theme in window::State
This commit is contained in:
parent
354159bdf4
commit
c1d7819c07
3 changed files with 41 additions and 18 deletions
|
|
@ -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),
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue