Rethink workspace structure
This commit is contained in:
parent
8b8f7563ad
commit
a97401aed2
44 changed files with 684 additions and 51 deletions
|
|
@ -1,17 +0,0 @@
|
|||
[package]
|
||||
name = "iced_examples"
|
||||
version = "0.0.0"
|
||||
authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"]
|
||||
publish = false
|
||||
edition = "2018"
|
||||
|
||||
[[bin]]
|
||||
name = "tour"
|
||||
path = "tour/main.rs"
|
||||
|
||||
[dependencies]
|
||||
iced = { version = "0.1.0-alpha", path = "../core" }
|
||||
|
||||
# A personal `ggez` fork that introduces a `FontCache` type to measure text
|
||||
# efficiently and fixes HiDPI issues.
|
||||
ggez = { version = "0.5", git = "https://github.com/hecrj/ggez.git" }
|
||||
|
|
@ -26,16 +26,16 @@ The implementation consists of different modules:
|
|||
the [`renderer`].
|
||||
|
||||
```
|
||||
cargo run --example tour
|
||||
cargo run --package iced_ggez_tour
|
||||
```
|
||||
|
||||
[![Tour - Iced][gui_gif]][gui_gfycat]
|
||||
|
||||
[`ggez`]: https://github.com/ggez/ggez
|
||||
[`tour`]: tour/tour.rs
|
||||
[`renderer`]: tour/renderer
|
||||
[`widget`]: tour/widget.rs
|
||||
[`main`]: tour/main.rs
|
||||
[`tour`]: tour/src/tour.rs
|
||||
[`renderer`]: tour/src/renderer
|
||||
[`widget`]: tour/src/widget.rs
|
||||
[`main`]: tour/src/main.rs
|
||||
[personal fork]: https://github.com/hecrj/ggez
|
||||
[add a `FontCache` type]: https://github.com/ggez/ggez/pull/679
|
||||
[fix some issues with HiDPI]: https://github.com/hecrj/ggez/commit/dfe2fd2423c51a6daf42c75f66dfaeaacd439fb1
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ pub fn main() -> ggez::GameResult {
|
|||
filesystem::mount(
|
||||
context,
|
||||
std::path::Path::new(&format!(
|
||||
"{}/resources",
|
||||
"{}/examples/resources",
|
||||
env!("CARGO_MANIFEST_DIR")
|
||||
)),
|
||||
true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue