Commit graph

2967 commits

Author SHA1 Message Date
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
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
2fe58e1261 add window::Id to view 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
8f53df560e fix: temporarily add window::Id to
events internaly
2023-01-09 11:27:04 -08:00
Richard
97914daaab what is this 2023-01-09 11:27:04 -08:00
Richard
64e21535c7 Fix multi_window example 2023-01-09 11:27:04 -08:00
Richard
ec56c0686d Introduce opaque window::Id type 2023-01-09 11:27:04 -08:00
Richard
8fdd5ee8b6 Synchronize window list with windows method 2023-01-09 11:27:04 -08:00
Richard
00d6baf861 fix: temporalily remove the unsafe pointer HWND 2023-01-09 11:27:04 -08:00
Richard
5919325d9b Internally wrap Message with a Event enum 2023-01-09 11:27:04 -08:00
Richard
12538d3c5b Use map of windows internally 2023-01-09 11:27:04 -08:00
Richard
b896e41c6e Unify Application and Program
Instead of creating a separate `multi_window::Program`, the new
`multi_window::Application` unifies both traits
2023-01-09 11:27:04 -08:00
Richard
287306e1eb Introduce multi_window in iced_winit 2023-01-09 11:27:04 -08:00
Richard
529589d7fe Introduce multi_window from pure 2023-01-09 11:27:03 -08:00
Héctor Ramón
7ccd87c36b
Merge pull request #1550 from bungoboingo/feat/multidirectional-scrolling
[Feature] Multidirectional scrolling
2023-01-09 19:23:35 +01:00
Héctor Ramón
07d755c6a2
Merge pull request #1565 from bungoboingo/feat/tracing
[Feature] Profiling
2023-01-09 19:10:45 +01:00
Héctor Ramón Jiménez
2e5dc1f37a
Add newline at EOF to .gitignore 2023-01-09 18:52:38 +01:00
bungoboingo
4b6d3797d4
Restructured everything to make profiling a feature of iced_winit. 2023-01-09 18:52:38 +01:00
Bingus
c5cd236b73
Initial profiling support for Iced. 2023-01-09 18:52:38 +01:00
Héctor Ramón Jiménez
2d007474dd
Avoid dragging scroll area when touching scrollbars for Scrollable 2023-01-08 20:27:15 +01:00
Héctor Ramón Jiménez
f64e95e246
Remove PartialOrd implementation for Rectangle
A `PartialOrd` implementation is unclear for this type, since it has
a position besides its dimensions.
2023-01-08 20:19:36 +01:00
Héctor Ramón Jiménez
19f4373863
Enable horizontal scrolling with Shift+MouseWheel 2023-01-08 20:17:11 +01: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
Héctor Ramón
ba20ac8e49
Merge pull request #1639 from iced-rs/fix/limits-clamp
Stop using `f32::clamp` altogether in `layout::Limits`
2023-01-05 19:05:41 +01:00
Héctor Ramón Jiménez
200cf47fe8
Stop using f32::clamp altogether in layout::Limits 2023-01-05 18:51:48 +01:00
Héctor Ramón
d29849df79
Merge pull request #1633 from pop-os/standardize-checkbox-functions
use same name & order for checkbox::new and helper
2023-01-05 18:35:24 +01:00
Héctor Ramón
2e5eebd0ec
Merge pull request #1638 from tarkah/fix/responsive-overlay-layout
Fix Responsive overlay placement bug
2023-01-05 18:12:57 +01:00
Cory Forsstrom
c885f56748
Fix shadowed variable
Layout passed into the overlay was accidentally shadowed by the
content's layout. So instead of offsetting by the proper layout, the
content layout was used instead.
2023-01-05 08:57:38 -08:00
Héctor Ramón
43374f1f4e
Merge pull request #1637 from iced-rs/fix/layout-resolve-panic
Fix `Layout::resolve` panicking under some circumstances
2023-01-05 17:19:31 +01:00
Héctor Ramón Jiménez
31abc4ce0d
Fix Layout::resolve panicking under some circumstances
When `fill` has a bigger `Size` than `max`.
2023-01-05 16:40:45 +01:00
13r0ck
2209dbf212 Checkbox: Fix tests with sync'ed helper macro and associated fn 2023-01-04 13:08:53 -07:00
13r0ck
d8536e6248 use same name & order for checkbox::new and helper
The helper function for the checkbox widget switched the order
and name of the arguments passed when creating the checkbox
widget. This just standardizes the order whether the dev is using
the helper or the associated function.

Continuation of https://github.com/iced-rs/iced/pull/1616
2023-01-04 12:41:23 -07:00