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 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
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
Héctor Ramón
dca3d1fa7c
Merge pull request #1636 from tarkah/fix/location-copy
...
Make location copy
2023-01-04 19:32:03 +01:00
Héctor Ramón
b5e4e0e2f5
Merge pull request #1635 from tarkah/fix/pub-count-fields
...
Make count fields pub
2023-01-04 19:31:37 +01:00
Cory Forsstrom
e8aee70a69
Fix lint
2023-01-04 10:17:40 -08:00
Héctor Ramón
e7f06af873
Merge pull request #1634 from Araxeus/fix-doc-links
...
fix doc links
2023-01-04 18:59:23 +01:00
Cory Forsstrom
ff49a95eca
Make location copy
2023-01-04 09:52:42 -08:00
Cory Forsstrom
b2c81c163d
Make count fields pub
2023-01-04 09:50:56 -08:00
Araxeus
54693c8d71
fix doc links
2023-01-04 18:21:58 +02:00
Héctor Ramón
f641e20f7f
Merge pull request #1585 from Night-Hunter-NF/FocusWindow
...
add action to make window focus
2023-01-02 21:28:14 +01:00
Héctor Ramón Jiménez
dd25e93be0
Rename FocusWindow to GainFocus in window::Action
2023-01-02 21:14:41 +01:00
Night_Hunter
81cd0c45b7
Add FocusWindow to window::Action
2023-01-02 21:14:02 +01:00
Héctor Ramón Jiménez
c740b3af75
Fix "Test Status" badge in README
2023-01-02 20:42:14 +01:00
Héctor Ramón
da1b375579
Merge pull request #1562 from casperstorm/feat/custom-accessory-content
...
Added ability to customize the handle of a `pick_list`
2023-01-02 20:36:40 +01:00
Héctor Ramón
d956b8a9fb
Merge pull request #1584 from Night-Hunter-NF/RequestUserAttention
...
add action to request user attention
2023-01-02 20:32:43 +01:00
Héctor Ramón Jiménez
6855961358
Create conversion function for user_attention in iced_winit
2023-01-02 20:17:36 +01:00
Night_Hunter
d95b9bf244
Add RequestUserAttention to window::Action
2023-01-02 20:13:42 +01:00
Héctor Ramón
54105a24e1
Merge pull request #1622 from rs017991/text_input_shift_click
...
TextInput: SHIFT+Left Click to Select
2023-01-02 19:52:21 +01:00
Héctor Ramón
fd2ddfa1aa
Merge pull request #1628 from nicksenger/feat/component-operations
...
Add `operate` method to `Component` trait
2023-01-02 19:46:58 +01:00
Héctor Ramón
7594e483ef
Merge pull request #1624 from rpitasky/patch-1
...
Minor docs typo
2023-01-02 19:42:19 +01:00
Héctor Ramón Jiménez
76a2e65c4f
Rename is_checked to is_toggled in Toggler
2023-01-02 19:40:57 +01:00
Héctor Ramón
a5a406f9de
Merge pull request #1616 from pop-os/standardize-toggler-functions
...
Use same name & order for toggler::new and helper
2023-01-02 19:40:40 +01:00
Héctor Ramón Jiménez
cec28e2ef5
Prefix _ instead of allow(unused) in Component trait
2023-01-02 19:32:47 +01:00
Nick Senger
8d5fba8a1f
Add operate method to Component trait
2022-12-30 13:11:09 -08: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
rpitasky
9bcb0574db
Minor docs typo
...
"Romve" -> "Remove"
2022-12-29 14:19:04 -05:00
Bingus
d91f4f6aa7
Add multidirectional scrolling capabilities to the existing Scrollable.
2022-12-29 10:21:23 -08:00