mirror of
https://github.com/emilk/egui.git
synced 2026-08-31 22:00:03 -04:00
Now App::update will be responsabile for what viewport will be drawned and its content
A big refactoring was needed
This commit is contained in:
@@ -546,6 +546,9 @@ pub enum WidgetType {
|
||||
Other,
|
||||
}
|
||||
|
||||
/// This is used to render a viewport
|
||||
pub type ViewportRender = dyn Fn(&Context, u64, u64) + Sync + Send;
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
/// For use in tests; especially doctests.
|
||||
|
||||
Reference in New Issue
Block a user