Joonas Javanainen
c2ba78e57a
Merge pull request #86 from shockham/master
...
Update glium to 0.18
2017-10-24 20:34:03 +03:00
shockham
cb55accd7a
Update glium to 0.18
2017-10-24 16:31:27 +01:00
Joonas Javanainen
4a9cb5eec3
Merge pull request #85 from luteberget/master
...
Blurry fonts on glium renderer
2017-10-24 09:12:15 +03:00
Bjørnar Luteberget
8a3d890fc3
Glium renderer: set both texture sampler modes, avoids blurry custom fonts.
2017-10-23 22:03:48 +02:00
Joonas Javanainen
82ece59f08
Update CHANGELOG
2017-10-03 21:22:46 +03:00
Joonas Javanainen
7a30cb1037
Switch to the cc crate
2017-10-03 21:19:28 +03:00
Joonas Javanainen
c3128dec77
Bump minimum Rust version to 1.19
...
One of the dependencies uses the eprintln macro :/
2017-10-03 21:14:16 +03:00
Joonas Javanainen
1152d25357
Merge pull request #81 from thelearnerofcode/master
...
Changed 'gcc::Config::new()' to 'gcc::Build::new()' in build.rs.
2017-10-03 21:13:15 +03:00
thelearnerofcode
a918abf366
Changed 'gcc::Config::new()' to 'gcc::Build::new()' in imgui-sys/build.rs.
2017-10-01 13:47:58 -04:00
Joonas Javanainen
b609b6fa70
Merge pull request #75 from onelson/master
...
expose a method to set font_global_scale
2017-09-05 22:36:57 +03:00
Joonas Javanainen
1a2f5427ec
Merge pull request #74 from Palmr/radio-buttons
...
Added functions in lib for radios
2017-09-05 22:35:13 +03:00
Owen Nelson
29bd647f4d
expose a method to set font_global_scale
2017-09-04 12:45:25 -07:00
Nick Palmer
bce412d625
Fixed doc tests
2017-09-02 21:54:15 +01:00
Nick Palmer
f5e9382fbe
Removed explicit returns in favour of the rustier implicit style
2017-09-02 20:09:47 +01:00
Nick Palmer
206056fc9f
Return the bool for pressed from the underlying functions and added
...
comments documenting example use.
2017-09-02 19:59:14 +01:00
Nick Palmer
5dd0079880
Added functions in lib for radios
2017-08-31 23:05:04 +01:00
Joonas Javanainen
8621bbf116
Better shaders
2017-08-05 15:45:22 +03:00
Joonas Javanainen
51329d5938
Remove unimplemented resize handler
...
It doesn't seem to be necessary at all with glium.
2017-07-30 18:47:43 +03:00
Joonas Javanainen
a707af1511
Add travis badges to all published crates
2017-07-23 14:12:07 +03:00
Joonas Javanainen
c74c51c58b
Bump version to 0.0.16-pre
2017-07-23 14:10:04 +03:00
Joonas Javanainen
c55bc7e072
Release: 0.0.15
2017-07-23 14:06:36 +03:00
Joonas Javanainen
feb8a7a46d
Update CHANGELOG
2017-07-23 13:27:48 +03:00
Joonas Javanainen
68be5f26a6
Travis should build with 1.17.0
2017-07-23 13:25:56 +03:00
Joonas Javanainen
43c40849c3
Merge pull request #64 from brendanzab/update-glutin
...
Update glutin and dependencies that rely on it
2017-07-22 20:29:15 +03:00
Brendan Zabarauskas
9753f45b56
Remove support for 1.16.0 :’(
2017-07-23 01:46:49 +10:00
Brendan Zabarauskas
f33567a1dc
Update glutin and dependencies that rely on it
2017-07-22 17:25:55 +10:00
Joonas Javanainen
c17157b6ec
Can't have field shorthands in 1.16 :'(
2017-07-14 22:08:10 +03:00
Joonas Javanainen
96fe2a8e15
Builder constructors take &Ui instead
2017-07-13 00:15:13 +03:00
Joonas Javanainen
a48f0bdbd9
Add missing PhantomData to builders
...
I keep forgetting about this :/ :/ :/
2017-07-12 23:51:24 +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
c4cc165c5d
More Into<ImVec2> sizes
2017-07-12 23:35:22 +03:00
Joonas Javanainen
932319256f
Restructure ImString/ImStr creation functions
2017-07-12 23:30:27 +03:00
Joonas Javanainen
401026a697
Update CHANGELOG
2017-07-12 23:03:49 +03:00
Joonas Javanainen
c1fc7cfbec
Merge pull request #63 from bjadamson/into-imvec2
...
Use Into<ImVec2> instead of ImVec2 directly
2017-07-09 15:16:13 +03:00
Benjamin Adamson
0c483e9d44
Use Into<ImVec2> instead of ImVec2 directly
2017-07-08 16:14:19 -07:00
Joonas Javanainen
fe7f4ed277
Merge pull request #62 from bjadamson/color-var
...
Expose color variable stack to user.
2017-07-09 00:06:42 +03:00
Benjamin Adamson
03c1cccec6
Removed duplicated line from merge
2017-07-08 12:20:48 -07:00
Benjamin Adamson
da0b616f3c
Merge branch 'master' into color-var
2017-07-08 12:03:04 -07:00
Joonas Javanainen
a9949b3849
Merge pull request #58 from bjadamson/child-frame
...
Initial idea for supporting child frame's for windows.
2017-07-08 14:01:15 +03:00
Benjamin Adamson
2c53c9ed59
Merge branch 'master' into child-frame
2017-07-08 03:50:41 -07:00
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
d71612376c
Implemented feedback.
...
Switch color to using Into idiom.
Updated interface of with_color_vars() per suggestion.
2017-07-08 02:26:27 -07:00
Benjamin Adamson
0f52e197c0
Inline functions on the private functions, not public API.
2017-07-08 02:20:51 -07:00
Benjamin Adamson
23de1746f4
Feedback implemented
2017-07-08 02:15:59 -07:00
Benjamin Adamson
f5ed221b4e
Expose color variable stack to user.
...
In order to have colored and wrapped text, I needed to use this
functionality in my game. This PR implements a version similar to
with_style_var().
From my testing it is safe to use a Vec4 for all the variants of the
enumeration, so I didn't bother putting an enumeration in imgui-rs, I
just reused the enumeration defined in imgui-sys directly.
Let me know if you have any feedback on this.
2017-07-08 02:04:13 -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
Benjamin Adamson
2f1cc2e9a8
Initial idea for supporting child frame's for windows.
...
Imgui allows the user to create child frame's, and render into them.
This isn't exposed currently, this is my first idea at how rust can
support child frame's.
Presently it's not the easiest to use, to have a window with a child
frame supported, internally the imgui library must have called
beginWindow() for the parent window, before beginChild() is ever called
for the child frame. Doing this without causing unneeded
allocations/complexity, and making the API ergonomic is something I hope
to work on next / get some feedback on.
2017-07-07 02:30:34 -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