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
Sebastian Thiel
c70205501d
Use State::default() directly, instead of per-member.
...
The example is sightly simplified that way, even though showing the
`..` notation for struct field initialization is probably a good thing
to do as well just for the learning experience.
2015-08-23 12:36:01 +02:00
Joonas Javanainen
793e4f9935
Mention imgui-sys in README
2015-08-23 09:57:04 +03:00
Joonas Javanainen
545c80f309
Split ffi module into imgui-sys
2015-08-23 09:56:13 +03:00
Joonas Javanainen
3a550208c9
Frame -> Ui
2015-08-23 09:41:03 +03:00
Joonas Javanainen
f6f5dc6162
Avoid extra copy when using im_str! formatting
2015-08-21 18:33:12 +03:00
Joonas Javanainen
eef67ddecc
Use mutable references instead of return values
...
It seems to be more ergonomical with the underlying library
2015-08-21 00:08:40 +03:00
Joonas Javanainen
9a37676580
Remove unnecessary casts
...
On all currently supported platforms c_float = f32, c_int = i32
2015-08-20 23:40:44 +03:00
Joonas Javanainen
b523fe9fb9
Window options
2015-08-20 23:25:57 +03:00
Joonas Javanainen
25f91b0b2e
Update README
2015-08-20 23:02:10 +03:00
Joonas Javanainen
0a9dc8033e
Update README
2015-08-20 22:49:14 +03:00
Joonas Javanainen
ca1da00734
Autoresizing window and friends
2015-08-20 22:47:57 +03:00
Joonas Javanainen
8e7ae0327c
Manipulating window title
2015-08-20 22:18:56 +03:00
Joonas Javanainen
43e72afe85
Collapsing header + misc
2015-08-20 22:04:22 +03:00
Joonas Javanainen
90d777ce93
Bump version to 0.0.2
2015-08-20 21:46:19 +03:00
Joonas Javanainen
9d9dab7c8c
Add simplified hello world example
2015-08-20 19:13:59 +03:00
Joonas Javanainen
7976fbee99
Add demo instructions to README
2015-08-20 18:57:20 +03:00