1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-30 13:20:05 -04:00

Move WindowSettings from egui_glium to egui-winit

This commit is contained in:
Emil Ernerfeldt
2021-09-30 19:18:51 +02:00
parent 7df2408482
commit e2bdd40985
7 changed files with 17 additions and 22 deletions

View File

@@ -76,6 +76,9 @@ pub use winit;
pub mod clipboard;
pub mod screen_reader;
mod window_settings;
pub use window_settings::WindowSettings;
pub fn native_pixels_per_point(window: &winit::window::Window) -> f32 {
window.scale_factor() as f32