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
|
|
@ -1,4 +1,4 @@
|
|||
pub mod window;
|
||||
pub mod compositor;
|
||||
|
||||
#[cfg(feature = "geometry")]
|
||||
pub mod geometry;
|
||||
|
|
@ -6,18 +6,14 @@ pub mod geometry;
|
|||
mod backend;
|
||||
mod settings;
|
||||
|
||||
pub use iced_graphics::primitive;
|
||||
pub use iced_graphics as graphics;
|
||||
pub use iced_graphics::core;
|
||||
|
||||
pub use backend::Backend;
|
||||
pub use primitive::Primitive;
|
||||
pub use compositor::Compositor;
|
||||
pub use settings::Settings;
|
||||
|
||||
pub use iced_graphics::{
|
||||
Antialiasing, Color, Error, Font, Point, Rectangle, Size, Vector, Viewport,
|
||||
};
|
||||
|
||||
/// The default graphics renderer for [`iced`].
|
||||
///
|
||||
/// [`iced`]: https://github.com/iced-rs/iced
|
||||
pub type Renderer<Theme = iced_native::Theme> =
|
||||
iced_graphics::Renderer<Backend, Theme>;
|
||||
pub type Renderer<Theme> = iced_graphics::Renderer<Backend, Theme>;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue