-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move iced widgets to separate crate (#154)
- Loading branch information
1 parent
c981921
commit 1153bca
Showing
24 changed files
with
206 additions
and
180 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
[package] | ||
name = "neothesia-iced-widgets" | ||
version = "0.1.0" | ||
edition = "2021" | ||
|
||
[dependencies] | ||
iced_style.workspace = true | ||
iced_graphics.workspace = true | ||
iced_core.workspace = true | ||
iced_wgpu.workspace = true | ||
iced_widget.workspace = true | ||
|
||
piano-math = { workspace = true } |
2 changes: 1 addition & 1 deletion
2
neothesia/src/scene/menu_scene/layout.rs → neothesia-iced-widgets/src/layout.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
pub mod layout; | ||
pub mod neo_btn; | ||
pub mod piano_range; | ||
pub mod preferences_group; | ||
pub mod scroll_listener; | ||
pub mod segment_button; | ||
pub mod track_card; | ||
pub mod wrap; | ||
|
||
pub use layout::{BarLayout, Layout}; | ||
pub use neo_btn::NeoBtn; | ||
pub use piano_range::PianoRange; | ||
pub use preferences_group::{ActionRow, PreferencesGroup}; | ||
pub use scroll_listener::ScrollListener; | ||
pub use segment_button::SegmentButton; | ||
pub use track_card::TrackCard; | ||
pub use wrap::Wrap; | ||
|
||
type Renderer = iced_wgpu::Renderer; | ||
pub type Element<'a, M> = iced_core::Element<'a, M, iced_style::Theme, iced_wgpu::Renderer>; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...c/scene/menu_scene/scroll_listener/mod.rs → ...a-iced-widgets/src/scroll_listener/mod.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
Oops, something went wrong.