275 Commits

Author SHA1 Message Date
Joonas Javanainen
75c845bfa4 Merge pull request #56 from bjadamson/master
Expose more functionality from imgui.
2017-07-08 13:02:37 +03:00
Benjamin Adamson
0f52e197c0 Inline functions on the private functions, not public API. 2017-07-08 02:20:51 -07:00
Benjamin Adamson
6cb0b54539 Expose more functionality from imgui.
Implement new_line(), calc_text_size(), and with_style_var_pushed_*()
methods I needed while making a demo.

I'm pretty new to Rust, but ran into this issue and thought I could
maybe solve it while I was learning the library.
https://github.com/Gekkio/imgui-rs/issues/39

I'm curious on your thoughts on these additions. Please LMK if you would
prefer a different direction, I'm pretty new to both Rust and this
library so please let me know if you have any suggestions!

I'm hoping to contribute to this library moving forward, as I work on
my game's UI.
2017-07-08 01:51:11 -07:00
Joonas Javanainen
5b42d5d079
Repository name is case sensitive in some places 2017-06-18 19:03:38 +03:00
Joonas Javanainen
84d04bdda6
Bump version to 0.0.15-pre 2017-06-18 17:09:55 +03:00
Joonas Javanainen
66d4551ea7
Release: 0.0.14 2017-06-18 16:40:31 +03:00
Joonas Javanainen
ea79e860e4
Upgrade to bitflags 0.9 2017-06-18 11:06:16 +03:00
Joonas Javanainen
bfd9419ae8 Merge pull request #53 from Gekkio/feature/imgui-1.50
Upgrade cimgui and imgui to 1.50
2017-06-17 19:22:19 +03:00
Joonas Javanainen
eeecd7f95e
Update CHANGELOG 2017-06-17 16:36:52 +03:00
Joonas Javanainen
d93a388c7f
imgui 1.50 updates 2017-06-17 16:36:17 +03:00
Joonas Javanainen
29a523747b
Add new cimgui bindings 2017-06-17 16:36:17 +03:00
Joonas Javanainen
792f95979c
Add ImGuiListClipper functions to imgui-sys 2017-06-17 16:36:17 +03:00
Joonas Javanainen
4f94557a3e
Upgrade cimgui and imgui to 1.50 2017-06-17 16:36:17 +03:00
Joonas Javanainen
bc5dee3766 Merge pull request #44 from Gekkio/feature/gfx-renderer
gfx 0.16 support and renderer implementation
2017-06-17 16:33:33 +03:00
Joonas Javanainen
d9fdf9b58b
Remove unintended struct field shorthand 2017-06-17 15:07:08 +03:00
Joonas Javanainen
aa606f9111
Update CHANGELOG 2017-06-17 14:32:21 +03:00
Joonas Javanainen
2b59e291d3
Fix Rust version in travis.yml 2017-06-17 14:30:59 +03:00
Joonas Javanainen
dfc8fe0921
Bump minimum Rust version to 1.16 2017-06-17 14:24:49 +03:00
Joonas Javanainen
68fec8a870
Upgrade to gfx 0.16 2017-06-17 14:23:47 +03:00
Joonas Javanainen
16d19c1855
Update render target after a resize 2017-06-17 13:23:15 +03:00
Joonas Javanainen
719a1a3317
Wrap gfx renderer errors 2017-06-17 13:17:48 +03:00
Joonas Javanainen
7cdac30bba
Upgrade to gfx 0.15 2017-06-17 13:17:48 +03:00
Joonas Javanainen
19ff43ddf8
Add Cargo.toml categories 2017-06-17 13:17:48 +03:00
Joonas Javanainen
4ee27d149c
Initial working but dirty gfx renderer 2017-06-17 13:17:48 +03:00
Joonas Javanainen
9db8cf94cf
Initial gfx support in imgui-sys 2017-06-17 13:17:48 +03:00
Joonas Javanainen
800f9d1b9c
Part 3 2017-05-24 19:40:17 +03:00
Joonas Javanainen
e5beb54457
Part 2 2017-05-24 19:35:23 +03:00
Joonas Javanainen
3bef62fdc4
Let's try to fix the 1.15 build 2017-05-24 19:33:21 +03:00
Joonas Javanainen
ace021b94a
Let's use encode_utf8 2017-05-12 23:35:43 +03:00
Joonas Javanainen
4dfdf0ae5e
Document and test minimum Rust version 2017-05-12 23:30:51 +03:00
Joonas Javanainen
c6343d207b
ImString/ImStr fixes 2017-05-12 23:25:17 +03:00
Joonas Javanainen
8199d7d778
Update changelog 2017-05-12 22:46:49 +03:00
Joonas Javanainen
02223d9e19 Merge pull request #50 from ostrosco/hotfix/arm-string-ptr
Changed string pointer casts to be inferred for cross-compiling to ARM.
2017-05-07 10:02:02 +03:00
ostrosco
3dc807473b - fixing discrepency in pointer type between ARM and other architectures 2017-05-07 00:07:51 -06:00
Joonas Javanainen
ef9b4e2db8
Move the examples once again 2017-04-29 19:46:08 +03:00
Joonas Javanainen
99cce60306
I think we're not *that* experimental anymore 2017-04-29 19:37:34 +03:00
Joonas Javanainen
2c405bcc7c
Update Cargo.toml metadata 2017-04-29 19:37:34 +03:00
Joonas Javanainen
64511f26bd Merge pull request #46 from Gekkio/feature/imstr-overhaul
Split ImStr to ImStr and ImString
2017-04-26 00:16:40 +03:00
Joonas Javanainen
11d733eaa8
Add dummy examples pointer file 2017-04-26 00:13:17 +03: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
Joonas Javanainen
8e13403523
Bump version to 0.0.14-pre 2017-04-25 23:24:40 +03:00
Joonas Javanainen
f086d3cdde
Release: 0.0.13 2017-04-25 23:22:34 +03:00
Joonas Javanainen
7351038ff8
Use a Cargo workspace 2017-04-25 23:05:49 +03:00
Joonas Javanainen
0d25b22804
Move examples under imgui-glium-renderer
This avoids a cyclical dependency
2017-04-25 22:58:32 +03:00
Joonas Javanainen
9662712148
Mark 0.0.12 as yanked in changelog :( 2017-04-25 22:53:17 +03:00
Joonas Javanainen
d30ab5e71f
Bump version to 0.0.13-pre 2017-04-25 22:45:11 +03:00
Joonas Javanainen
f97ebc82fc
Release: 0.0.12 2017-04-25 22:43:38 +03:00
Joonas Javanainen
accbe61cdc
Update changelog 2017-04-25 22:37:05 +03:00
Joonas Javanainen
eb53a3a3cd Merge pull request #48 from mulimoen/clippy_warnings
Rustfmt and clippy-lints fixes
2017-04-25 22:32:49 +03:00