Add background_color to Settings
This commit is contained in:
parent
c7b170da6d
commit
f74ab463d4
6 changed files with 55 additions and 14 deletions
|
|
@ -21,14 +21,15 @@
|
|||
//! [`checkbox::Renderer`]: ../widget/checkbox/trait.Renderer.html
|
||||
|
||||
mod debugger;
|
||||
#[cfg(debug_assertions)]
|
||||
mod null;
|
||||
mod windowed;
|
||||
|
||||
pub use debugger::Debugger;
|
||||
pub use windowed::{Target, Windowed};
|
||||
|
||||
#[cfg(debug_assertions)]
|
||||
mod null;
|
||||
#[cfg(debug_assertions)]
|
||||
pub use null::Null;
|
||||
pub use windowed::{Target, Windowed};
|
||||
|
||||
use crate::{layout, Element};
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
use crate::MouseCursor;
|
||||
use crate::{Color, MouseCursor};
|
||||
|
||||
use raw_window_handle::HasRawWindowHandle;
|
||||
|
||||
|
|
@ -19,6 +19,7 @@ pub trait Windowed: super::Renderer + Sized {
|
|||
/// top of the GUI on most scenarios.
|
||||
fn draw<T: AsRef<str>>(
|
||||
&mut self,
|
||||
clear_color: Color,
|
||||
output: &Self::Output,
|
||||
overlay: &[T],
|
||||
target: &mut Self::Target,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue