Skip to content

Commit

Permalink
State Rewrite (phase 0) (#41)
Browse files Browse the repository at this point in the history
* BrowseScreen: Reorganize refresh methods
* [wip] start implementing `update`
* Separate Actions from CrosstermEvents
* Add <left> <down> <up> <right> to default_config
  • Loading branch information
LeoRiether authored Feb 10, 2024
1 parent f6c5dc3 commit 50a540d
Show file tree
Hide file tree
Showing 27 changed files with 461 additions and 2,257 deletions.
28 changes: 28 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tori-player/src/output.rs
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,6 @@ impl<T: AudioOutputSample> AudioOutput for CpalAudioOutputImpl<T> {
}
}

pub fn try_open(spec: SignalSpec, duration: Duration) -> Result<Box<dyn AudioOutput>> {
pub fn _try_open(spec: SignalSpec, duration: Duration) -> Result<Box<dyn AudioOutput>> {
CpalAudioOutput::try_open(spec, duration)
}
1 change: 1 addition & 0 deletions tori/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ mpv035 = { version = "2.0.2-fork.1", package = "libmpv-sirno", optional = true }
# Player: tori-player
tori-player = { path = "../tori-player", version = "0.1.0", optional = true }
tokio = { version = "1.36.0", features = ["macros", "rt-multi-thread", "fs", "sync", "time"] }
tokio-scoped = "0.2.0"

[build-dependencies]
winres = "0.1"
Expand Down
242 changes: 0 additions & 242 deletions tori/src/app/app_screen/mod.rs

This file was deleted.

Loading

0 comments on commit 50a540d

Please sign in to comment.