Create iced_widget subcrate and re-organize the whole codebase
This commit is contained in:
parent
c54409d171
commit
3a0d34c024
209 changed files with 1959 additions and 2183 deletions
|
|
@ -18,7 +18,7 @@
|
|||
#![deny(missing_docs, unused_results)]
|
||||
#![forbid(unsafe_code, rust_2018_idioms)]
|
||||
#![allow(clippy::inherent_to_string, clippy::type_complexity)]
|
||||
pub use iced_core::{Background, Color};
|
||||
pub use iced_core as core;
|
||||
|
||||
pub mod application;
|
||||
pub mod button;
|
||||
|
|
@ -33,7 +33,6 @@ pub mod rule;
|
|||
pub mod scrollable;
|
||||
pub mod slider;
|
||||
pub mod svg;
|
||||
pub mod text;
|
||||
pub mod text_input;
|
||||
pub mod theme;
|
||||
pub mod toggler;
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
//! Change the appearance of text.
|
||||
use iced_core::Color;
|
||||
use crate::core::Color;
|
||||
|
||||
/// The style sheet of some text.
|
||||
pub trait StyleSheet {
|
||||
|
|
|
|||
|
|
@ -8,6 +8,7 @@ use crate::application;
|
|||
use crate::button;
|
||||
use crate::checkbox;
|
||||
use crate::container;
|
||||
use crate::core::widget::text;
|
||||
use crate::menu;
|
||||
use crate::pane_grid;
|
||||
use crate::pick_list;
|
||||
|
|
@ -17,7 +18,6 @@ use crate::rule;
|
|||
use crate::scrollable;
|
||||
use crate::slider;
|
||||
use crate::svg;
|
||||
use crate::text;
|
||||
use crate::text_input;
|
||||
use crate::toggler;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue