lumina/src/ui/mod.rs
Chris Cochrun b05f29d7b5
Some checks failed
/ clippy (push) Failing after 13m8s
/ test (push) Failing after 5m59s
getting closer
2026-04-03 11:23:13 -05:00

33 lines
701 B
Rust

use crate::core::model::LibraryKind;
// pub mod double_ended_slider;
pub mod image_editor;
pub mod library;
pub mod presentation_editor;
pub mod presenter;
// pub mod service;
pub mod slide_editor;
pub mod song_editor;
pub mod text_svg;
pub mod video;
pub mod video_editor;
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,
}
}
}