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 |
|
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
|
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
|
932319256f
|
Restructure ImString/ImStr creation functions
|
2017-07-12 23:30:27 +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
|
301b4939f1
|
Add multi-sliders
|
2017-04-25 18:00: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
|
e875305b29
|
Overhaul ImStr constructors
|
2015-08-26 12:43:08 +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
|
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 |
|