mirror of
https://github.com/emilk/egui.git
synced 2026-06-26 22:53:14 -04:00
Rename PaintCmd to Shape
This commit is contained in:
@@ -173,8 +173,8 @@ loop {
|
||||
let raw_input: egui::RawInput = my_integration.gather_input();
|
||||
egui_ctx.begin_frame(raw_input);
|
||||
my_app.ui(&mut egui_ctx); // add panels, windows and widgets to `egui_ctx` here
|
||||
let (output, paint_commands) = egui_ctx.end_frame();
|
||||
let paint_jobs = egui_ctx.tessellate(paint_commands); // create triangles to paint
|
||||
let (output, shapes) = egui_ctx.end_frame();
|
||||
let paint_jobs = egui_ctx.tessellate(shapes); // create triangles to paint
|
||||
my_integration.paint(paint_jobs);
|
||||
my_integration.set_cursor_icon(output.cursor_icon);
|
||||
// Also see `egui::Output` for more
|
||||
|
||||
Reference in New Issue
Block a user