From aeaa611005b32d38554ba50935ffc32abef421e2 Mon Sep 17 00:00:00 2001 From: Emil Ernerfeldt Date: Tue, 19 May 2020 20:54:02 +0200 Subject: [PATCH] terminology: remove uses of the word "mesh". Prefer "triangles". --- emigui/README.md | 2 +- emigui/src/context.rs | 25 ++--- emigui/src/lib.rs | 2 +- emigui/src/mesher.rs | 194 +++++++++++++++++++----------------- emigui/src/texture_atlas.rs | 14 +-- emigui/src/types.rs | 5 +- emigui_glium/src/painter.rs | 12 +-- emigui_wasm/src/webgl.rs | 22 ++-- 8 files changed, 141 insertions(+), 135 deletions(-) diff --git a/emigui/README.md b/emigui/README.md index 0c05582c..560e74a8 100644 --- a/emigui/README.md +++ b/emigui/README.md @@ -98,7 +98,7 @@ Add extremely quick animations for some things, maybe 2-3 frames. For instance: * [x] Combine Emigui and Context? * [x] Solve which parts of Context are behind a mutex * [x] Rename Region to Ui -* [ ] Move Path and Mesh to own crate +* [ ] Move Path and Triangles to own crate * [ ] Maybe find a shorter name for the library like `egui`? ### Global widget search diff --git a/emigui/src/context.rs b/emigui/src/context.rs index d05af3b9..1fb8f780 100644 --- a/emigui/src/context.rs +++ b/emigui/src/context.rs @@ -19,7 +19,7 @@ struct PaintStats { pub struct Context { /// The default style for new `Ui`:s style: Mutex