116 Commits

Author SHA1 Message Date
Joonas Javanainen
41d6ccc6b3
Upgrade dependencies 2019-04-21 13:25:46 +03:00
Joonas Javanainen
e2a6ff6ea6
Release: 0.0.23 2019-04-10 22:27:39 +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
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
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
79829d3200
Bump minimum Rust version to 1.31
Damnit stb_truetype :'(
2018-12-31 11:40:32 +02:00
Joonas Javanainen
eb5aaf1c2a
Replace imgui-glutin-support with imgui-winit-support 2018-12-16 12:02:42 +02: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
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
Joonas Javanainen
0440752e0b
Upgrade to cimgui 1.66.2 / imgui 1.66 2018-11-29 22:10:49 +02:00
Malik Olivier Boussejra
713d669783 [Ui] Add with_text_wrap_pos
Wrap igPushTextWrapPos and igPopTextWrapPos.
2018-11-23 21:33:14 +09:00
Joonas Javanainen
578eaf7373
Update documentation 2018-10-12 22:47:20 +03:00
Joonas Javanainen
c85e73eca6
Release: 0.0.21 2018-10-11 23:14:38 +03:00
Joonas Javanainen
3a4f6b2c17
Update changelog 2018-10-11 19:37:16 +03:00
Malik Olivier Boussejra
4e328d3bba [CHANGELOG] Add popup modal 2018-09-26 14:29:32 +09:00
Malik Olivier Boussejra
a893f3e665 Update CHANGELOG 2018-09-19 09:53:15 +09:00
Joonas Javanainen
c5c9d6ff30
Bump minimum Rust version to 1.26 2018-09-07 00:04:57 +03:00
Joonas Javanainen
eeb800db13
imgui-glutin-support crate 2018-08-13 23:04:36 +03:00
Joonas Javanainen
b8a1abf1b7
Add mouse_down accessor function 2018-08-13 23:03:43 +03:00
Joonas Javanainen
7824984543
Release: 0.0.20 2018-08-13 22:57:37 +03:00
Joonas Javanainen
f7ffac7c8d
Update CHANGELOG 2018-08-13 19:02:45 +03:00
Joonas Javanainen
21d85afee0
Remove deprecated things 2018-08-12 20:25:43 +03:00
Joonas Javanainen
af2171f93a
Release: 0.0.19 2018-08-12 20:17:56 +03:00
Joonas Javanainen
da9ee9302b
Fixes recommended by clippy 2018-08-12 19:20:14 +03:00
Joonas Javanainen
130ebfc931
Update changelog 2018-08-12 19:06:35 +03:00
Malik Olivier Boussejra
1ac9c84ba2 [CHANGELOG] Add glium update
Include a word about WINIT_HIDPI_FACTOR=1.
2018-08-11 06:24:31 +09:00
OKAMURA, Yasunobu
72ef7f681e fix conflict 2018-06-22 21:28:37 +09:00
Joonas Javanainen
e374eb9f55
Update changelog 2018-05-14 09:23:56 +03:00
Joonas Javanainen
85e9375e0b
Remove things that were deprecated in 0.0.18 2018-05-14 09:15:10 +03:00
Malik Olivier Boussejra
fc4245c303 [cimgui 1.53.1] Update CHANGELOG
Follow "keep a changelog" specification.

https://keepachangelog.com/en/1.0.0/
2018-05-08 09:32:56 +09:00
OKAMURA, Yasunobu
9b283bbad0 Add input_text_multiline 2018-04-30 15:14:31 +09:00
Malik Olivier Boussejra
bba3e58460 [cimgui 1.53.1] Rename ImGuiCol::ChildWindowBg to ChildBg 2018-04-30 12:17:22 +09:00
Malik Olivier Boussejra
5bf3eff812 [cimgui 1.53.1] Obsolete ImGuiCol::ComboBg 2018-04-30 12:11:30 +09:00
Malik Olivier Boussejra
112d21133b [cimgui 1.53.1] Remove ImGuiWindowFlags::ShowBorders 2018-04-30 11:56:10 +09:00
Malik Olivier Boussejra
adfa447d2f [cimgui 1.53.1] Style: Add PopupRounding, FrameBorderSize, WindowBorderSize, PopupBorderSize 2018-04-30 11:43:17 +09:00
Malik Olivier Boussejra
3b231d9838 [cimgui 1.53.1] Rename ChildWindowRounding to ChildRounding
Add deprecation warning for each renamed variant.

However, it will just fail to compile if the deprecated variant is used
inside a match statement. It is not possible to make aliases of variants
in Rust.
2018-04-30 11:28:17 +09:00
Malik Olivier Boussejra
dbc96892cd [cimgui 1.53.1] DrawList: Remove anti_aliased: bool final parameter
There is no way I know of to make a deprecation warning in such a case.
Code that uses ImDrawList_AddPolyline or ImDrawList_AddConvexPolyFilled will
break.
2018-04-30 00:23:50 +09:00
Malik Olivier Boussejra
37b60a5af0 [cimgui 1.53.1] Rename ImGuiTextBuffer_append() to appendf()
This commit does not include deprecation warning.
Indeed, defining a `ImGuiTextBuffer_append` function with a deprecation
warning would require to write a variadic function in rust. However,
this is impossible, and the FFI rust doc says so:
https://doc.rust-lang.org/book/first-edition/ffi.html#variadic-functions

Dear ImGui did not deprecate `append()`, they simply renamed it too.
2018-04-30 00:23:50 +09:00
Malik Olivier Boussejra
d2e6d41619 [cimgui 1.53.1] Obsolete igSetNextWindowContentWidth
There is a small change of behaviour: previous height value is not
preserved when igSetNextWindowContentWidth is used. There is no way
around it unless we mess with imgui's internals.

Official Dear ImGui chose this easy solution as well:

    static inline void SetNextWindowContentWidth(float w) { SetNextWindowContentSize(ImVec2(w, 0.0f)); }

429f48bb4f/imgui.h (L1132)
2018-04-30 00:23:50 +09:00
Malik Olivier Boussejra
8d3e1a82fc [cimgui 1.53.1] Obsolete igIsRootWindowOrAnyChildHovered()
Update struct for ImGuiHoveredFlags.

NB: igIsWindowHovered, and thus igIsRootWindowOrAnyChildHovered, are
broken now because of a bug.
The fix is commited upstream, but not released yet.
baebcfcfaf

I guess nothing can be done but wait for the next cimgui release.
2018-04-30 00:23:28 +09:00
Malik Olivier Boussejra
2df079e563 [cimgui 1.53.1] Obsolete sys::igIsRootWindowOrAnyChildFocused()
Should use `igIsWindowFocused(ImGuiFocusedFlags::RootAndChildWindows)`
instead.
2018-04-29 23:53:39 +09:00
Malik Olivier Boussejra
f3e994f582 [cimgui 1.53.1] Obsolete sys::igIsRootWindowFocused()
Should use `sys::igIsWindowFocused(ImGuiFocusedFlags_RootWindow)`
instead.
2018-04-29 23:49:26 +09:00
Malik Olivier Boussejra
a5ed022eee [cimgui 1.53.1] Rename ImGuiTreeNodeFlags::AllowOverlapMode to ImGuiTreeNodeFlags::AllowItemOvelap 2018-04-29 23:49:26 +09:00
Malik Olivier Boussejra
1d10578471 [cimgui 1.53.1] Rename igGetItemsLineHeightWithSpacing to igGetFrameHeightWithSpacing 2018-04-29 23:49:26 +09:00
Malik Olivier Boussejra
cf15d49e36 [cimgui 1.53.1] Rename Ui::show_test_window to Ui::show_demo_window 2018-04-29 23:49:26 +09:00
Malik Olivier Boussejra
817ecc2005 CHANGELOG: Upgrade cimgui to 1.53.1 2018-04-29 23:49:26 +09:00