1
0
mirror of https://github.com/emilk/egui.git synced 2026-06-28 07:23:13 -04:00

WIP: clip_rect

This commit is contained in:
Emil Ernerfeldt
2020-04-20 23:33:16 +02:00
parent ffc1768e40
commit 2f02446f6f
14 changed files with 307 additions and 198 deletions

View File

@@ -102,10 +102,11 @@ fn main() {
.show(region.ctx(), |region| {
region
.add_label("This window may shrink so small that its contents no longer fit.");
region.add_label("Maybe you can no longer read this, for instance");
region.add_label("And this line may be way too far down.");
});
let mesh = emigui.paint();
painter.paint(&display, mesh, emigui.texture());
painter.paint_batches(&display, emigui.paint(), emigui.texture());
let cursor = *emigui.ctx.cursor_icon.lock();
let cursor = match cursor {