Commit graph

745 commits

Author SHA1 Message Date
bungoboingo
e36daa6f93 Removed glutin MW support and reverted glutin changes back to Iced master since it's being axed as we speak. 2023-02-28 13:44:36 -08:00
bungoboingo
51296572c0 Merge remote-tracking branch 'iced-main/master' into feat/multi-window-support
# Conflicts:
#	glutin/src/application.rs
#	winit/src/icon.rs
2023-02-28 13:08:30 -08:00
Héctor Ramón Jiménez
9e815cb749
Remove Fill variant for Alignment
Implementing this generically in our `flex` logic has an exponential
cost. Let's explore other options!
2023-02-27 16:54:28 +01:00
Bingus
bd58d5fe25
Cargo fix 2023-02-20 13:35:55 -08:00
Bingus
2d427455ce
Iced master merge (again) 2023-02-17 13:01:40 -08:00
Bingus
744cef5608
Merge remote-tracking branch 'origin/master' into feat/multi-window-support
# Conflicts:
#	winit/src/window.rs
2023-02-17 11:45:34 -08:00
Bingus
8da098330b
Fixed widget animations implementation 2023-02-17 11:42:49 -08:00
Héctor Ramón Jiménez
7b8b01f560
Use f32 in Length::Units and rename it to Fixed 2023-02-17 15:40:17 +01:00
Sebastian Dröge
d2996f3ed8
image: Allow any kind of data that implements AsRef<[u8]> for the image data
It's not required anywhere for it to be a plain slice or a `Vec` and
this makes it possible to use data allocated in a different way without
copying.
2023-02-17 14:23:13 +01:00
Héctor Ramón
27ba0be783
Merge pull request #1665 from Jedsek/patch-2
Minor update: `example/qr_code`
2023-02-17 14:12:56 +01:00
Héctor Ramón Jiménez
ac1945404e
Run cargo fmt 2023-02-17 13:57:04 +01:00
Casper Storm
4fb0be1793
Added the ability to change checkbox icon 2023-02-16 14:13:04 +01:00
Bingus
63fb608d8b
Merge remote-tracking branch 'origin/master' into feat/multi-window-support
# Conflicts:
#	native/src/command/action.rs
#	native/src/window/action.rs
#	winit/src/window.rs
2023-02-15 14:55:02 -08:00
Bingus
64e0e817c2
Widget operations for multi-window. 2023-02-15 14:31:16 -08:00
Bingus
367fea5dc8
Redraw request events for multiwindow. 2023-02-15 11:28:36 -08:00
13r0ck
42b1bfe66d Fix: Clippy lint 'uninlined_format_args' 2023-01-27 14:02:48 -07:00
Héctor Ramón
2dea5fe058
Merge pull request #1655 from tarkah/feat/group-overlay
Group Overlay
2023-01-24 02:14:50 +01:00
Jedsek
06fb7e0b51
Update main.rs 2023-01-20 13:56:02 +08:00
Jedsek
ccd02c525b
Update main.rs
The app should not render qr_code when data is empty
2023-01-20 13:46:09 +08:00
Héctor Ramón
8acf7c41fc
Fix #[default] in preset for game_of_life example 2023-01-19 20:20:13 +01:00
Jedsek
e80c7dff8d
Update preset.rs 2023-01-19 19:09:45 +08:00
Bingus
0a643287de
Added window::Id to multi_window application's scale_factor 2023-01-18 17:04:11 -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
Cory Forsstrom
be860508a9
Rename method to is_over 2023-01-17 17:20:53 -08:00
Cory Forsstrom
d470467718
Add toast example 2023-01-17 17:10:58 -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
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
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
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
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
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
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
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
dc86bd0373 Introduce close_requested for multi-window 2023-01-09 11:27:04 -08:00
Richard
35331d0a41 Allow closing the window from user code 2023-01-09 11:27:04 -08:00
Richard
3d901d5f1f create multi-windowed pane_grid example 2023-01-09 11:27:04 -08:00
Richard
01bad4f896 duplicate pane_grid example to multi_window 2023-01-09 11:27:04 -08:00
Richard
64e21535c7 Fix multi_window example 2023-01-09 11:27:04 -08:00
Héctor Ramón Jiménez
0c2bcecd44
Add some missing spacing to scrollable example 2023-01-08 20:09:47 +01:00
Héctor Ramón Jiménez
624a4ada79
Introduce RelativeOffset type in scrollable 2023-01-08 20:07:11 +01:00
bungoboingo
9f85e0c721 Reworked Scrollable to account for lack of widget order guarantees.
Fixed thumb "snapping" bug on scrollable when cursor is out of bounds.
2022-12-29 18:29:15 -08:00
Bingus
d91f4f6aa7 Add multidirectional scrolling capabilities to the existing Scrollable. 2022-12-29 10:21:23 -08:00