| 1 | use crate::geometry::Size; |
| 2 | |
| 3 | pub struct PlatformConfig { |
| 4 | pub window_size: Size, |
| 5 | pub scale_factor: f32, |
| 6 | pub default_padding: f32, |
| 7 | pub font_size_multiplier: f32, |
| 8 | } |
| 9 | |
| 10 | impl PlatformConfig { |
| 11 | pub fn for_platform(platform: &str) -> Self { |
nothing calls this directly
no outgoing calls
no test coverage detected