33 Commits

Author SHA1 Message Date
Joonas Javanainen
da9ee9302b
Fixes recommended by clippy 2018-08-12 19:20:14 +03:00
Joonas Javanainen
319f7aa4c6
Reformat everything 2018-08-12 14:16:56 +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
112d21133b [cimgui 1.53.1] Remove ImGuiWindowFlags::ShowBorders 2018-04-30 11:56:10 +09:00
Joonas Javanainen
6a363840ec
Upgrade to imgui/cimgui 1.52 2017-11-12 23:32:44 +02:00
Joonas Javanainen
c12d543514
Re-export imgui_sys as sys 2017-11-04 11:14:58 +02:00
Joonas Javanainen
f54fae81f1
Deprecate Window::bg_alpha in preparation for 1.52 2017-11-02 22:06:14 +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
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
373801b9be
Remove deprecated functions 2017-02-15 20:30:36 +02:00
Joonas Javanainen
61e531fc80
Provide an upgrade path for functions that had a typo 2017-02-14 20:03:26 +02:00
Joonas Haapala
d816b97442 Fix typos in function names 2016-12-10 21:37:57 +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
b903f65def Upgrade to imgui/cimgui 1.49 2016-06-12 01:32:19 +03:00
Joonas Javanainen
56f1cb964d Add rustfmt configuration and reformat 2016-06-10 22:58:50 +03: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
1ef649900f ImVec2/ImVec4 conversions 2015-10-18 13:33:14 +03:00
Joonas Javanainen
e875305b29 Overhaul ImStr constructors 2015-08-26 12:43:08 +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
fa5bd75bb3 Fix formatting
I don't know where that 3 spaces nonsense came from... :/
2015-08-25 22:14:30 +01: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
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
8bf34e8ced API changes + additions 2015-08-20 18:38:40 +03:00