731 Commits

Author SHA1 Message Date
Joonas Javanainen
53780568d0 Remove legacy ImDrawData state passing
Since 1.45 the current ImDrawData is available using igGetDrawData() so
no callback is needed at all.
2015-12-23 14:56:09 +00:00
Joonas Javanainen
03e24243f2 Upgrade to imgui/cimgui 1.46 2015-12-23 14:51:55 +00:00
Joonas Javanainen
a854953236 Upgrade to imgui/cimgui 1.45 2015-12-23 14:35:45 +00:00
Joonas Javanainen
9a53bfe019 Bump versions to 0.0.6-pre 2015-11-30 18:19:09 +02:00
Joonas Javanainen
1babfdbef2 Release: 0.0.5 2015-11-30 18:15:21 +02:00
Joonas Javanainen
9ed505f5df Upgrade to Glium 0.12 2015-11-30 18:14:24 +02:00
Joonas Javanainen
c4a3605f49 Upgrade glium and libc 2015-11-14 14:36:18 +02:00
Joonas Javanainen
fed60b90e2 Bump versions to 0.0.5-pre 2015-10-26 19:40:57 +02:00
Joonas Javanainen
0c1ac95d44 Release: 0.0.4 2015-10-26 19:35:37 +02:00
Joonas Javanainen
5f63372be6 More test_window_impl work 2015-10-18 13:39:23 +03:00
Joonas Javanainen
1ef649900f ImVec2/ImVec4 conversions 2015-10-18 13:33:14 +03:00
Joonas Javanainen
4d378606f1 Preliminary text input stuff 2015-10-18 13:28:11 +03:00
Joonas Javanainen
8ec34e0701 Fix input character passing
escape_default is actually not the right function here, because it is
meant for escaping strings with C-like rules.

For example, character " becomes the string \"

Since Strings are UTF-8, we can just directly allocate a String as an
intermediate buffer.
2015-10-18 12:37:14 +03:00
Joonas Javanainen
20bf8cd7f0 Merge pull request #9 from Twinklebear/master
Support for Text Input
2015-10-18 10:35:28 +03:00
Will Usher
2fa549bcc9 Wrap ProgramChooserCreationError properly 2015-10-17 14:14:27 -06:00
Will Usher
064235f8c3 Clean up debug logging in example event handling 2015-10-17 13:51:49 -06:00
Will Usher
6eb3ffefdf Encode string of UTF8 chars using encode_default API
Using encode_utf8 will be better when it stabilizes since we won't need
the String intermediate and can go directly to a Vec<u8>.

Update to glium 0.10 to resolve ctrl/shift/etc virtual keycodes on Win10
2015-10-17 13:51:40 -06:00
Will Usher
238f5fead1 Cleaner method for sending keys to ImGui across platforms
Use Virtual Key codes however glutin is missing virtual key codes for
Ctrl/Shift and such on my Win10 machines
2015-10-17 13:51:29 -06:00
Will Usher
8520d0e245 Starting to work on keyboard input
Update examples to use keyboard input
2015-10-17 13:51:21 -06:00
Joonas Javanainen
2c704c2ba7 Oops! Missed one version bump 2015-10-17 22:37:38 +03:00
Joonas Javanainen
96e29c8db8 Merge pull request #10 from matklad/expose-fps
add function to get framerate
2015-10-17 22:37:10 +03:00
Aleksey Kladov
9f38a831c6 add function to get framerate 2015-10-17 15:44:11 +03:00
Joonas Javanainen
4a7d6a3223 Bump versions to 0.0.4-pre 2015-09-27 16:53:02 +03:00
Joonas Javanainen
05817c10a6 Release: 0.0.3 2015-09-27 16:52:34 +03:00
Joonas Javanainen
32f789ae26 Upgrade to Glium 0.9.0 2015-09-27 16:02:57 +03:00
Joonas Javanainen
05b3067aba Remove SDL2 integration
It's too simple and not worth having in this library
2015-09-27 15:58:04 +03:00
Joonas Javanainen
91eec219f6 Unsafe function to get the "current UI" out of thin air 2015-09-27 15:57:08 +03:00
Joonas Javanainen
21dca8bae6 Also dump imgui-sys dependency version 2015-09-03 08:02:16 +03:00
Joonas Javanainen
c41f0c4a6e Bump versions to 0.0.3-pre 2015-08-31 21:28:30 +03:00
Joonas Javanainen
2a64d136f4 imgui-sys doesn't have a README 2015-08-31 21:25:30 +03:00
Joonas Javanainen
14c04ddda6 Move cimgui under imgui-sys 2015-08-31 21:23:01 +03:00
Joonas Javanainen
f301da3694 Expose more ImGuiIO functionality 2015-08-30 22:17:01 +03:00
Joonas Javanainen
bd2930e758 Simplify igGetIO calls 2015-08-26 13:37:37 +01:00
Joonas Javanainen
5baad7094b Use 'p lifetime (as in Parameter) consistently 2015-08-26 12:46:29 +01:00
Joonas Javanainen
e875305b29 Overhaul ImStr constructors 2015-08-26 12:43:08 +01:00
Joonas Javanainen
1811248fb6 Update test_window_impl 2015-08-26 12:19:54 +01:00
Joonas Javanainen
1ea468025f Add missing #[inline] 2015-08-26 12:16:18 +01:00
Joonas Javanainen
cca4c17417 Add #[must_use] on builders 2015-08-26 12:16:07 +01:00
Joonas Javanainen
9b2d199d3d Style editor 2015-08-26 12:08:37 +01:00
Joonas Javanainen
b7295ae9ae Small button 2015-08-26 12:00:44 +01:00
Joonas Javanainen
a62e6ac146 ImStr can implement Clone 2015-08-26 11:54:19 +01:00
Joonas Javanainen
b14999b5a2 Trees 2015-08-26 11:54:19 +01:00
Joonas Javanainen
e8d7db3d9d Fix test_window_impl.rs path in README 2015-08-25 22:14:30 +01:00
Joonas Javanainen
fa5bd75bb3 Fix formatting
I don't know where that 3 spaces nonsense came from... :/
2015-08-25 22:14:30 +01:00
Joonas Javanainen
1a42c45373 Remove unnecessary extra module
Glium support is already in lib.rs
2015-08-24 21:33:38 +01:00
Joonas Javanainen
157b7fed6b Separate examples for Rust and C++ test windows
Fixes #4
2015-08-24 20:55:13 +01:00
Joonas Javanainen
235f9918d3 Fix frame vs ui terminology 2015-08-24 20:35:10 +01:00
Joonas Javanainen
69fbe0ce9d Merge pull request #3 from ocornut/patch-1
Example window has no border by default.
2015-08-24 19:37:53 +01:00
omar
47fde73465 Example window has no border by default. 2015-08-24 12:04:40 +02:00
Joonas Javanainen
2466a2391e Merge pull request #2 from Byron/master
Use `State::default()` directly, instead of per-member.
2015-08-23 16:52:04 +01:00