From 991baa8f327d7d247f8e22d9ffae3cd0b974ab14 Mon Sep 17 00:00:00 2001 From: Chris Cochrun Date: Tue, 17 Dec 2024 06:40:53 -0600 Subject: [PATCH] beginning to add library component --- src/ui/library.rs | 31 +++++++++++++++++++++++++++++++ src/ui/mod.rs | 1 + 2 files changed, 32 insertions(+) create mode 100644 src/ui/library.rs diff --git a/src/ui/library.rs b/src/ui/library.rs new file mode 100644 index 0000000..30fb974 --- /dev/null +++ b/src/ui/library.rs @@ -0,0 +1,31 @@ +use cosmic::{Element, Task}; + +use crate::core::{ + images::Image, model::Model, presentations::Presentation, + songs::Song, videos::Video, +}; + +struct Library { + song_library: Model, + image_library: Model, + video_library: Model