Nathan Jeffords
3d386a77b4
attempt to deal with rounding issue when creating the swap chain ( #997 )
...
attempt to deal with rounding issue when creating the swap chain on high DPI displays
2020-12-07 13:32:57 -08:00
thebluefish
08b6aa59f8
Added WindowFocused event ( #956 )
2020-12-07 13:24:25 -08:00
François
a3bca7e464
Fix ci ( #1024 )
...
* fix format
* fix clippy
* used fixed nightly
2020-12-07 11:57:15 -08:00
Corey Farwell
1398d78330
Allow windows to maximized. ( #1004 )
...
Adds a new `set_maximized` method to allow users to maximize windows.
2020-12-04 14:31:17 -08:00
Nathan Jeffords
1aff709d27
Set cursor updates ( #993 )
...
* update `Window::set_cursor_position` to take a `Vec2` instead of `i32`s
this allows fractional coordinates to work correctly
2020-12-03 12:39:03 -08:00
Tomasz Sterna
1f2e4171cf
Store mouse cursor position in Window ( #940 )
2020-12-03 11:30:27 -08:00
Joshua J. Bouw
9f4c8b1b9a
Fix errors and panics to typical Rust conventions ( #968 )
...
Fix errors and panics to typical Rust conventions
2020-12-02 11:31:16 -08:00
François
6b004f7d16
switch winit size to logical to be dpi independent ( #947 )
...
* switch winit size to logical
* make scale factor available from bevy_window
2020-11-30 18:24:49 -08:00
Tomasz Sterna
fd6b787efc
Create winit windows before app.initialize() ( #916 )
...
This is required so startup systems have access
to Windows and WinitWindows resources.
2020-11-25 17:32:41 -08:00
Tomasz Sterna
b2c82955ff
Add set_cursor_position method to Window ( #917 )
2020-11-25 17:31:10 -08:00
bjorn3
d6eb647451
Misc cleanups ( #879 )
...
* Remove cfg!(feature = "metal-auto-capture")
This cfg! has existed since the initial commit, but the corresponding
feature has never been part of Cargo.toml
* Remove unnecessary handle_create_window_events call
* Remove EventLoopProxyPtr wrapper
* Remove unnecessary statics
* Fix unrelated deprecation warning to fix CI
2020-11-17 13:40:18 -08:00
Carter Anderson
3a6f6de277
System Inputs, Outputs, Chaining, and Registration Ergo ( #876 )
...
System Inputs, Outputs, Chaining, and Registration Ergo
2020-11-16 18:18:00 -08:00
Rob
7aac4223d0
Fixed property typos, KeyCode typo. ( #857 )
...
* Fixed property typos, KeyCode typo.
* cargo fmt
2020-11-16 16:33:19 -08:00
Carter Anderson
e03f17ba7f
Log Plugin ( #836 )
...
add bevy_log plugin
2020-11-12 17:23:57 -08:00
Oscar
f54788527b
Add received character ( #805 )
...
* Add ReceivedCharacter window event
* Add ReceivedCharacter window event examples
2020-11-06 17:15:56 -08:00
Carter Anderson
9afe196f16
release: 0.3.0 ( #783 )
2020-11-03 13:34:00 -08:00
David Ackerman
7efb1b1887
Fix initial Android support ( #778 )
...
* Add force touches, fix ui focus system and touch screen system
* Fix examples README. Update rodio with Android support. Add Android build CI
* Alter android metadata in root Cargo.toml
2020-11-03 11:32:48 -08:00
Nathan Stocks
2f87ff6618
Move ElementState to top-level of bevy_input. Resolves #687 . ( #769 )
2020-11-02 18:16:13 -08:00
Carter Anderson
f88cfabdde
asset: WasmAssetIo ( #703 )
...
asset: WasmAssetIo
2020-10-19 17:29:31 -07:00
Tomasz Sterna
149c39950a
Runners explicitly call App.initialize() ( #690 )
2020-10-18 12:25:33 -07:00
Sergey Minakov
a80469bd13
Touch support implementation ( #696 )
...
Adds a basic touch input system
2020-10-18 12:24:01 -07:00
Alex
d004bce0c9
Added basic mouse capture API ( #679 )
...
Added basic cursor lock API
2020-10-16 14:07:01 -07:00
Junfeng Liu
f66a72563e
Expose a pointer of EventLoopProxy to process custom messages ( #674 )
2020-10-15 13:31:34 -07:00
François
76cc25823d
can change window settings at runtime ( #644 )
...
can change window settings at runtime
2020-10-15 11:42:19 -07:00
Grayson Burton
354d71cc1f
The Great Debuggening ( #632 )
...
The Great Debuggening
2020-10-08 11:43:01 -07:00
Downtime
125afb41ac
Exposing winit decorations ( #627 )
...
Exposing winit decorations
2020-10-05 10:51:36 -07:00
Carter Anderson
22a2c88a47
winit: upgrade to 0.23.0 / move back upstream! ( #617 )
2020-10-02 12:24:30 -07:00
Tomasz Sterna
dd6f0b5e04
Option to give existing canvas element as winit window ( #515 )
2020-09-21 16:12:34 -07:00
Logan Magee
b5f3585d2e
Merge some imports in bevy_winit/src/lib.rs ( #522 )
2020-09-21 13:54:47 -07:00
Carter Anderson
74dba5f36b
release: 0.2.1 ( #533 )
2020-09-20 15:58:32 -07:00
Carter Anderson
ba5af4dd56
release: 0.2.0 ( #520 )
2020-09-19 15:29:08 -07:00
Tomasz Sterna
5e3731ddce
Create winit canvas under WebAssembly ( #506 )
2020-09-18 20:11:26 -07:00
Tomasz Sterna
34c6f5f41b
Implement WASM support for bevy_winit ( #503 )
...
Also, replaced wasm_timer::Instant with instant::Instant as it is
used by winit WASM implementation.
2020-09-16 13:40:32 -07:00
Smite Rust
a9ce7f4e82
update dependencies ( #470 )
2020-09-10 12:54:24 -07:00
Robbie Davenport
4aabe983ec
Switch usage of std HashMap/HashSet default hasher, to aHash algo ( #258 )
...
switch to ahash for HashMaps and HashSets via a new bevy_utils crate
2020-08-28 17:08:51 -07:00
VitalyR
c78187e6df
add an option about display server protocol, and create document docs/cargo_features.md
( #249 )
...
add an option about display server protocol, and create document `docs/cargo_features.md`
2020-08-24 17:06:08 -07:00
Carter Anderson
b925e22949
0.1.3 upgrade
2020-08-22 10:16:52 -07:00
Jake Kerr
db1bf6478c
Allow calling winit with the 'run_return' variant of the run function ( #243 )
...
This adds a new WinitConfig resource that can be used to configure the behavior of winit.
When `return_from_run` is set to `true`, `App::run()` will return on `target_os` configurations that
support it.
Closes bevyengine/bevy#167 .
2020-08-20 22:37:19 -07:00
Claire C
45312a945a
Basic mouse scroll-wheel event ( #222 )
...
add simple mouse wheel event + example
2020-08-20 17:04:01 -07:00
Victor "multun" Collod
c38420f1e9
enforce clippy for all target and features
2020-08-16 07:20:06 -07:00
Wouter Standaert
f539b6e7f6
Using event_loop for getting video mode
2020-08-13 11:27:51 +02:00
Wouter Standaert
a738771c93
Add resizable and windowmode options to window creation
2020-08-13 10:47:40 +02:00
Jake Kerr
ad446c5f60
Use window_builder when configuring initial window
...
This fixes issue #159 where the window would briefly show with default options.
2020-08-13 15:37:26 +09:00
Carter Anderson
6db89da324
bump bevy_winit version
2020-08-10 13:12:57 -07:00
Carter Anderson
d549129d0e
hopefully fix windows build
2020-08-10 13:06:22 -07:00
Carter Anderson
7bdab60e31
use temporary wgpu fork and latest publish winit crate
2020-08-09 21:26:34 -07:00
Carter Anderson
34752a27bd
add "0.1" version to all bevy crate references
2020-08-09 17:39:28 -07:00
Carter Anderson
9aee5323e1
add crate metadata
2020-08-09 17:24:27 -07:00
Carter Anderson
f963cd41dc
app: rename AppPlugin to Plugin
2020-08-07 20:22:17 -07:00
Carter Anderson
1f006c348d
ui: fix examples, flip fix stretch axis incompatibility, ergonomics
2020-07-27 19:13:11 -07:00