96 Commits

Author SHA1 Message Date
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
Joonas Javanainen
e9fecb3c41
Bump version to 0.0.19-pre 2017-12-23 14:25:43 +02:00
Joonas Javanainen
1fc53dbbdb
Release: 0.0.18 2017-12-23 14:14:35 +02:00
Joonas Javanainen
6a363840ec
Upgrade to imgui/cimgui 1.52 2017-11-12 23:32:44 +02:00
Joonas Javanainen
a67f190cd2
Add tooltip functionality and is_item_hovered 2017-11-07 20:04:27 +02:00
Joonas Javanainen
5dda36edc8
Oops, bg_alpha isn't gone yet 2017-11-07 19:09:04 +02:00
Joonas Javanainen
a01a4222f0
Fix changelog links 2017-11-07 19:08:07 +02:00
Joonas Javanainen
d634c1a1ad
Remove various deprecations 2017-11-07 19:00:32 +02:00
Joonas Javanainen
f6fa2e00f0
Release: 0.0.17 2017-11-07 18:52:58 +02:00
Joonas Javanainen
a7581e73c0
Small updates to test_window_impl 2017-11-06 22:53:37 +02:00
Joonas Javanainen
97fa401fa4
Add ColorButton 2017-11-04 12:14:47 +02:00
Joonas Javanainen
129306c5ba
Update changelog 2017-11-04 11:28:15 +02:00
Joonas Javanainen
c9e5db5aa5
Add ColorPicker widget 2017-11-04 10:08:06 +02:00
Joonas Javanainen
b9e0de93b0
Various ImStr/ImString updates 2017-11-04 09:05:43 +02:00
Joonas Javanainen
3b87845d6b
Restore color_edit functionality 2017-11-02 23:12:04 +02:00
Joonas Javanainen
f54fae81f1
Deprecate Window::bg_alpha in preparation for 1.52 2017-11-02 22:06:14 +02:00
Joonas Javanainen
08a5429e4c
Update CHANGELOG 2017-11-02 21:55:34 +02:00
Joonas Javanainen
6c801d61b5
Release: 0.0.16 2017-10-26 00:10:51 +03:00
Joonas Javanainen
10490f14c0
Update CHANGELOG 2017-10-25 21:53:32 +03:00
Joonas Javanainen
8a27431133
Remove deprecated string functions 2017-10-25 21:50:51 +03:00
Joonas Javanainen
3c88d70a74
Update CHANGELOG 2017-10-24 20:40:40 +03:00