40 Commits

Author SHA1 Message Date
Joonas Javanainen
d6456d50fa Use std::time instead of the deprecated time crate 2016-08-07 20:01:20 +03:00
Brendan Zabarauskas
e57df7173a Simplify window size accessing 2016-06-17 23:02:04 +10:00
Brendan Zabarauskas
3548542ca5 Make hidpi implementation consistent with upstream 2016-06-13 22:22:47 +10:00
Brendan Zabarauskas
88878896fa Simplify type signature 2016-06-13 16:07:18 +10:00
Brendan Zabarauskas
f075dde395 Move hidpi_factor into ImGui struct 2016-06-13 14:43:51 +10:00
Brendan Zabarauskas
734eda2d57 Add hidpi support 2016-06-13 14:31:49 +10:00
Joonas Javanainen
b903f65def Upgrade to imgui/cimgui 1.49 2016-06-12 01:32:19 +03:00
Cameron Hart
bbb46c7446 Removed i32 and f32 variants of input and slider. 2016-06-09 08:12:40 +10:00
Cameron Hart
27bbe10107 Expose parameters to igSelectable. 2016-06-05 09:51:49 +10:00
Cameron Hart
2a82d19eff Merge branch 'upstream' into input 2016-06-04 10:44:33 +10:00
shockham
a503ffe365 Updated to glium 0.14 2016-04-13 10:29:59 +01:00
Cameron Hart
9e78e86000 Add support for popups and selectable widgets. 2016-01-17 20:05:30 +11:00
Cameron Hart
2d9f63a1b8 Added support for combo widget 2016-01-17 00:51:46 +11:00
Cameron Hart
9bcb3cb0d5 Added color editing widgets 2016-01-15 08:23:33 +11:00
Cameron Hart
9a288b63f0 Added int array inputs
Also added aliases for input_f32 and input_i32. I don't think this
naming works so well with the arrays.
2016-01-15 07:49:00 +11:00
Cameron Hart
3c1e1e129a Added float array inputs 2016-01-15 00:17:43 +11:00
Cameron Hart
c4fdf854ca Added input_float, some change in macros and formatting 2016-01-14 22:55:12 +11:00
Cameron Hart
1c13208c22 Added input for single int. 2016-01-14 00:18:23 +11:00
Joonas Javanainen
a854953236 Upgrade to imgui/cimgui 1.45 2015-12-23 14:35:45 +00:00
Joonas Javanainen
5f63372be6 More test_window_impl work 2015-10-18 13:39:23 +03:00
Will Usher
064235f8c3 Clean up debug logging in example event handling 2015-10-17 13:51:49 -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
1811248fb6 Update test_window_impl 2015-08-26 12:19:54 +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
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
omar
47fde73465 Example window has no border by default. 2015-08-24 12:04:40 +02: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
3a550208c9 Frame -> Ui 2015-08-23 09:41:03 +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
b523fe9fb9 Window options 2015-08-20 23:25:57 +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
9d9dab7c8c Add simplified hello world example 2015-08-20 19:13:59 +03:00
Joonas Javanainen
8bf34e8ced API changes + additions 2015-08-20 18:38:40 +03:00
Joonas Javanainen
e261db71ba Experiments with menus 2015-08-19 00:35:33 +03:00
Joonas Javanainen
c0c49e7bbe Restructure examples 2015-08-18 21:23:09 +03:00
Joonas Javanainen
0c916b6e2b Bare-bones test window sample 2015-08-18 00:12:58 +03:00