11 Commits

Author SHA1 Message Date
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
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
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
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