668 Commits

Author SHA1 Message Date
Antoine Gersant
c11d9dff15 Formatting 2019-04-30 19:44:09 -07:00
Antoine Gersant
55978a0366 Exposed 2019-04-30 19:43:10 -07:00
Joonas Javanainen
41d6ccc6b3
Upgrade dependencies 2019-04-21 13:25:46 +03:00
Joonas Javanainen
8fc605ed84
Don't end frame normally when panicking
igEndFrame might end up doing an assert that aborts the process, which
prevents the panic handler from doing its job.
2019-04-21 00:07:53 +03:00
Joonas Javanainen
3e9c14a2a0
Merge pull request #211 from AlphaModder/master
Allow InputText/InputTextMultiline to automatically resize their ImStrings if the user desires.
2019-04-17 21:15:50 +03:00
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
AlphaModder
a3af145327 Allow ImStrings to resize automatically when used by InputText and InputTextMultiline. 2019-03-17 18:31:07 -07: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