From 245375678233a32528da35518b41a6e0d87d9dbf Mon Sep 17 00:00:00 2001 From: Emil Ernerfeldt Date: Sat, 20 Aug 2022 15:18:02 +0200 Subject: [PATCH] Fix broken GitHub source links due to #1940 --- README.md | 28 +++++++++---------- crates/eframe/Cargo.toml | 8 +++--- crates/eframe/README.md | 6 ++-- crates/eframe/src/epi.rs | 2 +- crates/egui-wgpu/Cargo.toml | 4 +-- crates/egui-wgpu/src/renderer.rs | 2 +- crates/egui-winit/Cargo.toml | 4 +-- crates/egui/examples/README.md | 2 +- crates/egui/src/lib.rs | 2 +- crates/egui_demo_app/README.md | 4 +-- crates/egui_demo_app/src/backend_panel.rs | 5 +++- crates/egui_demo_lib/Cargo.toml | 4 +-- .../src/easy_mark/easy_mark_editor.rs | 2 +- crates/egui_glium/CHANGELOG.md | 2 +- crates/egui_glium/Cargo.toml | 4 +-- crates/egui_glium/README.md | 2 +- crates/egui_glow/Cargo.toml | 4 +-- crates/egui_glow/README.md | 4 +-- crates/egui_glow/src/painter.rs | 2 +- crates/egui_web/README.md | 2 +- crates/emath/Cargo.toml | 4 +-- crates/epaint/Cargo.toml | 4 +-- examples/README.md | 2 +- 23 files changed, 53 insertions(+), 50 deletions(-) diff --git a/README.md b/README.md index f80405e8..8d33997f 100644 --- a/README.md +++ b/README.md @@ -60,11 +60,11 @@ If you have questions, use [GitHub Discussions](https://github.com/emilk/egui/di ## Demo -[Click to run egui web demo](https://www.egui.rs/#demo) (works in any browser with WASM and WebGL support). Uses [`eframe`](https://github.com/emilk/egui/tree/master/eframe). +[Click to run egui web demo](https://www.egui.rs/#demo) (works in any browser with WASM and WebGL support). Uses [`eframe`](https://github.com/emilk/egui/tree/master/crates/eframe). To test the demo app locally, run `cargo run --release -p egui_demo_app`. -The native backend is [`egui_glow`](https://github.com/emilk/egui/tree/master/egui_glow) (using [`glow`](https://crates.io/crates/glow)) and should work out-of-the-box on Mac and Windows, but on Linux you need to first run: +The native backend is [`egui_glow`](https://github.com/emilk/egui/tree/master/crates/egui_glow) (using [`glow`](https://crates.io/crates/glow)) and should work out-of-the-box on Mac and Windows, but on Linux you need to first run: `sudo apt-get install -y libclang-dev libgtk-3-dev libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev libspeechd-dev libxkbcommon-dev libssl-dev` @@ -84,7 +84,7 @@ On Fedora Rawhide you need to run: * A simple 2D graphics API for custom painting ([`epaint`](https://docs.rs/epaint)). * No callbacks * Pure immediate mode -* Extensible: [easy to write your own widgets for egui](https://github.com/emilk/egui/blob/master/egui_demo_lib/src/demo/toggle_switch.rs) +* Extensible: [easy to write your own widgets for egui](https://github.com/emilk/egui/blob/master/crates/egui_demo_lib/src/demo/toggle_switch.rs) * Modular: You should be able to use small parts of egui and combine them in new ways * Safe: there is no `unsafe` code in egui * Minimal dependencies: [`ab_glyph`](https://crates.io/crates/ab_glyph) [`ahash`](https://crates.io/crates/ahash) [`nohash-hasher`](https://crates.io/crates/nohash-hasher) [`parking_lot`](https://crates.io/crates/parking_lot) @@ -114,7 +114,7 @@ The obvious alternative to egui is [`imgui-rs`](https://github.com/Gekkio/imgui- * egui is pure Rust * egui is easily compiled to WASM * egui lets you use native Rust string types (`imgui-rs` forces you to use annoying macros and wrappers for zero-terminated strings) -* [Writing your own widgets in egui is simple](https://github.com/emilk/egui/blob/master/egui_demo_lib/src/demo/toggle_switch.rs) +* [Writing your own widgets in egui is simple](https://github.com/emilk/egui/blob/master/crates/egui_demo_lib/src/demo/toggle_switch.rs) egui also tries to improve your experience in other small ways: @@ -158,17 +158,17 @@ An integration needs to do the following each frame: * **Input**: Gather input (mouse, touches, keyboard, screen size, etc) and give it to egui * Run the application code * **Output**: Handle egui output (cursor changes, paste, texture allocations, …) -* **Painting**: Render the triangle mesh egui produces (see [OpenGL example](https://github.com/emilk/egui/blob/master/egui_glium/src/painter.rs)) +* **Painting**: Render the triangle mesh egui produces (see [OpenGL example](https://github.com/emilk/egui/blob/master/crates/egui_glium/src/painter.rs)) ### Official integrations These are the official egui integrations: -* [`eframe`](https://github.com/emilk/egui/tree/master/eframe) for compiling the same app to web/wasm and desktop/native. Uses `egui_glow` and `egui-winit`. -* [`egui_glium`](https://github.com/emilk/egui/tree/master/egui_glium) for compiling native apps with [Glium](https://github.com/glium/glium). -* [`egui_glow`](https://github.com/emilk/egui/tree/master/egui_glow) for rendering egui with [glow](https://github.com/grovesNL/glow) on native and web, and for making native apps. -* [`egui-wgpu`](https://github.com/emilk/egui/tree/master/egui-wgpu) for [wgpu](https://crates.io/crates/wgpu) (WebGPU API). -* [`egui-winit`](https://github.com/emilk/egui/tree/master/egui-winit) for integrating with [winit](https://github.com/rust-windowing/winit). +* [`eframe`](https://github.com/emilk/egui/tree/master/crates/eframe) for compiling the same app to web/wasm and desktop/native. Uses `egui_glow` and `egui-winit`. +* [`egui_glium`](https://github.com/emilk/egui/tree/master/crates/egui_glium) for compiling native apps with [Glium](https://github.com/glium/glium). +* [`egui_glow`](https://github.com/emilk/egui/tree/master/crates/egui_glow) for rendering egui with [glow](https://github.com/grovesNL/glow) on native and web, and for making native apps. +* [`egui-wgpu`](https://github.com/emilk/egui/tree/master/crates/egui-wgpu) for [wgpu](https://crates.io/crates/wgpu) (WebGPU API). +* [`egui-winit`](https://github.com/emilk/egui/tree/master/crates/egui-winit) for integrating with [winit](https://github.com/rust-windowing/winit). ### 3rd party integrations @@ -219,7 +219,7 @@ loop { } ``` -For a reference OpenGL backend, see [the `egui_glium` painter](https://github.com/emilk/egui/blob/master/egui_glium/src/painter.rs) or [the `egui_glow` painter](https://github.com/emilk/egui/blob/master/egui_glow/src/painter.rs). +For a reference OpenGL backend, see [the `egui_glium` painter](https://github.com/emilk/egui/blob/master/crates/egui_glium/src/painter.rs) or [the `egui_glow` painter](https://github.com/emilk/egui/blob/master/crates/egui_glow/src/painter.rs). ### Debugging your integration @@ -323,7 +323,7 @@ There is experimental support for a screen reader. In [the web demo](https://www Read more at . -### What is the difference between [egui](https://docs.rs/egui) and [eframe](https://github.com/emilk/egui/tree/master/eframe)? +### What is the difference between [egui](https://docs.rs/egui) and [eframe](https://github.com/emilk/egui/tree/master/crates/eframe)? `egui` is a 2D user interface library for laying out and interacting with buttons, sliders, etc. `egui` has no idea if it is running on the web or natively, and does not know how to collect input or show things on screen. @@ -343,14 +343,14 @@ Examples: * * -`Shape::Callback` will call your code when egui gets painted, to show anything using whatever the background rendering context is. When using [`eframe`](https://github.com/emilk/egui/tree/master/eframe) this will be [`glow`](https://github.com/grovesNL/glow). Other integrations will give you other rendering contexts, if they support `Shape::Callback` at all. +`Shape::Callback` will call your code when egui gets painted, to show anything using whatever the background rendering context is. When using [`eframe`](https://github.com/emilk/egui/tree/master/crates/eframe) this will be [`glow`](https://github.com/grovesNL/glow). Other integrations will give you other rendering contexts, if they support `Shape::Callback` at all. #### Render-to-texture You can also render your 3D scene to a texture and display it using [`ui.image(…)`](https://docs.rs/egui/latest/egui/struct.Ui.html#method.image). You first need to convert the native texture to an [`egui::TextureId`](https://docs.rs/egui/latest/egui/enum.TextureId.html), and how to do this depends on the integration you use. Examples: * Using [`egui-miniquad`]( https://github.com/not-fl3/egui-miniquad): https://github.com/not-fl3/egui-miniquad/blob/master/examples/render_to_egui_image.rs -* Using [`egui_glium`](https://github.com/emilk/egui/tree/master/egui_glium): . +* Using [`egui_glium`](https://github.com/emilk/egui/tree/master/crates/egui_glium): . ## Other diff --git a/crates/eframe/Cargo.toml b/crates/eframe/Cargo.toml index 89e9f71b..fc47e844 100644 --- a/crates/eframe/Cargo.toml +++ b/crates/eframe/Cargo.toml @@ -5,10 +5,10 @@ authors = ["Emil Ernerfeldt "] description = "egui framework - write GUI apps that compiles to web and/or natively" edition = "2021" rust-version = "1.61" -homepage = "https://github.com/emilk/egui/tree/master/eframe" +homepage = "https://github.com/emilk/egui/tree/master/crates/eframe" license = "MIT OR Apache-2.0" readme = "README.md" -repository = "https://github.com/emilk/egui/tree/master/eframe" +repository = "https://github.com/emilk/egui/tree/master/crates/eframe" categories = ["gui", "game-development"] keywords = ["egui", "gui", "gamedev"] include = ["../LICENSE-APACHE", "../LICENSE-MIT", "**/*.rs", "Cargo.toml"] @@ -31,7 +31,7 @@ dark-light = ["dep:dark-light"] ## If you plan on specifying your own fonts you may disable this feature. default_fonts = ["egui/default_fonts"] -## Use [`glow`](https://github.com/grovesNL/glow) for painting, via [`egui_glow`](https://github.com/emilk/egui/tree/master/egui_glow). +## Use [`glow`](https://github.com/grovesNL/glow) for painting, via [`egui_glow`](https://github.com/emilk/egui/tree/master/crates/egui_glow). glow = ["dep:glow", "egui_glow"] ## Enable saving app state to disk. @@ -55,7 +55,7 @@ screen_reader = [ "tts", ] -## Use [`wgpu`](https://docs.rs/wgpu) for painting (via [`egui_wgpu`](https://github.com/emilk/egui/tree/master/egui_wgpu)). +## Use [`wgpu`](https://docs.rs/wgpu) for painting (via [`egui_wgpu`](https://github.com/emilk/egui/tree/master/crates/egui_wgpu)). ## This overrides the `glow` feature. wgpu = ["dep:wgpu", "egui-wgpu"] diff --git a/crates/eframe/README.md b/crates/eframe/README.md index 1d5e95af..609b3571 100644 --- a/crates/eframe/README.md +++ b/crates/eframe/README.md @@ -17,7 +17,7 @@ For how to use `egui`, see [the egui docs](https://docs.rs/egui). --- -`eframe` uses [`egui_glow`](https://github.com/emilk/egui/tree/master/egui_glow) for rendering, and on native it uses [`egui-winit`](https://github.com/emilk/egui/tree/master/egui-winit). +`eframe` uses [`egui_glow`](https://github.com/emilk/egui/tree/master/crates/egui_glow) for rendering, and on native it uses [`egui-winit`](https://github.com/emilk/egui/tree/master/crates/egui-winit). To use on Linux, first run: @@ -27,13 +27,13 @@ sudo apt-get install libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev lib You need to either use `edition = "2021"`, or set `resolver = "2"` in the `[workspace]` section of your to-level `Cargo.toml`. See [this link](https://doc.rust-lang.org/edition-guide/rust-2021/default-cargo-resolver.html) for more info. -You can opt-in to the using [`egui_wgpu`](https://github.com/emilk/egui/tree/master/egui_wgpu) for rendering by enabling the `wgpu` feature and setting `NativeOptions::renderer` to `Renderer::Wgpu`. +You can opt-in to the using [`egui_wgpu`](https://github.com/emilk/egui/tree/master/crates/egui_wgpu) for rendering by enabling the `wgpu` feature and setting `NativeOptions::renderer` to `Renderer::Wgpu`. ## Alternatives `eframe` is not the only way to write an app using `egui`! You can also try [`egui-miniquad`](https://github.com/not-fl3/egui-miniquad), [`bevy_egui`](https://github.com/mvlabat/bevy_egui), [`egui_sdl2_gl`](https://github.com/ArjunNair/egui_sdl2_gl), and others. -You can also use `egui_glow` and [`winit`](https://github.com/rust-windowing/winit) to build your own app as demonstrated in . +You can also use `egui_glow` and [`winit`](https://github.com/rust-windowing/winit) to build your own app as demonstrated in . ## Problems with running egui on the web diff --git a/crates/eframe/src/epi.rs b/crates/eframe/src/epi.rs index 88cce80b..6e22b80b 100644 --- a/crates/eframe/src/epi.rs +++ b/crates/eframe/src/epi.rs @@ -43,7 +43,7 @@ pub struct CreationContext<'s> { // ---------------------------------------------------------------------------- -/// Implement this trait to write apps that can be compiled for both web/wasm and desktop/native using [`eframe`](https://github.com/emilk/egui/tree/master/eframe). +/// Implement this trait to write apps that can be compiled for both web/wasm and desktop/native using [`eframe`](https://github.com/emilk/egui/tree/master/crates/eframe). pub trait App { /// Called each time the UI needs repainting, which may be many times per second. /// diff --git a/crates/egui-wgpu/Cargo.toml b/crates/egui-wgpu/Cargo.toml index fad78882..c32b7434 100644 --- a/crates/egui-wgpu/Cargo.toml +++ b/crates/egui-wgpu/Cargo.toml @@ -9,10 +9,10 @@ authors = [ ] edition = "2021" rust-version = "1.61" -homepage = "https://github.com/emilk/egui/tree/master/egui-wgpu" +homepage = "https://github.com/emilk/egui/tree/master/crates/egui-wgpu" license = "MIT OR Apache-2.0" readme = "README.md" -repository = "https://github.com/emilk/egui/tree/master/egui-wgpu" +repository = "https://github.com/emilk/egui/tree/master/crates/egui-wgpu" categories = ["gui", "game-development"] keywords = ["wgpu", "egui", "gui", "gamedev"] include = [ diff --git a/crates/egui-wgpu/src/renderer.rs b/crates/egui-wgpu/src/renderer.rs index 0de81f1c..606bb12a 100644 --- a/crates/egui-wgpu/src/renderer.rs +++ b/crates/egui-wgpu/src/renderer.rs @@ -26,7 +26,7 @@ use wgpu::util::DeviceExt as _; /// /// # Example /// -/// See the [`custom3d_glow`](https://github.com/emilk/egui/blob/master/egui_demo_app/src/apps/custom3d_wgpu.rs) demo source for a detailed usage example. +/// See the [`custom3d_glow`](https://github.com/emilk/egui/blob/master/crates/egui_demo_app/src/apps/custom3d_wgpu.rs) demo source for a detailed usage example. pub struct CallbackFn { prepare: Box, paint: Box, diff --git a/crates/egui-winit/Cargo.toml b/crates/egui-winit/Cargo.toml index b1e1d75d..475d0467 100644 --- a/crates/egui-winit/Cargo.toml +++ b/crates/egui-winit/Cargo.toml @@ -5,10 +5,10 @@ authors = ["Emil Ernerfeldt "] description = "Bindings for using egui with winit" edition = "2021" rust-version = "1.61" -homepage = "https://github.com/emilk/egui/tree/master/egui-winit" +homepage = "https://github.com/emilk/egui/tree/master/crates/egui-winit" license = "MIT OR Apache-2.0" readme = "README.md" -repository = "https://github.com/emilk/egui/tree/master/egui-winit" +repository = "https://github.com/emilk/egui/tree/master/crates/egui-winit" categories = ["gui", "game-development"] keywords = ["winit", "egui", "gui", "gamedev"] include = ["../LICENSE-APACHE", "../LICENSE-MIT", "**/*.rs", "Cargo.toml"] diff --git a/crates/egui/examples/README.md b/crates/egui/examples/README.md index a29996b2..e4d19c83 100644 --- a/crates/egui/examples/README.md +++ b/crates/egui/examples/README.md @@ -2,6 +2,6 @@ There are no stand-alone egui examples, because egui is not stand-alone! See the top-level [examples](https://github.com/emilk/egui/tree/master/examples/) folder instead. -There are also plenty of examples in [the online demo](https://www.egui.rs/#demo). You can find the source code for it at . +There are also plenty of examples in [the online demo](https://www.egui.rs/#demo). You can find the source code for it at . To learn how to set up `eframe` for web and native, go to and follow the instructions there! diff --git a/crates/egui/src/lib.rs b/crates/egui/src/lib.rs index 26059400..bdeda858 100644 --- a/crates/egui/src/lib.rs +++ b/crates/egui/src/lib.rs @@ -177,7 +177,7 @@ //! This means it is responsibility of the egui user to store the state (`value`) so that it persists between frames. //! //! It can be useful to read the code for the toggle switch example widget to get a better understanding -//! of how egui works: . +//! of how egui works: . //! //! Read more about the pros and cons of immediate mode at . //! diff --git a/crates/egui_demo_app/README.md b/crates/egui_demo_app/README.md index e33464f2..4a972c54 100644 --- a/crates/egui_demo_app/README.md +++ b/crates/egui_demo_app/README.md @@ -1,5 +1,5 @@ # egui demo app -This app demonstrates [`egui`](https://github.com/emilk/egui/) and [`eframe`](https://github.com/emilk/egui/tree/master/eframe). +This app demonstrates [`egui`](https://github.com/emilk/egui/) and [`eframe`](https://github.com/emilk/egui/tree/master/crates/eframe). View the demo app online at . @@ -12,7 +12,7 @@ Run it locally with `cargo run --release -p egui_demo_app`. ./sh/build_demo_web.sh --open ``` -`egui_demo_app` uses [`egui_demo_lib`](https://github.com/emilk/egui/tree/master/egui_demo_lib). +`egui_demo_app` uses [`egui_demo_lib`](https://github.com/emilk/egui/tree/master/crates/egui_demo_lib). ## Running with `wgpu` backend diff --git a/crates/egui_demo_app/src/backend_panel.rs b/crates/egui_demo_app/src/backend_panel.rs index af88375b..e8981d05 100644 --- a/crates/egui_demo_app/src/backend_panel.rs +++ b/crates/egui_demo_app/src/backend_panel.rs @@ -149,7 +149,10 @@ impl BackendPanel { ui.horizontal(|ui| { ui.spacing_mut().item_spacing.x = 0.0; ui.label("egui running inside "); - ui.hyperlink_to("eframe", "https://github.com/emilk/egui/tree/master/eframe"); + ui.hyperlink_to( + "eframe", + "https://github.com/emilk/egui/tree/master/crates/eframe", + ); ui.label("."); }); diff --git a/crates/egui_demo_lib/Cargo.toml b/crates/egui_demo_lib/Cargo.toml index baa14178..b76131bb 100644 --- a/crates/egui_demo_lib/Cargo.toml +++ b/crates/egui_demo_lib/Cargo.toml @@ -5,10 +5,10 @@ authors = ["Emil Ernerfeldt "] description = "Example library for egui" edition = "2021" rust-version = "1.61" -homepage = "https://github.com/emilk/egui/tree/master/egui_demo_lib" +homepage = "https://github.com/emilk/egui/tree/master/crates/egui_demo_lib" license = "MIT OR Apache-2.0" readme = "README.md" -repository = "https://github.com/emilk/egui/tree/master/egui_demo_lib" +repository = "https://github.com/emilk/egui/tree/master/crates/egui_demo_lib" categories = ["gui", "graphics"] keywords = ["glium", "egui", "gui", "gamedev"] include = ["../LICENSE-APACHE", "../LICENSE-MIT", "**/*.rs", "Cargo.toml"] diff --git a/crates/egui_demo_lib/src/easy_mark/easy_mark_editor.rs b/crates/egui_demo_lib/src/easy_mark/easy_mark_editor.rs index 6ab66542..ae491f3f 100644 --- a/crates/egui_demo_lib/src/easy_mark/easy_mark_editor.rs +++ b/crates/egui_demo_lib/src/easy_mark/easy_mark_editor.rs @@ -214,7 +214,7 @@ Goals: 2. easy to learn 3. similar to markdown -[The reference parser](https://github.com/emilk/egui/blob/master/egui_demo_lib/src/easy_mark/easy_mark_parser.rs) is \~250 lines of code, using only the Rust standard library. The parser uses no look-ahead or recursion. +[The reference parser](https://github.com/emilk/egui/blob/master/crates/egui_demo_lib/src/easy_mark/easy_mark_parser.rs) is \~250 lines of code, using only the Rust standard library. The parser uses no look-ahead or recursion. There is never more than one way to accomplish the same thing, and each special character is only used for one thing. For instance `*` is used for *strong* and `-` is used for bullet lists. There is no alternative way to specify the *strong* style or getting a bullet list. diff --git a/crates/egui_glium/CHANGELOG.md b/crates/egui_glium/CHANGELOG.md index ef215884..d4829cb1 100644 --- a/crates/egui_glium/CHANGELOG.md +++ b/crates/egui_glium/CHANGELOG.md @@ -31,7 +31,7 @@ All notable changes to the `egui_glium` integration will be noted in this file. * Deprecate 'Painter::register_glium_texture'. * Increase scroll speed. * Restore window position on startup without flickering. -* A lot of the code has been moved to the new library [`egui-winit`](https://github.com/emilk/egui/tree/master/egui-winit). +* A lot of the code has been moved to the new library [`egui-winit`](https://github.com/emilk/egui/tree/master/crates/egui-winit). * Fixed reactive mode on windows. diff --git a/crates/egui_glium/Cargo.toml b/crates/egui_glium/Cargo.toml index faeaef75..58e6bc03 100644 --- a/crates/egui_glium/Cargo.toml +++ b/crates/egui_glium/Cargo.toml @@ -5,10 +5,10 @@ authors = ["Emil Ernerfeldt "] description = "Bindings for using egui natively using the glium library" edition = "2021" rust-version = "1.61" -homepage = "https://github.com/emilk/egui/tree/master/egui_glium" +homepage = "https://github.com/emilk/egui/tree/master/crates/egui_glium" license = "MIT OR Apache-2.0" readme = "README.md" -repository = "https://github.com/emilk/egui/tree/master/egui_glium" +repository = "https://github.com/emilk/egui/tree/master/crates/egui_glium" categories = ["gui", "game-development"] keywords = ["glium", "egui", "gui", "gamedev"] include = [ diff --git a/crates/egui_glium/README.md b/crates/egui_glium/README.md index 18d235d7..909ce4b1 100644 --- a/crates/egui_glium/README.md +++ b/crates/egui_glium/README.md @@ -14,4 +14,4 @@ To use on Linux, first run: sudo apt-get install libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev libspeechd-dev libxkbcommon-dev libssl-dev ``` -This crate depends on [`egui-winit`](https://github.com/emilk/egui/tree/master/egui-winit). +This crate depends on [`egui-winit`](https://github.com/emilk/egui/tree/master/crates/egui-winit). diff --git a/crates/egui_glow/Cargo.toml b/crates/egui_glow/Cargo.toml index 923730dc..15b20200 100644 --- a/crates/egui_glow/Cargo.toml +++ b/crates/egui_glow/Cargo.toml @@ -5,10 +5,10 @@ authors = ["Emil Ernerfeldt "] description = "Bindings for using egui natively using the glow library" edition = "2021" rust-version = "1.61" -homepage = "https://github.com/emilk/egui/tree/master/egui_glow" +homepage = "https://github.com/emilk/egui/tree/master/crates/egui_glow" license = "MIT OR Apache-2.0" readme = "README.md" -repository = "https://github.com/emilk/egui/tree/master/egui_glow" +repository = "https://github.com/emilk/egui/tree/master/crates/egui_glow" categories = ["gui", "game-development"] keywords = ["glow", "egui", "gui", "gamedev"] include = [ diff --git a/crates/egui_glow/README.md b/crates/egui_glow/README.md index 4662ae25..2c1aa5d0 100644 --- a/crates/egui_glow/README.md +++ b/crates/egui_glow/README.md @@ -9,7 +9,7 @@ This crates provides bindings between [`egui`](https://github.com/emilk/egui) an * Render egui using glow on both native and web. * Write cross platform native egui apps (with the `winit` feature). -To write web apps using `glow` you can use [`eframe`](https://github.com/emilk/egui/tree/master/eframe) (which uses `egui_glow` for rendering). +To write web apps using `glow` you can use [`eframe`](https://github.com/emilk/egui/tree/master/crates/eframe) (which uses `egui_glow` for rendering). To use on Linux, first run: @@ -17,4 +17,4 @@ To use on Linux, first run: sudo apt-get install libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev libspeechd-dev libxkbcommon-dev libssl-dev ``` -This crate optionally depends on [`egui-winit`](https://github.com/emilk/egui/tree/master/egui-winit). +This crate optionally depends on [`egui-winit`](https://github.com/emilk/egui/tree/master/crates/egui-winit). diff --git a/crates/egui_glow/src/painter.rs b/crates/egui_glow/src/painter.rs index 524b02f7..4a7c161d 100644 --- a/crates/egui_glow/src/painter.rs +++ b/crates/egui_glow/src/painter.rs @@ -77,7 +77,7 @@ pub struct Painter { /// /// # Example /// -/// See the [`custom3d_glow`](https://github.com/emilk/egui/blob/master/egui_demo_app/src/apps/custom3d_wgpu.rs) demo source for a detailed usage example. +/// See the [`custom3d_glow`](https://github.com/emilk/egui/blob/master/crates/egui_demo_app/src/apps/custom3d_wgpu.rs) demo source for a detailed usage example. pub struct CallbackFn { f: Box, } diff --git a/crates/egui_web/README.md b/crates/egui_web/README.md index 34177e9e..feb86256 100644 --- a/crates/egui_web/README.md +++ b/crates/egui_web/README.md @@ -1 +1 @@ -`egui_web` used to be a standalone crate, but has now been moved into [`eframe`](https://github.com/emilk/egui/tree/master/eframe). +`egui_web` used to be a standalone crate, but has now been moved into [`eframe`](https://github.com/emilk/egui/tree/master/crates/eframe). diff --git a/crates/emath/Cargo.toml b/crates/emath/Cargo.toml index 3f65ace4..2e987c73 100644 --- a/crates/emath/Cargo.toml +++ b/crates/emath/Cargo.toml @@ -5,10 +5,10 @@ authors = ["Emil Ernerfeldt "] description = "Minimal 2D math library for GUI work" edition = "2021" rust-version = "1.61" -homepage = "https://github.com/emilk/egui/tree/master/emath" +homepage = "https://github.com/emilk/egui/tree/master/crates/emath" license = "MIT OR Apache-2.0" readme = "README.md" -repository = "https://github.com/emilk/egui/tree/master/emath" +repository = "https://github.com/emilk/egui/tree/master/crates/emath" categories = ["mathematics", "gui"] keywords = ["math", "gui"] include = ["../LICENSE-APACHE", "../LICENSE-MIT", "**/*.rs", "Cargo.toml"] diff --git a/crates/epaint/Cargo.toml b/crates/epaint/Cargo.toml index 08bbd866..e2867aab 100644 --- a/crates/epaint/Cargo.toml +++ b/crates/epaint/Cargo.toml @@ -5,10 +5,10 @@ authors = ["Emil Ernerfeldt "] description = "Minimal 2D graphics library for GUI work" edition = "2021" rust-version = "1.61" -homepage = "https://github.com/emilk/egui/tree/master/epaint" +homepage = "https://github.com/emilk/egui/tree/master/crates/epaint" license = "MIT OR Apache-2.0" readme = "README.md" -repository = "https://github.com/emilk/egui/tree/master/epaint" +repository = "https://github.com/emilk/egui/tree/master/crates/epaint" categories = ["graphics", "gui"] keywords = ["graphics", "gui", "egui"] include = [ diff --git a/examples/README.md b/examples/README.md index 141e2869..9e02712a 100644 --- a/examples/README.md +++ b/examples/README.md @@ -1,5 +1,5 @@ # `egui` and `eframe` examples -All the examples in this folder uses [`eframe`](https://github.com/emilk/egui/tree/master/eframe) to set up a window for [`egui`](https://github.com/emilk/egui/). Some examples are specific to `eframe`, but many are applicable to any `egui` integration. +All the examples in this folder uses [`eframe`](https://github.com/emilk/egui/tree/master/crates/eframe) to set up a window for [`egui`](https://github.com/emilk/egui/). Some examples are specific to `eframe`, but many are applicable to any `egui` integration. There are a lot more examples at , and it has links to the source code of each example.