egui/crates
Emil Ernerfeldt 39e60e367f
Use `egui::ViewportBuilder` in `eframe::NativeOptions` (#3572)
* Part of https://github.com/emilk/egui/issues/3556

This PR replaces a bunch of options in `eframe::NativeOptions` with
`egui::ViewportBuilder`. For instance:

``` diff
 let options = eframe::NativeOptions {
-    initial_window_size: Some(egui::vec2(320.0, 240.0)),
-    drag_and_drop_support: true,
+    viewport: egui::ViewportBuilder::default()
+        .with_inner_size([320.0, 240.0])
+        .with_drag_and_drop(true),
     centered: true,
     ..Default::default()
 };
```
2023-11-19 11:08:47 +01:00
..
ecolor Add `#[inline]` to all color-related function 2023-10-07 18:11:16 +02:00
eframe Use `egui::ViewportBuilder` in `eframe::NativeOptions` (#3572) 2023-11-19 11:08:47 +01:00
egui Use `egui::ViewportBuilder` in `eframe::NativeOptions` (#3572) 2023-11-19 11:08:47 +01:00
egui-wgpu Multiple viewports/windows (#3172) 2023-11-16 11:25:05 +01:00
egui-winit Use `egui::ViewportBuilder` in `eframe::NativeOptions` (#3572) 2023-11-19 11:08:47 +01:00
egui_demo_app Use `egui::ViewportBuilder` in `eframe::NativeOptions` (#3572) 2023-11-19 11:08:47 +01:00
egui_demo_lib Replace `eframe::Frame` commands and `WindowInfo` with egui (#3564) 2023-11-18 19:27:53 +01:00
egui_extras Fix clippy issues from 1.74 (#3558) 2023-11-16 15:50:44 +01:00
egui_glow Replace `eframe::Frame` commands and `WindowInfo` with egui (#3564) 2023-11-18 19:27:53 +01:00
egui_plot Add `#[inline]` to all builder-pattern functions (#3557) 2023-11-16 13:50:05 +01:00
egui_web Fix typos (#2866) 2023-04-18 15:52:45 +02:00
emath Replace `eframe::Frame` commands and `WindowInfo` with egui (#3564) 2023-11-18 19:27:53 +01:00
epaint Fix clippy issues from 1.74 (#3558) 2023-11-16 15:50:44 +01:00