From 2222a88470702d4a2d31555875a4ce50e602254f Mon Sep 17 00:00:00 2001 From: Chris Cochrun Date: Fri, 19 Sep 2025 09:16:11 -0500 Subject: [PATCH] making song_editor actually function --- src/ui/song_editor.rs | 145 +++++++++++++++++++++++------------------- src/ui/text_svg.rs | 4 +- 2 files changed, 81 insertions(+), 68 deletions(-) diff --git a/src/ui/song_editor.rs b/src/ui/song_editor.rs index 596884f..2aa76c9 100644 --- a/src/ui/song_editor.rs +++ b/src/ui/song_editor.rs @@ -8,11 +8,12 @@ use cosmic::{ Font, Length, }, iced_wgpu::graphics::text::cosmic_text::fontdb, - iced_widget::row, + iced_widget::{column, row}, theme, widget::{ - button, column, combo_box, container, horizontal_space, icon, - scrollable, text, text_editor, text_input, + button, combo_box, container, horizontal_space, icon, + progress_bar, scrollable, text, text_editor, text_input, + vertical_space, }, Element, Task, }; @@ -21,7 +22,7 @@ use iced_video_player::Video; use tracing::{debug, error, warn}; use crate::{ - core::{service_items::ServiceTrait, songs::Song}, + core::{service_items::ServiceTrait, slide::Slide, songs::Song}, ui::{ presenter::slide_view, slide_editor::SlideEditor, text_svg, }, @@ -47,6 +48,7 @@ pub struct SongEditor { video: Option