diff options
| author | pml68 <contact@pml68.dev> | 2025-04-20 01:05:54 +0200 |
|---|---|---|
| committer | pml68 <contact@pml68.dev> | 2025-04-20 01:05:54 +0200 |
| commit | bbecf293208ba61bb3d57d57afd7373797007bfe (patch) | |
| tree | 80b56bf73af6dfc49b891f397dfa04ca69799d82 /src/icon.rs | |
| parent | fix: ordering in `build.rs` (diff) | |
| download | iced-builder-bbecf293208ba61bb3d57d57afd7373797007bfe.tar.gz | |
feat: use `pane_grid::Controls` for PaneGrid titlebar controls
Diffstat (limited to 'src/icon.rs')
| -rw-r--r-- | src/icon.rs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/icon.rs b/src/icon.rs index 9dc0a89..3fbeb83 100644 --- a/src/icon.rs +++ b/src/icon.rs @@ -1,6 +1,6 @@ // Generated automatically by iced_fontello at build time. // Do not edit manually. Source: ../fonts/icons.toml -// 02c7558d187cdc056fdd0e6a638ef805fa10f5955f834575e51d75acd35bc70e +// 915ea6b0646871c0f04350f201f27f28881b61f3bd6ef292a415d67a211739c1 use iced::widget::{text, Text}; use iced::Font; @@ -18,6 +18,10 @@ pub fn save<'a>() -> Text<'a> { icon("\u{1F4BE}") } +pub fn switch<'a>() -> Text<'a> { + icon("\u{21C6}") +} + fn icon(codepoint: &str) -> Text<'_> { text(codepoint).font(Font::with_name("icons")) } |
