From bbecf293208ba61bb3d57d57afd7373797007bfe Mon Sep 17 00:00:00 2001 From: pml68 Date: Sun, 20 Apr 2025 01:05:54 +0200 Subject: feat: use `pane_grid::Controls` for PaneGrid titlebar controls --- src/icon.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/icon.rs') 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")) } -- cgit v1.2.3