1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-29 04:40:03 -04:00

Rename Egui to egui

Also update iamges in README.md
This commit is contained in:
Emil Ernerfeldt
2021-01-17 14:48:59 +01:00
parent 9dba63fa3f
commit 31b7eda51e
55 changed files with 173 additions and 172 deletions

View File

@@ -2,7 +2,7 @@
name = "eframe"
version = "0.7.0"
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
description = "Egui Framework - write GUI apps that compiles to web and/or natively"
description = "egui framework - write GUI apps that compiles to web and/or natively"
edition = "2018"
homepage = "https://github.com/emilk/egui"
license = "MIT OR Apache-2.0"

View File

@@ -1,6 +1,6 @@
# Egui Framework
# egui framework
This aims to be the entry-level crate if you want to write an Egui App.
This aims to be the entry-level crate if you want to write an egui app.
`eframe` calls into your code (it is a framework) and supports web apps (via [`egui_web`](https://crates.io/crates/egui_web)) and native apps (via [`egui_glium`](https://crates.io/crates/egui_glium)).

View File

@@ -16,14 +16,14 @@ impl Default for MyApp {
impl epi::App for MyApp {
fn name(&self) -> &str {
"My Egui App"
"My egui App"
}
fn update(&mut self, ctx: &egui::CtxRef, frame: &mut epi::Frame<'_>) {
let Self { name, age } = self;
egui::CentralPanel::default().show(ctx, |ui| {
ui.heading("My Egui Application");
ui.heading("My egui Application");
ui.horizontal(|ui| {
ui.label("Your name: ");
ui.text_edit_singleline(name);

View File

@@ -1,7 +1,7 @@
//! eframe - the Egui Framework crate
//! eframe - the egui framework crate
//!
//! If you are planning to write an app for web or native,
//! and are happy with just using Egui for all visuals,
//! and are happy with just using egui for all visuals,
//! Then `eframe` is for you!
//!
//! To get started, look at <https://github.com/emilk/egui_template>.