Commit graph

2927 commits

Author SHA1 Message Date
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
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
rpitasky
9bcb0574db
Minor docs typo
"Romve" -> "Remove"
2022-12-29 14:19:04 -05:00
Ryan Scheidter
280ffd26b7 TextInput: SHIFT+Left Click to Select 2022-12-25 12:24:29 -06:00
13r0ck
5b556250be Use same name & order for toggler::new and helper
The helper function for the toggler widget switched the order and
name of the arguments passed when creating the toggler widget.
This just standardizes the order whether the dev is using the
helper or the associated function.
2022-12-22 13:53:56 -07:00
Héctor Ramón
a6d0d5773f
Merge pull request #1615 from iced-rs/fix/responsive-operations
Fix operations for `Responsive` widget
2022-12-22 15:03:23 +01:00
Héctor Ramón Jiménez
5f2ec138d7
Implement Widget::operate for Responsive 2022-12-22 14:32:25 +01:00
Héctor Ramón Jiménez
0e9c1ab192
Add Renderer argument to operate 2022-12-22 14:29:24 +01:00
Héctor Ramón
678de11879
Merge pull request #1611 from iced-rs/fix/clippy-lints
Fix `clippy` lints for Rust 1.66
2022-12-20 11:45:38 +01:00
Héctor Ramón Jiménez
6bb01b7276
Fix clippy lints for Rust 1.66 2022-12-20 11:31:25 +01:00
Héctor Ramón
d2d18479ac
Merge pull request #1606 from iced-rs/feature/window-close
Implement `window::close` action and remove `should_exit`
2022-12-15 05:28:11 +01:00
Héctor Ramón Jiménez
e0c728c62c
Bump version of iced_glow 🎉 2022-12-15 03:10:52 +01:00
Héctor Ramón Jiménez
b5ab50b2a8
Implement window::close action and remove should_exit 2022-12-15 03:06:04 +01:00
Héctor Ramón Jiménez
0591798db7
Update latest release number in BUG_REPORT.yml 2022-12-14 03:37:49 +01:00
Héctor Ramón Jiménez
39f49186ce
Rename pick_list::AccessoryContent to Handle
... and rename `Default` variant to `Arrow`.
2022-12-14 03:31:12 +01:00
Héctor Ramón
c35ca2a320
Merge pull request #1596 from casperstorm/feat/slider-orientation
Added a VerticalSlider widget.
2022-12-14 03:21:28 +01:00
Héctor Ramón
b01be6b932
Merge pull request #1588 from Night-Hunter-NF/ToggleDecorations
add toggle decorations action
2022-12-14 03:00:47 +01:00
Casper Storm
55f36bc865
updated README for slider example 2022-12-13 10:13:27 +01:00