Joonas Javanainen
a62e6ac146
ImStr can implement Clone
2015-08-26 11:54:19 +01:00
Joonas Javanainen
b14999b5a2
Trees
2015-08-26 11:54:19 +01:00
Joonas Javanainen
e8d7db3d9d
Fix test_window_impl.rs path in README
2015-08-25 22:14:30 +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
1a42c45373
Remove unnecessary extra module
...
Glium support is already in lib.rs
2015-08-24 21:33:38 +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
Joonas Javanainen
69fbe0ce9d
Merge pull request #3 from ocornut/patch-1
...
Example window has no border by default.
2015-08-24 19:37:53 +01:00
omar
47fde73465
Example window has no border by default.
2015-08-24 12:04:40 +02:00
Joonas Javanainen
2466a2391e
Merge pull request #2 from Byron/master
...
Use `State::default()` directly, instead of per-member.
2015-08-23 16:52:04 +01: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
793e4f9935
Mention imgui-sys in README
2015-08-23 09:57:04 +03: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
f6f5dc6162
Avoid extra copy when using im_str! formatting
2015-08-21 18:33:12 +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
25f91b0b2e
Update README
2015-08-20 23:02:10 +03:00
Joonas Javanainen
0a9dc8033e
Update README
2015-08-20 22:49:14 +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
90d777ce93
Bump version to 0.0.2
2015-08-20 21:46:19 +03:00
Joonas Javanainen
9d9dab7c8c
Add simplified hello world example
2015-08-20 19:13:59 +03:00
Joonas Javanainen
7976fbee99
Add demo instructions to README
2015-08-20 18:57:20 +03:00
Joonas Javanainen
7e93775fa7
Crate metadata
2015-08-20 18:51:30 +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
35a8324f78
Relax frame lifetime
2015-08-18 21:22:24 +03:00
Joonas Javanainen
822305ef4e
No need to have a mutable reference
2015-08-18 20:37:37 +03:00
Joonas Javanainen
4f5982dfa9
Add first widgets
2015-08-18 20:08:10 +03:00
Joonas Javanainen
d970e287d1
Add f32 constructors for ImVec2/ImVec4
2015-08-18 19:56:11 +03:00
Joonas Javanainen
8c3c485cd5
Fix FFI function mistakes
2015-08-18 19:55:55 +03:00
Joonas Javanainen
0c916b6e2b
Bare-bones test window sample
2015-08-18 00:12:58 +03:00
Joonas Javanainen
ff2ddf00df
Separate impl block for sdl2
2015-08-18 00:07:53 +03:00
Joonas Javanainen
d8644c8eae
Basic mouse support
2015-08-18 00:07:12 +03:00
Joonas Javanainen
50bfb23dd0
RendererError should implement Display
2015-08-18 00:04:05 +03:00
Joonas Javanainen
67be617905
Minor README cleanup
2015-08-16 23:42:10 +03:00
Joonas Javanainen
ad10dff1cf
Initial commit
2015-08-16 21:10:03 +03:00