From 2537a476b8bf787e7127848fdeaa5f74bf5370e1 Mon Sep 17 00:00:00 2001 From: JoshLambda Date: Tue, 1 Jan 2019 08:32:36 +0100 Subject: [PATCH 1/2] Updates examples path in README (glium examples moved to their own folder) Since last release the examples for glium were moved into their own folder imgui-glium-examples. This PR updates the instructions in README accordingly. --- README.markdown | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/README.markdown b/README.markdown index 5ca6444..0e49b87 100644 --- a/README.markdown +++ b/README.markdown @@ -51,18 +51,30 @@ 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 + + Note to Windows users: You will need to use the *MSVC ABI* version of the Rust compiler along with its associated [dependencies](https://www.rust-lang.org/en-US/downloads.html#win-foot) to build this libary and run the examples. From 5f36f24ff31ae0bc5dd5b77da22cb5b63af61c90 Mon Sep 17 00:00:00 2001 From: Josh Date: Tue, 1 Jan 2019 08:39:39 +0100 Subject: [PATCH 2/2] Removed unwanted empty lines --- README.markdown | 2 -- 1 file changed, 2 deletions(-) diff --git a/README.markdown b/README.markdown index 0e49b87..ec44a3c 100644 --- a/README.markdown +++ b/README.markdown @@ -73,8 +73,6 @@ Examples for glium backend are located into the imgui-glium-examples directory. cargo run --example test_window cargo run --example test_window_impl - - Note to Windows users: You will need to use the *MSVC ABI* version of the Rust compiler along with its associated [dependencies](https://www.rust-lang.org/en-US/downloads.html#win-foot) to build this libary and run the examples.