Improve text widget API

This commit is contained in:
Joscha 2024-03-09 13:28:13 +01:00
parent dd40058e71
commit 0f21c3701e
5 changed files with 108 additions and 53 deletions

View file

@ -1,2 +1,3 @@
pub const UNIFONT: &[u8] = include_bytes!("../data/unifont-15.1.05.otf");
pub const UNIFONT_NAME: &str = "Unifont";
pub const UNIFONT_SIZE: f32 = 16.0;