Implement a changelog-generator tool and example
This commit is contained in:
parent
8fb939b5a9
commit
547e509683
6 changed files with 759 additions and 1 deletions
10
examples/changelog/src/icon.rs
Normal file
10
examples/changelog/src/icon.rs
Normal file
|
|
@ -0,0 +1,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)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue