Font scale

This commit is contained in:
Michael Mikovsky
2025-11-10 11:08:23 -07:00
parent da608d0dca
commit a38b37878e
14 changed files with 283 additions and 67 deletions
+2 -1
View File
@@ -2,6 +2,7 @@ use std::collections::HashMap;
use crate::{
parser::Tag,
render::Renderer,
views::{Bounds, View, box_view::BoxView},
};
@@ -47,7 +48,7 @@ impl View for VerticalLayout {
}
}
}
fn resize(&mut self, x: f32, y: f32, w: f32, h: f32) {}
fn resize(&mut self, renderer: &mut Renderer, x: f32, y: f32, w: f32, h: f32) {}
fn from_tag(attributes: &HashMap<String, String>, children: &Vec<Tag>) -> Box<dyn View>
where