Move menu module from iced_native to iced_core

This commit is contained in:
Héctor Ramón Jiménez 2021-07-12 21:44:01 +02:00
parent 1428e9180a
commit 735cfb7908
No known key found for this signature in database
GPG key ID: 44B88EB52AB1EE8D
4 changed files with 6 additions and 6 deletions

View file

@ -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;

View file

@ -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;

View file

@ -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;