mirror of
https://github.com/eliasstepanik/imgui-rs.git
synced 2026-01-22 10:58:31 +00:00
Move the examples once again
This commit is contained in:
parent
99cce60306
commit
ef9b4e2db8
@ -16,4 +16,4 @@ travis-ci = { repository = "gekkio/imgui-rs" }
|
|||||||
imgui-sys = { version = "0.0.14-pre", path = "imgui-sys" }
|
imgui-sys = { version = "0.0.14-pre", path = "imgui-sys" }
|
||||||
|
|
||||||
[workspace]
|
[workspace]
|
||||||
members = ["imgui-sys", "imgui-glium-renderer"]
|
members = ["imgui-examples", "imgui-sys", "imgui-glium-renderer"]
|
||||||
|
|||||||
@ -45,12 +45,12 @@ ui.window(im_str!("Hello world"))
|
|||||||
|
|
||||||
## Compiling and running the demos
|
## Compiling and running the demos
|
||||||
|
|
||||||
Examples are under the imgui-glium-renderer directory.
|
Examples are under the imgui-examples directory.
|
||||||
|
|
||||||
git clone https://github.com/Gekkio/imgui-rs
|
git clone https://github.com/Gekkio/imgui-rs
|
||||||
cd imgui-rs
|
cd imgui-rs
|
||||||
git submodule update --init --recursive
|
git submodule update --init --recursive
|
||||||
cd imgui-glium-renderer
|
cd imgui-examples
|
||||||
cargo test
|
cargo test
|
||||||
|
|
||||||
cargo run --example hello_world
|
cargo run --example hello_world
|
||||||
|
|||||||
15
imgui-examples/Cargo.toml
Normal file
15
imgui-examples/Cargo.toml
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
[package]
|
||||||
|
name = "imgui-examples"
|
||||||
|
version = "0.0.14-pre"
|
||||||
|
authors = ["Joonas Javanainen <joonas.javanainen@gmail.com>", "imgui-rs contributors"]
|
||||||
|
description = "imgui crate examples"
|
||||||
|
homepage = "https://github.com/gekkio/imgui-rs"
|
||||||
|
repository = "https://github.com/gekkio/imgui-rs"
|
||||||
|
license = "MIT/Apache-2.0"
|
||||||
|
publish = false
|
||||||
|
|
||||||
|
[dev-dependencies]
|
||||||
|
glium = { version = "0.16", default-features = true }
|
||||||
|
imgui = { version = "0.0.14-pre", path = "../" }
|
||||||
|
imgui-glium-renderer = { version = "0.0.14-pre", path = "../imgui-glium-renderer" }
|
||||||
|
imgui-sys = { version = "0.0.14-pre", path = "../imgui-sys", features = ["glium"] }
|
||||||
@ -12,6 +12,3 @@ categories = ["gui", "rendering"]
|
|||||||
glium = { version = "0.16", default-features = false }
|
glium = { version = "0.16", default-features = false }
|
||||||
imgui = { version = "0.0.14-pre", path = "../" }
|
imgui = { version = "0.0.14-pre", path = "../" }
|
||||||
imgui-sys = { version = "0.0.14-pre", path = "../imgui-sys", features = ["glium"] }
|
imgui-sys = { version = "0.0.14-pre", path = "../imgui-sys", features = ["glium"] }
|
||||||
|
|
||||||
[dev-dependencies]
|
|
||||||
glium = { version = "0.16", default-features = true }
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user