mirror of
https://github.com/emilk/egui.git
synced 2026-08-31 05:40:03 -04:00
Allow resizing fonts at runtime
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
use crate::{
|
||||
fonts::TextStyle,
|
||||
math::{Rect, Vec2},
|
||||
mesher::Frame,
|
||||
};
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
@@ -152,6 +153,7 @@ pub enum PaintCmd {
|
||||
outline: Option<Outline>,
|
||||
radius: f32,
|
||||
},
|
||||
Frame(Frame),
|
||||
Line {
|
||||
points: Vec<Vec2>,
|
||||
color: Color,
|
||||
|
||||
Reference in New Issue
Block a user