// Copyright (c) 2022 Marceline Crmaer // SPDX-License-Identifier: AGPL-3.0-or-later use api::*; use canary_script::*; use canary_music_player::{AlbumInfo, OutMsg, PlaybackStatus, ProgressChanged, TrackInfo}; use crate::widgets::prelude::*; use button::{RoundButton, RoundButtonStyle}; use dialog::{DialogBodyStyle, DialogFooterStyle}; use shell::Offset; use slider::Slider; use text::{HorizontalAlignment, Label, LabelText}; pub struct MusicPlayerPanel { panel: Panel, widget: Option, disconnected: Offset