lumina-iced/src/ui/mod.rs
Chris Cochrun a06890d9e1
Some checks are pending
/ test (push) Waiting to run
updating and fixing some small performance issues
2025-08-13 13:51:39 -05:00

28 lines
583 B
Rust

use crate::core::model::LibraryKind;
pub mod double_ended_slider;
pub mod library;
pub mod presenter;
pub mod song_editor;
pub mod text_svg;
pub mod video;
pub mod widgets;
pub enum EditorMode {
Song,
Image,
Video,
Presentation,
Slide,
}
impl From<LibraryKind> for EditorMode {
fn from(value: LibraryKind) -> Self {
match value {
LibraryKind::Song => Self::Song,
LibraryKind::Video => Self::Video,
LibraryKind::Image => Self::Image,
LibraryKind::Presentation => Self::Presentation,
}
}
}