-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6dc2e9e
commit d39e27a
Showing
24 changed files
with
1,026 additions
and
894 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
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
Large diffs are not rendered by default.
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
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 |
---|---|---|
@@ -1,15 +1,17 @@ | ||
use iced_style::Theme; | ||
|
||
use super::Renderer; | ||
|
||
static ICONS: iced_core::Font = iced_core::Font::with_name("bootstrap-icons"); | ||
|
||
pub fn play_icon<'a>() -> iced_widget::Text<'a, Renderer> { | ||
pub fn play_icon<'a>() -> iced_widget::Text<'a, Theme, Renderer> { | ||
iced_widget::text('\u{f49d}').font(ICONS) | ||
} | ||
|
||
pub fn note_list_icon<'a>() -> iced_widget::Text<'a, Renderer> { | ||
pub fn note_list_icon<'a>() -> iced_widget::Text<'a, Theme, Renderer> { | ||
iced_widget::text('\u{f451}').font(ICONS) | ||
} | ||
|
||
pub fn left_arrow_icon<'a>() -> iced_widget::Text<'a, Renderer> { | ||
pub fn left_arrow_icon<'a>() -> iced_widget::Text<'a, Theme, Renderer> { | ||
iced_widget::text('\u{f12f}').font(ICONS) | ||
} |
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
Oops, something went wrong.