Commit graph

3001 commits

Author SHA1 Message Date
Bingus
367fea5dc8
Redraw request events for multiwindow. 2023-02-15 11:28:36 -08:00
Bingus
0a643287de
Added window::Id to multi_window application's scale_factor 2023-01-18 17:04:11 -08:00
Bingus
7e9a12a4aa
New iced changes 2023-01-18 15:18:45 -08:00
Bingus
70d487ba20
Merge remote-tracking branch 'origin/master' into feat/multi-window-support
# Conflicts:
#	examples/events/src/main.rs
#	glutin/src/application.rs
#	native/src/window.rs
#	winit/src/window.rs
2023-01-18 15:01:17 -08:00
Héctor Ramón
5ef0648bf4
Merge pull request #1649 from iced-rs/generic-widget-operations
Introduce `custom` method to `widget::Operation` trait
2023-01-14 16:08:36 +01:00
Héctor Ramón Jiménez
daa3f3324d
Introduce custom method to widget::Operation trait
This allows users to write operations for their custom widgets.
2023-01-14 03:20:30 +01:00
Héctor Ramón Jiménez
18552f96df
Bump leftover version in README 2023-01-14 01:15:39 +01:00
Héctor Ramón Jiménez
35c0fa3b00
Bump versions in READMEs 2023-01-14 01:14:02 +01:00
Héctor Ramón Jiménez
9fe46de13f
Bump versions 🎉 2023-01-14 01:10:28 +01:00
Bingus
790fa3e7a0
Added tracing to multi_window applications 2023-01-13 12:26:23 -08:00
Héctor Ramón
597af315af
Merge pull request #1647 from iced-rs/feature/widget-request-redraw
Widget-driven animations
2023-01-13 20:33:59 +01:00
Héctor Ramón Jiménez
507820a843
Fix grammar of TODO comment in application modules 2023-01-13 18:19:05 +01:00
Héctor Ramón Jiménez
b9c8c7b08d
Clarify documentation of window::frames 2023-01-13 18:17:15 +01:00
Héctor Ramón
d2b66805b3
Merge pull request #1648 from wiktor-k/fix-crate-doc
Fix comment description on crate example
2023-01-12 16:02:51 +01:00
Wiktor Kwapisiewicz
cb930b05a8
Fix comment description on crate example
This tiny PR aligns the comment on the crate example to align to the
comment that is in README.md.
2023-01-12 13:16:53 +01:00
Héctor Ramón Jiménez
c6d0046102
Use instant instead of wasm-timer in iced_core 2023-01-12 06:25:59 +01:00
Héctor Ramón Jiménez
fc54d6ba31
Use instant to fix Wasm target 2023-01-12 05:26:39 +01:00
Héctor Ramón Jiménez
e2ddef7438
Replace Option<Instant> with RedrawRequest enum 2023-01-12 05:18:25 +01:00
Héctor Ramón Jiménez
502c9bfbf6
Rename Focus::at to Focus::updated_at in text_input 2023-01-12 04:54:34 +01:00
Héctor Ramón
902131eb51
Merge pull request #1646 from nicksenger/feat/dependency-in-lazy
Provide `&Dependency` to `Lazy` widget view fn
2023-01-12 04:44:14 +01:00
Héctor Ramón Jiménez
0b86c4a299
Implement window::frames subscription
... and use it in the `solar_system` example 🎉
2023-01-12 04:35:41 +01:00
Héctor Ramón Jiménez
c649ec8cf7
Use short-hand field notation in TextInput 2023-01-12 03:22:34 +01:00
Héctor Ramón Jiménez
178bd2d83c
Avoid reblinking cursor when clicking a focused TextInput 2023-01-12 03:21:15 +01:00
Héctor Ramón Jiménez
a980024bbf
Implement widget redraw support in iced_glutin 2023-01-12 03:11:08 +01:00
Héctor Ramón Jiménez
7354f68b3c
Draft Shell:request_redraw API
... and implement `TextInput` cursor blink 🎉
2023-01-12 02:59:08 +01:00
Nick Senger
58bcc4404e feat: provide &Dependency to Lazy widget View 2023-01-11 11:37:56 -08:00
Héctor Ramón
ca337b880f
Merge pull request #1644 from nicksenger/fix/lazy-widget
Fix `overlay` implementation for `Lazy` widget
2023-01-11 18:55:48 +01:00
Nick Senger
c7c5611087 clippy 2023-01-10 22:00:42 -08:00
Nick Senger
45dda41c4c add overlays to Lazy example 2023-01-10 21:35:55 -08:00
Nick Senger
4066f89ce7 cleanup Lazy examples 2023-01-10 21:35:55 -08:00
Nick Senger
2e3a69be31 fix: Lazy widget 2023-01-10 21:35:42 -08:00
bungoboingo
f78ccd9af9 Removed glutin's individual multi_window state since 0.30+ doesn't have its own event crate anymore 2023-01-09 11:48:34 -08:00
bungoboingo
3e5d34f25f Formatting 2023-01-09 11:28:07 -08:00
bungoboingo
ec41918ec4 Implemented window title update functionality for multiwindow. 2023-01-09 11:28:07 -08:00
Bingus
1944e98f82 Fix multi-window example for Glutin on MacOS 2023-01-09 11:28:07 -08:00
bungoboingo
f43419d475 Fixed issue with window ID on winit 2023-01-09 11:28:07 -08:00
bungoboingo
942f1c91af merged in iced master 2023-01-09 11:28:07 -08:00
Richard
5e4e410b18 remove windows method (use commands instead) 2023-01-09 11:28:07 -08:00
Richard
ac20f35c62 update glutin\multi_window to new surface api 2023-01-09 11:28:07 -08:00
Richard
0553062be1 update iced_glutin to use new surface api 2023-01-09 11:28:06 -08:00
Richard
aa7164fdde update glutin to 0.30 2023-01-09 11:27:04 -08:00
Richard
f93fa02543 introduce window::spawn and window::close 2023-01-09 11:27:04 -08:00
Richard
1bc0c480f9 move window settings to iced_native 2023-01-09 11:27:04 -08:00
Richard
a386788b67 use glutin/multi_window branch 2023-01-09 11:27:04 -08:00
Richard
ce43514eac copy multi_window::Event from iced_winit 2023-01-09 11:27:04 -08:00
Richard
064407635a implement multi_window for iced_glutin 2023-01-09 11:27:04 -08:00
Richard
0ad53a3d5c add window::Id to Event and Action 2023-01-09 11:27:04 -08:00
Richard
974cc6b6f5 Introduce multi_window to iced_glutin 2023-01-09 11:27:04 -08:00
Richard
7f35256573 Split Surface and Window 2023-01-09 11:27:04 -08:00
Richard
dc86bd0373 Introduce close_requested for multi-window 2023-01-09 11:27:04 -08:00