shockham
b1ebd720e7
Update gfx_window_glutin to 0.25, glium to 0.22 and glutin to 0.17 in imgui-examples and fix errors
2018-07-30 17:44:28 +01:00
shockham
ebc81d2767
Update glium to 0.22
2018-07-30 17:01:02 +01:00
Malik Olivier Boussejra
4944ee618d
Merge pull request #120 from informationsea/feature/multiline-text-input
...
Add inputTextMultiline Widget
2018-07-12 05:46:26 +09:00
OKAMURA, Yasunobu
8c5fc8242e
fix typo
2018-07-11 20:02:34 +09:00
OKAMURA, Yasunobu
1070ec5b7c
Merge remote-tracking branch 'upstream/master' into feature/multiline-text-input
2018-07-09 20:25:09 +09:00
Malik Olivier Boussejra
cfb54ee30e
Merge pull request #138 from michaelfairley/tree_flags
...
Allow setting flags on tree nodes
2018-06-26 17:23:26 +09:00
OKAMURA, Yasunobu
72ef7f681e
fix conflict
2018-06-22 21:28:37 +09:00
Michael Fairley
972769a0f4
Allow setting flags on tree nodes
2018-06-08 14:48:36 -05:00
Joonas Javanainen
a8cd16ef90
Merge pull request #137 from Gekkio/feature/drawdata-renderer
...
Renderers take DrawData, not DrawList
2018-06-03 20:25:50 +03:00
Joonas Javanainen
d8676b90de
Merge pull request #133 from michaelfairley/pushid_overloads_take3
...
Allow using strings and pointers with push_id
2018-06-03 20:25:31 +03:00
Michael Fairley
3a070ff124
Remove use of rust feature newer than oldest supported version
2018-06-03 10:28:54 -05:00
Joonas Javanainen
9537fd83b3
Render callback should be FnOnce
...
The callback is no longer called multiple times
2018-06-03 11:27:10 +03:00
Joonas Javanainen
70370611e5
Renderers take DrawData, not DrawList
2018-06-03 11:21:13 +03:00
Malik Olivier Boussejra
a275c1d656
Merge pull request #136 from tekknolagi/patch-1
...
[examples] Fix type in hello_world
2018-06-03 15:06:07 +09:00
Max Bernstein
d24ae372b2
Fix small typo
2018-06-02 22:28:07 -07:00
Malik Olivier Boussejra
216e97a2b2
Merge pull request #135 from malikolivier/mouse-helper-functions
...
Wrap mouse helper functions: is_mouse_double_clicked, is_mouse_released
2018-06-02 19:51:31 +09:00
Malik Olivier Boussejra
d42f789fef
Merge pull request #134 from malikolivier/105-get-keyboard-input
...
[ImGui] Add helper functions for keyboard keys
User still needs to use get_key_index to get the value of user_key_index for each key, similar to what is done in the original imgui.
This is not very convenient but it allows to be back-end independent.
Fix #105
2018-06-02 19:50:27 +09:00
Malik Olivier Boussejra
f0b3010684
Merge pull request #125 from malikolivier/draw_list_add_methods
...
window_draw_list: Add support for drawing text
2018-06-02 19:48:50 +09:00
Malik Olivier Boussejra
7b80950782
[ImGui] Add helper function "is_mouse_released"
2018-06-02 14:31:22 +09:00
Malik Olivier Boussejra
b62cd2eca8
[ImGui] Add helper function "is_mouse_double_clicked"
2018-06-02 14:31:05 +09:00
Malik Olivier Boussejra
91a2648740
[ImGui] Add helper functions for keyboard keys
...
Can check whether a keyboard key is pressed or not.
2018-06-02 14:14:14 +09:00
Michael Fairley
3655dfa081
Allow using strings and pointers with push_id
2018-05-31 11:25:51 -05:00
Malik Olivier Boussejra
9b0804f6be
window_draw_list: Use c_char instead of i8
...
Target expects a c_char, which happens to be an i8 on x86, but it may be
something else on other platforms (e.g. u8 on ARM).
2018-05-30 14:39:37 +09:00
Malik Olivier Boussejra
485c8a230e
window_draw_list: Use generic to add_text
...
This change allows to use `add_text` with any type that implements
`AsRef<str>`. This includes `String`, `&str`, `ImString` and `&ImStr`.
2018-05-30 14:23:43 +09:00
Joonas Javanainen
37d556ce3b
Merge pull request #131 from malikolivier/imgui-add-mouse-wheel
...
[ImGui] Add helper function to get mouse wheel delta
2018-05-30 08:03:56 +03:00
Joonas Javanainen
a08516a51d
Merge pull request #126 from malikolivier/draw_list_must_use
...
window_draw_list: Add #[must_use] to relevant types
2018-05-30 08:03:39 +03:00
Joonas Javanainen
8b159c848f
Merge pull request #124 from malikolivier/wrap-is_window_hovered
...
Ui: Add safe wrapper "is_window_hovered"
2018-05-30 07:59:57 +03:00
Malik Olivier Boussejra
c2fd3561cb
[ImGui] Add helper function to get wheel delta
2018-05-29 13:40:02 +09:00
Malik Olivier Boussejra
17504fd723
window_draw_list: Add #[must_use] to relevant types
...
It is easy to forget to call .build() on these temporary types.
To avoid this kind of error, we emit a compiler warning when .build() is
forgotten.
2018-05-23 17:57:55 +09:00
Malik Olivier Boussejra
429073a29c
window_draw_list: Add support for drawing text
2018-05-23 11:33:11 +09:00
Malik Olivier Boussejra
6f2b1d76b4
Ui: Add safe wrapper "is_window_hovered"
2018-05-22 00:23:00 +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
Joonas Javanainen
c838bc1939
Merge pull request #119 from malikolivier/update-cimgui-to-1.53.1
...
Update cimgui to 1.53.1
2018-05-14 09:07:41 +03:00
Malik Olivier Boussejra
500e64d67e
[cimgui 1.53.1] StyleVar: Add missing WindowBorderSize
...
Use WindowBorderSize as replacement for border boolean in window.rs
2018-05-14 11:53:39 +09: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
Malik Olivier Boussejra
0e1ec3cb6a
fonts: Use ImFontConfig_DefaultConstructor to initialize sys::ImFontConfig
2018-05-05 12:13:28 +09:00
Malik Olivier Boussejra
e4668f0221
[cimgui 1.53.1] Add binding to ImFont_GetDebugName
2018-05-01 13:28:45 +09:00
Malik Olivier Boussejra
b57d639ca4
[cimgui 1.53.1] Add raw bindings to drag/drop API
...
Unfortunately, it seems necessary to pull a new dependency, libc, to be able
to use size_t.
Is there any alternative?
2018-05-01 11:31:43 +09:00
Malik Olivier Boussejra
e64a1cff05
[cimgui 1.53.1] Add binding to ImDrawList_AddImageRounded
2018-05-01 11:22:12 +09:00
Malik Olivier Boussejra
9cd0e61a25
[cimgui 1.53.1] Add binding to ImFontConfig_DefaultConstructor
2018-05-01 11:21:44 +09:00
Malik Olivier Boussejra
cd37cf9993
[cimgui 1.53.1] Add binding to igEndFrame
2018-05-01 11:21:17 +09:00
Malik Olivier Boussejra
4eef43f62b
[cimgui 1.53.1] Add binding to igShowStyleSelector and igShowFontSelector
2018-05-01 11:20:37 +09:00
Malik Olivier Boussejra
20d40f0e01
[cimgui 1.53.1] Add binding to igSetItemDefaultFocus
...
Group functions related to focus management together.
2018-05-01 11:18:37 +09:00
Malik Olivier Boussejra
c016ed66b7
[cimgui 1.53.1] Allow access to ImDrawListSharedData
...
Add binding to igGetDrawListDrawData and igGetOverlayDrawList.
2018-05-01 11:16:54 +09:00
Malik Olivier Boussejra
db5059d179
[cimgui 1.53.1] Add new combo functions
...
Move igCombo{1,2,3} into the combo group along with igBeginCombo and
igEndCombo.
2018-05-01 11:13:25 +09:00
Malik Olivier Boussejra
4b788d095c
[cimgui 1.53.1] Add new Dark and Light styles
2018-05-01 11:11:00 +09:00
Malik Olivier Boussejra
e52193be40
[cimgui 1.53.1] ImGuiIO: Add mouse_drag_max_distance_abs
2018-05-01 11:08:53 +09:00
Malik Olivier Boussejra
d0543bbcdd
[cimgui 1.53.1] ImDrawCornerFlags: switch BotLeft and BotRight
2018-04-30 21:49:31 +09:00
OKAMURA, Yasunobu
9b283bbad0
Add input_text_multiline
2018-04-30 15:14:31 +09:00