summaryrefslogtreecommitdiffstats
path: root/examples/changelog/src/icon.rs
blob: dd82e5b99d4baa4d20cc5babf5dbaf8d85f21393 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
use iced::widget::{text, Text};
use iced::Font;

pub const FONT_BYTES: &[u8] = include_bytes!("../fonts/changelog-icons.ttf");

const FONT: Font = Font::with_name("changelog-icons");

pub fn copy() -> Text<'static> {
    text('\u{e800}').font(FONT)
}