mirror of
https://github.com/emilk/egui.git
synced 2026-08-30 05:10:03 -04:00
Update links to point to https://github.com/emilk/egui
because I renamed the github repository from "emigui" to "egui"
This commit is contained in:
@@ -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"]
|
||||
|
||||
@@ -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");
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user