mirror of
https://github.com/emilk/egui.git
synced 2026-08-30 21:30:03 -04:00
Rename epi::App::ui to epi::App::update
This commit is contained in:
@@ -60,7 +60,7 @@ pub use egui; // Re-export for user convenience
|
||||
pub trait App {
|
||||
/// Called each time the UI needs repainting, which may be many times per second.
|
||||
/// Put your widgets into a [`egui::SidePanel`], [`egui::TopPanel`], [`egui::CentralPanel`], [`egui::Window`] or [`egui::Area`].
|
||||
fn ui(&mut self, ctx: &egui::CtxRef, frame: &mut Frame<'_>);
|
||||
fn update(&mut self, ctx: &egui::CtxRef, frame: &mut Frame<'_>);
|
||||
|
||||
/// Called once before the first frame.
|
||||
/// Allows you to do setup code and to call `ctx.set_fonts()`.
|
||||
|
||||
Reference in New Issue
Block a user