Browse Source

Update links to point to https://github.com/emilk/egui

because I renamed the github repository from "emigui" to "egui"
pull/18/head
Emil Ernerfeldt 4 years ago
parent
commit
ad9783a33d
  1. 6
      README.md
  2. 28
      docs/demo_web.js
  3. BIN
      docs/demo_web_bg.wasm
  4. 4
      egui/Cargo.toml
  5. 6
      egui/src/demos/app.rs
  6. 2
      egui/src/widgets.rs
  7. 4
      egui_glium/Cargo.toml
  8. 5
      egui_glium/README.md
  9. 4
      egui_web/Cargo.toml
  10. 7
      egui_web/README.md

6
README.md

@ -23,14 +23,14 @@ Loop:
## Available backends:
Wherever you can render textured triangles you can use Egui.
* WebAssembly (`egui_web`) for making a web app. [Click to run](https://emilk.github.io/emigui/index.html).
* WebAssembly (`egui_web`) for making a web app. [Click to run](https://emilk.github.io/egui/index.html).
* [Glium](https://github.com/glium/glium) for native apps (see example_glium).
* [miniquad](https://github.com/not-fl3/emigui-miniquad) [web demo](https://not-fl3.github.io/miniquad-samples/emigui.html) [demo source](https://github.com/not-fl3/good-web-game/blob/master/examples/emigui.rs)
The same application code can thus be compiled to either into a native app or a web app.
## Demos
[Egui feature demo](https://emilk.github.io/emigui/index.html), (partial) source: https://github.com/emilk/emigui/blob/master/egui/src/demos/app.rs
[Egui feature demo](https://emilk.github.io/egui/index.html), (partial) source: https://github.com/emilk/egui/blob/master/egui/src/demos/app.rs
[Hobogo: A small game using Egui](https://emilk.github.io/hobogo/index.html), source: https://github.com/emilk/hobogo
@ -60,7 +60,7 @@ The one and only [Dear ImGui](https://github.com/ocornut/imgui) is a great Immed
## Name
The name of the gui library is "Egui", written like that in text and as `egui` in code and pronounced as "e-gooey".
The library used to be called `Emigui`, which is why it is still hosted at [github.com/emilk/emigui](https://github.com/emilk/emigui). If you like, `emigui` is the collection of helper crates that surrounds `egui`, while `egui` is the actual GUI library.
The library was originally called "Emigui", but was renamed to Egui in 2020.
## Credits / Licenses
Fonts:

28
docs/demo_web.js

@ -212,8 +212,8 @@ function makeMutClosure(arg0, arg1, dtor, f) {
return real;
}
function __wbg_adapter_24(arg0, arg1, arg2) {
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h8ac16b787f5fa676(arg0, arg1, addHeapObject(arg2));
function __wbg_adapter_24(arg0, arg1) {
wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h74e3475b1fcd9cd1(arg0, arg1);
}
function __wbg_adapter_27(arg0, arg1) {
@ -224,8 +224,8 @@ function __wbg_adapter_30(arg0, arg1, arg2) {
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h8ac16b787f5fa676(arg0, arg1, addHeapObject(arg2));
}
function __wbg_adapter_33(arg0, arg1) {
wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h74e3475b1fcd9cd1(arg0, arg1);
function __wbg_adapter_33(arg0, arg1, arg2) {
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h8ac16b787f5fa676(arg0, arg1, addHeapObject(arg2));
}
function __wbg_adapter_36(arg0, arg1, arg2) {
@ -728,10 +728,6 @@ async function init(input) {
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper363 = function(arg0, arg1, arg2) {
var ret = makeMutClosure(arg0, arg1, 76, __wbg_adapter_30);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper367 = function(arg0, arg1, arg2) {
var ret = makeMutClosure(arg0, arg1, 76, __wbg_adapter_33);
return addHeapObject(ret);
};
@ -739,16 +735,20 @@ async function init(input) {
var ret = makeMutClosure(arg0, arg1, 76, __wbg_adapter_27);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper365 = function(arg0, arg1, arg2) {
var ret = makeMutClosure(arg0, arg1, 76, __wbg_adapter_24);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper369 = function(arg0, arg1, arg2) {
var ret = makeMutClosure(arg0, arg1, 76, __wbg_adapter_36);
var ret = makeMutClosure(arg0, arg1, 76, __wbg_adapter_39);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper371 = function(arg0, arg1, arg2) {
var ret = makeMutClosure(arg0, arg1, 76, __wbg_adapter_39);
var ret = makeMutClosure(arg0, arg1, 76, __wbg_adapter_30);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper367 = function(arg0, arg1, arg2) {
var ret = makeMutClosure(arg0, arg1, 76, __wbg_adapter_24);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper365 = function(arg0, arg1, arg2) {
var ret = makeMutClosure(arg0, arg1, 76, __wbg_adapter_36);
return addHeapObject(ret);
};

BIN
docs/demo_web_bg.wasm

Binary file not shown.

4
egui/Cargo.toml

@ -4,10 +4,10 @@ version = "0.1.3"
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
description = "Simple, portable immediate mode GUI library for Rust"
edition = "2018"
homepage = "https://github.com/emilk/emigui/"
homepage = "https://github.com/emilk/egui"
license = "MIT OR Apache-2.0"
readme = "../README.md"
repository = "https://github.com/emilk/emigui"
repository = "https://github.com/emilk/egui"
categories = ["gui", "graphics"]
keywords = ["gui", "imgui", "immediate", "portable", "gamedev"]
include = [ "**/*.rs", "Cargo.toml", "fonts/ProggyClean.ttf", "fonts/Comfortaa-Regular.ttf"]

6
egui/src/demos/app.rs

@ -82,7 +82,7 @@ impl DemoApp {
ui.label("This is also work in progress, and not ready for production... yet :)");
ui.horizontal(|ui| {
ui.label("Project home page:");
ui.hyperlink("https://github.com/emilk/emigui/");
ui.hyperlink("https://github.com/emilk/egui");
});
} else {
ui.add(label!("Egui").text_style(TextStyle::Heading));
@ -202,7 +202,7 @@ fn show_menu_bar(ui: &mut Ui, windows: &mut OpenWindows) {
});
menu::menu(ui, "About", |ui| {
ui.add(label!("This is Egui"));
ui.add(Hyperlink::new("https://github.com/emilk/emigui/").text("Egui home page"));
ui.add(Hyperlink::new("https://github.com/emilk/egui").text("Egui home page"));
});
if let Some(time) = ui.input().seconds_since_midnight {
@ -262,7 +262,7 @@ impl DemoWindow {
ui.horizontal(|ui| {
ui.label("Project home page:");
ui.hyperlink("https://github.com/emilk/emigui/");
ui.hyperlink("https://github.com/emilk/egui");
});
});

2
egui/src/widgets.rs

@ -147,7 +147,7 @@ impl Into<Label> for String {
// ----------------------------------------------------------------------------
/// A clickable hyperlink, e.g. to `"https://github.com/emilk/emigui/"`.
/// A clickable hyperlink, e.g. to `"https://github.com/emilk/egui"`.
pub struct Hyperlink {
url: String,
text: String,

4
egui_glium/Cargo.toml

@ -4,10 +4,10 @@ version = "0.1.3"
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
description = "Bindings for using Egui natively using the glium library"
edition = "2018"
homepage = "https://github.com/emilk/emigui/"
homepage = "https://github.com/emilk/egui"
license = "MIT OR Apache-2.0"
readme = "README.md"
repository = "https://github.com/emilk/emigui"
repository = "https://github.com/emilk/egui"
categories = ["gui", "graphics"]
keywords = ["glium", "egui", "gui", "gamedev"]
include = [ "**/*.rs", "Cargo.toml"]

5
egui_glium/README.md

@ -1,3 +1,8 @@
[![Latest version](https://img.shields.io/crates/v/egui_glium.svg)](https://crates.io/crates/egui_glium)
[![Documentation](https://docs.rs/egui_glium/badge.svg)](https://docs.rs/egui_glium)
![MIT](https://img.shields.io/badge/license-MIT-blue.svg)
![Apache](https://img.shields.io/badge/license-Apache-blue.svg)
# egui_glium
This crates provides bindings between [Egui](https://crates.io/crates/egui) and [glium](https://crates.io/crates/glium) which allows you to write GUI code using Egui and compile it and run it natively, cross platform.

4
egui_web/Cargo.toml

@ -5,9 +5,9 @@ authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
description = "Bindings for compiling Egui code to WASM for a web page"
license = "MIT OR Apache-2.0"
edition = "2018"
homepage = "https://github.com/emilk/emigui/"
homepage = "https://github.com/emilk/egui"
readme = "README.md"
repository = "https://github.com/emilk/emigui"
repository = "https://github.com/emilk/egui"
categories = ["gui", "graphics"]
keywords = ["wasm", "web", "egui", "gui", "gamedev"]
include = [ "**/*.rs", "Cargo.toml"]

7
egui_web/README.md

@ -1,5 +1,10 @@
[![Latest version](https://img.shields.io/crates/v/egui_web.svg)](https://crates.io/crates/egui_web)
[![Documentation](https://docs.rs/egui_web/badge.svg)](https://docs.rs/egui_web)
![MIT](https://img.shields.io/badge/license-MIT-blue.svg)
![Apache](https://img.shields.io/badge/license-Apache-blue.svg)
# egui_web
This crates allows you to compile GUI code written with [Egui](https://crates.io/crates/egui) to [WASM](https://en.wikipedia.org/wiki/WebAssembly) to run on a web page.
Check out [docs/index.html](https://github.com/emilk/emigui/blob/master/docs/index.html), [demo_web](https://github.com/emilk/emigui/tree/master/demo_web) and [build_web.sh](https://github.com/emilk/emigui/blob/master/build_web.sh) for examples of how to set it up.
Check out [docs/index.html](https://github.com/emilk/egui/blob/master/docs/index.html), [demo_web](https://github.com/emilk/egui/tree/master/demo_web) and [build_web.sh](https://github.com/emilk/egui/blob/master/build_web.sh) for examples of how to set it up.

Loading…
Cancel
Save