2022-09-30 09:35:55 -06:00
|
|
|
#[macro_export]
|
|
|
|
|
macro_rules! button {
|
|
|
|
|
($($x:expr),+ $(,)?) => (
|
|
|
|
|
$crate::iced::widget::Button::new(
|
|
|
|
|
$crate::iced::widget::Row::with_children(
|
|
|
|
|
vec![$($crate::iced::Element::from($x)),+]
|
|
|
|
|
)
|
|
|
|
|
.spacing(8)
|
|
|
|
|
)
|
|
|
|
|
.padding([8, 16])
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
pub use button;
|
|
|
|
|
|
|
|
|
|
mod icon;
|
|
|
|
|
pub use self::icon::icon;
|
|
|
|
|
|
|
|
|
|
mod list_view;
|
2022-09-30 09:57:11 -06:00
|
|
|
pub use list_view::{list_view, list_view_style};
|
2022-09-30 09:35:55 -06:00
|
|
|
|
|
|
|
|
mod nav_bar;
|
2022-09-30 09:51:00 -06:00
|
|
|
pub use nav_bar::{nav_bar, nav_bar_style};
|