mirror of
https://github.com/eliasstepanik/imgui-rs.git
synced 2026-01-15 23:48:31 +00:00
Merge pull request #199 from JoshLambda/update_readme_examples
Update examples paths in README
This commit is contained in:
commit
a7877ce7b1
@ -51,14 +51,24 @@ ui.window(im_str!("Hello world"))
|
||||
|
||||
## Compiling and running the demos
|
||||
|
||||
Examples are under the imgui-examples directory.
|
||||
|
||||
git clone https://github.com/Gekkio/imgui-rs
|
||||
cd imgui-rs
|
||||
git submodule update --init --recursive
|
||||
|
||||
Examples for gfx backend are under the imgui-examples directory.
|
||||
|
||||
cd imgui-examples
|
||||
cargo test
|
||||
|
||||
cargo run --example hello_gfx
|
||||
|
||||
Examples for glium backend are located into the imgui-glium-examples directory.
|
||||
|
||||
# At the reposity root
|
||||
cd imgui-glium-examples
|
||||
cargo test
|
||||
|
||||
cargo run --example hello_world
|
||||
cargo run --example test_window
|
||||
cargo run --example test_window_impl
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user