662 Commits

Author SHA1 Message Date
Joonas Javanainen
6d68da2d9c
Merge pull request #213 from agersant/get-time
Fixed a bug where get_time() returned bogus values
2019-04-17 21:06:49 +03:00
Antoine Gersant
21a2b1c936 Fixed a bug where get_time() returned bogus values 2019-04-17 00:06:49 -07:00
Joonas Javanainen
09bff25346
Bump version to 0.0.24-pre 2019-04-10 22:31:30 +03:00
Joonas Javanainen
e2a6ff6ea6
Release: 0.0.23 2019-04-10 22:27:39 +03:00
Joonas Javanainen
7049dfdc68
Update dependencies in glium examples 2019-04-10 21:46:21 +03:00
Joonas Javanainen
a51afa0539
Upgrade to gfx 0.18 2019-04-10 21:38:57 +03:00
Joonas Javanainen
7c1672b4f9
Update change log 2019-04-10 21:32:44 +03:00
Joonas Javanainen
de29625139
Merge pull request #209 from AberrantWolf/set_kb_focus
Added set keyboard focus function to Ui
2019-03-27 08:03:00 +02:00
Scott Harper
26a9eddc62 Implement keyboard focus command in Ui 2019-03-17 11:40:01 +09:00
Joonas Javanainen
74ff73d06d
Verify that cimgui/imgui files are accessible
This provides a nicer error if somebody is trying to run the examples
without having submodules fetched
2019-03-10 16:30:56 +02:00
Joonas Javanainen
5304f13362
Make sure CI builds examples 2019-03-10 16:30:05 +02:00
Joonas Javanainen
3b706c442b
Merge pull request #208 from EmbarkStudios/winit-0.19
Support winit 0.19
2019-03-09 21:16:28 +02:00
Johan Andersson
1bb2c7f4af Support winit 0.19 2019-03-09 18:18:27 +01:00
Joonas Javanainen
da57859839
Merge pull request #204 from sumeet/master
add builder method to specify window pivot
2019-03-02 00:31:05 +02:00
Sumeet Agarwal
6545b473ff add builder method to specify window pivot
could be used to center a window in the middle of the screen, like in
https://github.com/ocornut/imgui/issues/1657#issuecomment-370173339
2019-03-01 17:07:32 +09:00
Joonas Javanainen
1eff07cdbc
Merge pull request #203 from EmbarkStudios/image-button
Add support for image buttons
2019-02-25 17:40:34 +02:00
Johan Andersson
a84de348af Add support for image buttons 2019-02-25 01:13:21 +01:00
Joonas Javanainen
1f95d23e9d
Remove deprecated things 2019-02-05 21:29:00 +02:00
Joonas Javanainen
b5c9d46303
Bump version to 0.0.23-pre 2019-02-05 21:26:31 +02:00
Joonas Javanainen
28ece175ef
Release: 0.0.22 2019-02-05 21:22:15 +02:00
Joonas Javanainen
83128698ea
Update changelog 2019-02-05 21:20:15 +02:00
Joonas Javanainen
a7877ce7b1
Merge pull request #199 from JoshLambda/update_readme_examples
Update examples paths in README
2019-01-26 23:35:34 +02:00
Josh
5f36f24ff3
Removed unwanted empty lines 2019-01-01 08:39:39 +01:00
JoshLambda
2537a476b8 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.
2019-01-01 08:32:36 +01:00
Joonas Javanainen
91a961e06a
Use more 2018 edition idioms 2018-12-31 12:16:28 +02:00
Joonas Javanainen
0d878e1ecb
Upgrade dependencies in examples 2018-12-31 12:00:24 +02:00
Joonas Javanainen
20139851e2
Upgrade to Rust 2018 edition
We might as well do this since we've been forced to 1.31...
2018-12-31 11:51:34 +02:00
Joonas Javanainen
79829d3200
Bump minimum Rust version to 1.31
Damnit stb_truetype :'(
2018-12-31 11:40:32 +02:00
Joonas Javanainen
38bb92a8b9
Merge pull request #193 from shockham/master
Update glium to 0.23
2018-12-31 11:38:13 +02:00
shockham
5ace64bbe4 Update glium to 0.23 2018-12-26 09:52:39 +00:00
Joonas Javanainen
7d364f6e5d
Fix incorrect function name 2018-12-17 00:59:43 +02:00
Joonas Javanainen
490ffe056d
Merge pull request #185 from agersant/content-region
Content region
2018-12-16 21:24:25 +02:00
Joonas Javanainen
14eaf77200
Merge pull request #189 from agersant/hover-flags
Added ability to pass flags to is_item_hovered
2018-12-16 21:23:55 +02:00
Joonas Javanainen
eb5aaf1c2a
Replace imgui-glutin-support with imgui-winit-support 2018-12-16 12:02:42 +02:00
Antoine Gersant
17b82e5cbb Added is_window_hovered_with_flags 2018-12-14 00:22:12 -08:00
Antoine Gersant
cd2f7570e6 Added is_item_hovered_with_flags 2018-12-13 22:00:24 -08:00
Antoine Gersant
2b15498654 Exposed a few functions related to content regions 2018-12-04 21:06:33 -08:00
Malik Olivier Boussejra
0b459cf104
Merge pull request #183 from malikolivier/172-update-glutin-on-gfx
Update glutin to 0.19.0 on gfx examples
2018-12-05 07:55:02 +09:00
Joonas Javanainen
44db8d81e6
Upgrade to imgui 1.66b 2018-12-04 20:14:22 +02:00
Antoine Gersant
d61e69eee2 Fixed cimgui version 2018-12-01 12:05:35 -08:00
Antoine Gersant
62e382a1db Pulled master from Gekkio/imgui-rs 2018-12-01 11:47:00 -08:00
Malik Olivier Boussejra
4ae0392e48 Bump minimum Rust version to 1.28
The previous commit added support for glutin 0.19.0.

glutin 0.19.0 depends on winit 0.18.0, which requires rust 1.28.0 or later.

Here is the full dependency chain:

glutin 0.19.0 > winit 0.18 > smithay-client-toolkit 0.4.2 > andrew 0.1.4 > rusttype 0.7.3 > ordered-float 1.0.1 (on linux)

ordered-float uses [repr(transparent)], which is now stabilised on latest rust,
hence the requirement for rust 1.28.0.
2018-12-01 19:05:49 +09:00
Malik Olivier Boussejra
d7a37a25fc [gfx-examples] Update Cargo.lock 2018-12-01 17:57:54 +09:00
Malik Olivier Boussejra
7268d35be7 [gfx_examples] Update glutin to 0.19.0
Attempt to fix #172 for gfx back-end.
2018-12-01 17:57:54 +09:00
Joonas Javanainen
0440752e0b
Upgrade to cimgui 1.66.2 / imgui 1.66 2018-11-29 22:10:49 +02:00
Joonas Javanainen
eea2c8b00e
Use nonUDT2 variants of functions that return ImVec2/4 2018-11-29 21:43:52 +02:00
Malik Olivier Boussejra
f994d71461
Merge pull request #181 from malikolivier/wrap-PushTextWrapPos
[Ui] Add with_text_wrap_pos
2018-11-27 07:12:15 +09:00
Malik Olivier Boussejra
08a07ab19b
Merge pull request #180 from malikolivier/custom-texture-example
Custom texture example with glium backend:
- Generate a texture
- Load a texture from a JPG image

NB:
- Moved all the resources for examples (the fonts and the images) to a shared resources folder.
- Updated glium support module to expose GL context and Textures.
2018-11-27 07:11:29 +09:00
Malik Olivier Boussejra
713d669783 [Ui] Add with_text_wrap_pos
Wrap igPushTextWrapPos and igPopTextWrapPos.
2018-11-23 21:33:14 +09:00
Malik Olivier Boussejra
7301a02dce [glium-examples] custom-textures: Add messages 2018-11-23 18:04:30 +09:00