1
0
mirror of https://github.com/emilk/egui.git synced 2026-09-01 22:30:03 -04:00

[glium] make it super easy to make an Egui app using glium

This commit is contained in:
Emil Ernerfeldt
2020-07-22 18:46:12 +02:00
parent e84412dec5
commit a14bfa0e73
4 changed files with 141 additions and 124 deletions

View File

@@ -92,7 +92,9 @@ use glium::glutin;
#[derive(Default, serde::Deserialize, serde::Serialize)]
pub struct WindowSettings {
/// outer position of window in physical pixels
pos: Option<egui::Pos2>,
/// inner size of window in physical pixels
size: Option<egui::Vec2>,
}