Move menu module from iced_native to iced_core
This commit is contained in:
parent
1428e9180a
commit
735cfb7908
4 changed files with 6 additions and 6 deletions
|
|
@ -15,6 +15,7 @@
|
|||
#![forbid(unsafe_code)]
|
||||
#![forbid(rust_2018_idioms)]
|
||||
pub mod keyboard;
|
||||
pub mod menu;
|
||||
pub mod mouse;
|
||||
|
||||
mod align;
|
||||
|
|
@ -33,6 +34,7 @@ pub use background::Background;
|
|||
pub use color::Color;
|
||||
pub use font::Font;
|
||||
pub use length::Length;
|
||||
pub use menu::Menu;
|
||||
pub use padding::Padding;
|
||||
pub use point::Point;
|
||||
pub use rectangle::Rectangle;
|
||||
|
|
|
|||
|
|
@ -37,7 +37,6 @@ pub mod clipboard;
|
|||
pub mod event;
|
||||
pub mod keyboard;
|
||||
pub mod layout;
|
||||
pub mod menu;
|
||||
pub mod mouse;
|
||||
pub mod overlay;
|
||||
pub mod program;
|
||||
|
|
@ -62,8 +61,8 @@ mod debug;
|
|||
mod debug;
|
||||
|
||||
pub use iced_core::{
|
||||
Align, Background, Color, Font, HorizontalAlignment, Length, Padding,
|
||||
Point, Rectangle, Size, Vector, VerticalAlignment,
|
||||
menu, Align, Background, Color, Font, HorizontalAlignment, Length, Menu,
|
||||
Padding, Point, Rectangle, Size, Vector, VerticalAlignment,
|
||||
};
|
||||
pub use iced_futures::{executor, futures, Command};
|
||||
|
||||
|
|
@ -76,7 +75,6 @@ pub use element::Element;
|
|||
pub use event::Event;
|
||||
pub use hasher::Hasher;
|
||||
pub use layout::Layout;
|
||||
pub use menu::Menu;
|
||||
pub use overlay::Overlay;
|
||||
pub use program::Program;
|
||||
pub use renderer::Renderer;
|
||||
|
|
|
|||
|
|
@ -74,8 +74,8 @@ pub use dodrio;
|
|||
pub use element::Element;
|
||||
pub use hasher::Hasher;
|
||||
pub use iced_core::{
|
||||
keyboard, mouse, Align, Background, Color, Font, HorizontalAlignment,
|
||||
Length, Padding, Point, Rectangle, Size, Vector, VerticalAlignment,
|
||||
keyboard, menu, mouse, Align, Background, Color, Font, HorizontalAlignment,
|
||||
Length, Menu, Padding, Point, Rectangle, Size, Vector, VerticalAlignment,
|
||||
};
|
||||
pub use iced_futures::{executor, futures, Command};
|
||||
pub use subscription::Subscription;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue