Jonathan Spira
b03e7d7a16
clarified some doc comments and made the unsafe variant simpler to understand
2021-01-24 15:00:54 -08:00
Jonathan Spira
35c0cf0e6f
drag and drop experimental implementation
2021-01-24 14:55:03 -08:00
Thom Chiovoloni
17be09eaef
Fixup changelog, add missing entries, and move it to use 4-space indent and not 2
2020-12-31 21:06:47 -08:00
nsf
171d86aea1
Refactor WindowDrawList into DrawListMut and fix #413 .
...
- Rename WindowDrawList -> DrawListMut. It's not about window draw lists, but
about background/foreground draw lists as well. The naming was not an easy
choice, but seems like in rust it's a common convention to add a Mut suffix for
mutable entities. Imgui-rs already has DrawList and it acts as an immutable
reference type for rendering implementations to consume. Hence the name
DrawListMut, which becomes a mutable reference to draw list with methods
to modify it.
- Add Ui::get_foreground_draw_list(). Same as Ui::get_background_draw_list()
but for foreground.
- Add draw_list example which shows the use of all three draw lists
(window, bg, fg).
2020-12-31 20:20:36 -08:00
Thom Chiovoloni
81e21f5853
Whoops, missed a spot
2020-12-31 19:32:44 -08:00
Thom Chiovoloni
64a8d3260d
Attempt to bludgeon the winit/glium/gfx versions into submission
2020-12-31 19:32:44 -08:00
Benedikt Mandelkow
7fce85fe60
update changelog
2020-12-31 13:31:53 -08:00
Benedikt Mandelkow
9724686118
inline calls to key_index into methods which operate on keys
...
to make them easier to call for the user
closes #415
2020-12-31 13:31:53 -08:00
henbr
1ea6073821
fix, make items_count non-optional
2020-12-31 13:06:29 -08:00
henbr
936e63bdfa
Add ListClipper wrapper
2020-12-31 13:06:29 -08:00
Thom Chiovoloni
65bfc1469e
Use compare_exchange and not compare_and_swap
2020-12-31 13:06:04 -08:00
noxabellus
eada611c2c
Fix for default cursor on linux with winit-support
...
* Changes `to_winit_cursor` to give MouseCursor::Default for Arrow
2020-12-19 17:06:18 -08:00
Thom Chiovoloni
59f3559224
Fix readme link
2020-12-16 17:54:32 -08:00
Thom Chiovoloni
18c02472fc
Prep release 0.6.1
2020-12-16 17:53:16 -08:00
dskkato
126d5184f6
Use Path to extract file name.
2020-12-16 17:40:30 -08:00
dkato
02b8c13174
Use MAIN_SEPARATOR to make consistent behavior.
2020-12-16 17:40:30 -08:00
Willem Verstraeten
07cc96363f
Support both glium 0.28 and 0.29
2020-12-16 17:39:57 -08:00
Willem Verstraeten
7e2293bde6
support winit-0.24
2020-12-15 20:47:54 -08:00
Willem Verstraeten
9210130872
added richer support for ListBox
2020-12-13 10:54:35 -08:00
Thom Chiovoloni
e7b8af5939
Fix CI
2020-12-07 21:17:13 -08:00
Thom Chiovoloni
820a197bab
Make pre-bindgened output more portable and support no_std (still requires a libc, though)
2020-12-07 21:17:13 -08:00
Thom Chiovoloni
4f5eba718f
Replace imgui-sys-bindgen with a newly-added xtask setup
2020-12-07 21:17:13 -08:00
Thom Chiovoloni
60847630df
Add 'Blank Issue' template
2020-12-06 09:34:37 -08:00
Thom Chiovoloni
73ae71229b
I'm a dummy
2020-12-06 09:32:21 -08:00
Thom Chiovoloni
04fce1ed28
Readme, ci
2020-12-06 09:32:21 -08:00
Thom Chiovoloni
1eb2a3e272
Ugh, okay, alright, imgui-sys-bindgen is a problem for another day
2020-12-06 09:32:21 -08:00
Thom Chiovoloni
0df089ab29
Move to virtual workspace
2020-12-06 09:32:21 -08:00
Thom Chiovoloni
413ecc05a0
Don't share target cache between lint and tests (CI)
2020-12-06 02:24:59 -08:00
Thom Chiovoloni
84e041d740
cargo clippy
2020-12-06 02:24:59 -08:00
Thom Chiovoloni
79a61ca46d
cargo fmt
2020-12-06 02:24:59 -08:00
Thom Chiovoloni
5bf5c54447
Switch to SCU build (aka 'Single File' or 'Unity build') for imgui/cimgui code
2020-12-06 02:24:59 -08:00
Thom Chiovoloni
63a4ae45a9
Use restore-keys in gha caching
2020-12-05 23:32:54 -08:00
Thom Chiovoloni
12d6f03776
Add caching to CI
2020-12-05 23:32:54 -08:00
Thom Chiovoloni
fde0336af2
Fix a couple missed clippy issues
2020-12-05 23:32:54 -08:00
Thom Chiovoloni
3a1aa3a684
Format again
2020-12-05 23:32:54 -08:00
Thom Chiovoloni
e585291e4d
fix lint errors and ensure examples actually are linted
2020-12-05 23:32:54 -08:00
Thom Chiovoloni
f375007f26
remove github actions boilerplate and redundant tasks, increase GHA parallelism
2020-12-05 23:32:54 -08:00
Thom Chiovoloni
535b073871
Avoid dropping mouse events where press/release is on the same frame in imgui-winit-support
2020-12-05 23:32:54 -08:00
Thom Chiovoloni
4e7990b157
Relax orderings in window_draw_list (and make it actually atomic)
2020-12-05 23:32:54 -08:00
Thom Chiovoloni
c768fc49a4
Use parking_lot::const_recursive_mutex instead of lazy_static
2020-12-05 23:32:54 -08:00
Thom Chiovoloni
54ab45b15c
Support multiple simultaneous winit versions in imgui-winit-support
...
- Resolve conflicts in favor of latest.
- Warn at runtime if more than one is enabled and its a debug build (but
support turning that off via yet another feature)
- Document all of this, including examples and (rough) support policy.
2020-12-05 23:32:54 -08:00
Sadika Sumanapala
eea1f4ca3d
Ownership transfer: fix clone URL
2020-12-05 23:27:33 -08:00
Jonathan Spira
6e54cb39d4
added new for texture id
2020-12-05 19:41:53 -08:00
Thom Chiovoloni
767e8058fb
Updates for ownership transfer.
...
- Various links now point at the new imgui-rs/imgui-rs github repo.
- As discussed, the `authors` entry in Cargo.toml now uses same text
that appears in `LICENSE-MIT`, and doesn't list anybody directly.
2020-12-04 05:54:15 -08:00
Joonas Javanainen
a990a538b6
Glutin requires Rust 1.43 :(
2020-11-15 11:14:32 +02:00
Joonas Javanainen
0d57f87087
Release: 0.6.0
2020-11-15 11:03:42 +02:00
Joonas Javanainen
c6716d6daf
Add peek_input_characters to changelog
2020-11-15 11:00:07 +02:00
Joonas Javanainen
e680aa342e
Update dependencies in examples
2020-11-15 10:58:50 +02:00
Joonas Javanainen
16973bdff3
Merge pull request #386 from Gekkio/feature/imgui-1.79
...
Upgrade to imgui 1.79
2020-11-12 23:17:36 +02:00
Joonas Javanainen
e55db99648
Upgrade to imgui 1.79
2020-11-12 23:03:00 +02:00