23 Commits

Author SHA1 Message Date
Malik Olivier Boussejra
abd39597ed input: Add API to set read_only, password and no_undo_redo falgs 2018-04-30 12:46:18 +09:00
Joonas Javanainen
c12d543514
Re-export imgui_sys as sys 2017-11-04 11:14:58 +02:00
Joonas Javanainen
907f9dbdeb
Reformat with rustfmt 0.9.0 2017-11-02 22:01:02 +02:00
Joonas Javanainen
f92e21bf30
Upgrade to bitflags 1.0 and namespacing 2017-11-02 21:52:43 +02:00
Joonas Javanainen
332ef93633
Adapt to 1.51 changes 2017-11-02 21:01:01 +02:00
Joonas Javanainen
96fe2a8e15
Builder constructors take &Ui instead 2017-07-13 00:15:13 +03:00
Joonas Javanainen
eca0ad9ec0
Hide all builder "new" functions
These are very unsafe when used outside the Ui::* functions.
2017-07-12 23:39:09 +03:00
Joonas Javanainen
c6343d207b
ImString/ImStr fixes 2017-05-12 23:25:17 +03:00
ostrosco
3dc807473b - fixing discrepency in pointer type between ARM and other architectures 2017-05-07 00:07:51 -06:00
Joonas Javanainen
cfd887d2ab
Add capacity_with_nul to ImString 2017-04-25 23:26:19 +03:00
Joonas Javanainen
cf587e4de4
Split ImStr to ImStr and ImString
It might be better to use the utf8-cstr crate, but it doesn't have the
owned<->borrowed duality, so it would be used as an implementation
detail only.
2017-04-25 23:26:19 +03:00
Magnus Ulimoen
26667ce6ee Rustfmt and clippy-lints fixes
Clippy-lints reveals multiple unnecessary transmutes
2017-04-25 18:20:33 +02:00
Joonas Javanainen
aeea0612ac
Reformat with cargo fmt 2017-02-15 20:43:20 +02:00
Joonas Javanainen
ca5c6ac2f8
Replace libc dependency with std::os::raw 2017-02-14 20:22:52 +02:00
Joonas Javanainen
9c56e48140 Use in-place mutation in builders
Since we consume self anyway, this style is much more readable
and might have better performance in non-optimized builds.
2016-08-07 20:01:20 +03:00
Joonas Javanainen
56f1cb964d Add rustfmt configuration and reformat 2016-06-10 22:58:50 +03: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
8e2c5640e4 Forgot to expose decimal_precision. 2016-01-14 23:08:12 +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
4d378606f1 Preliminary text input stuff 2015-10-18 13:28:11 +03:00