Added per-window theme support.
This commit is contained in:
parent
ce4b2c93d9
commit
41836dd80d
4 changed files with 35 additions and 19 deletions
|
|
@ -112,7 +112,7 @@ where
|
|||
fn title(&self, window: window::Id) -> String;
|
||||
|
||||
/// Returns the current [`Theme`] of the [`Application`].
|
||||
fn theme(&self) -> <Self::Renderer as crate::Renderer>::Theme;
|
||||
fn theme(&self, window: window::Id) -> <Self::Renderer as crate::Renderer>::Theme;
|
||||
|
||||
/// Returns the [`Style`] variation of the [`Theme`].
|
||||
fn style(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue