Add main layout view and status bar

Fix #4
This commit is contained in:
KoffeinFlummi
2019-03-05 19:16:35 +01:00
parent 34a03613e4
commit 7a24eca809
8 changed files with 295 additions and 43 deletions

View File

@@ -1,13 +1,16 @@
use crossbeam_channel::{unbounded, Receiver, Sender, TryIter};
use cursive::{CbFunc, Cursive};
use rspotify::spotify::model::track::FullTrack;
use spotify::PlayerStatus;
use queue::QueueChange;
use spotify::PlayerState;
use ui::playlist::PlaylistEvent;
pub enum Event {
Queue(QueueChange),
Player(PlayerState),
PlayerStatus(PlayerStatus),
PlayerTrack(Option<FullTrack>),
Playlist(PlaylistEvent),
}