Commit graph

1019 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
3a0d34c024
Create iced_widget subcrate and re-organize the whole codebase 2023-03-04 05:37:11 +01:00
Héctor Ramón Jiménez
c54409d171
Remove canvas leftovers in iced_native 2023-03-03 17:31:44 +01:00
Héctor Ramón Jiménez
6cc48b5c62
Move Canvas and QRCode to iced crate
Rename `canvas` modules to `geometry` in graphics subcrates
2023-03-03 04:57:55 +01:00
Héctor Ramón Jiménez
350427e82c
Fix missing qr_code module in iced_native 2023-03-01 21:52:12 +01:00
Héctor Ramón Jiménez
5fd5d1cdf8
Implement Canvas support for iced_tiny_skia 2023-03-01 21:34:26 +01:00
Héctor Ramón Jiménez
8059c40142
Fix clippy lints 2023-02-24 13:58:17 +01:00
Héctor Ramón Jiménez
700262e05c
Fix checkbox example 2023-02-24 13:56:37 +01:00
Héctor Ramón Jiménez
26e902f7d8
Compute grapheme index in find_cursor_position for TextInput 2023-02-24 13:37:32 +01:00
Héctor Ramón Jiménez
c8befa8d95
Fix useless f32 conversions and please clippy 2023-02-24 13:37:29 +01:00
Héctor Ramón Jiménez
32309f0140
Introduce Weight enum to font 2023-02-24 13:36:02 +01:00
Héctor Ramón Jiménez
eb3cd3a321
Fix overlay::Menu line height 2023-02-24 13:36:01 +01:00
Héctor Ramón Jiménez
a2ab9e9395
Use Pixels for Text::size 2023-02-24 13:34:59 +01:00
Héctor Ramón Jiménez
17470bf7d3
Fix clippy lints 🎉 2023-02-24 13:31:19 +01:00
Héctor Ramón Jiménez
238154af4a
Implement font::load command in iced_native 2023-02-24 13:29:11 +01:00
Héctor Ramón Jiménez
b29de28d1f
Overhaul Font type to allow font family selection 2023-02-24 13:28:24 +01:00
Héctor Ramón Jiménez
032e860f13
Fix PickList line height 2023-02-24 13:22:56 +01:00
Héctor Ramón Jiménez
c68edb3278
Fix TextInput line height 2023-02-24 13:20:54 +01:00
Héctor Ramón
666f3cd143
Merge pull request #1723 from iced-rs/subscription-run
Change `subscription::run` to take a function pointer
2023-02-21 21:18:01 +01:00
Héctor Ramón Jiménez
1fb413fd80
Change subscription::run to take a function pointer
... and rename the old `run` to `run_with_id`.
2023-02-21 20:56:10 +01:00
Héctor Ramón
8c83d40e11
Merge pull request #1721 from casperstorm/feat/no-bleed-slider
Sliders no longer bleed over rail
2023-02-20 14:54:54 +01:00
Casper Storm
96c0bd65df
Sliders no longer bleed over rail 2023-02-20 12:24:31 +01:00
Héctor Ramón
1b79df4433
Merge pull request #1717 from iced-rs/remove-clone-image-bytes
Remove `Clone` bound for `Bytes::new` in `image`
2023-02-18 22:15:11 +01:00
Héctor Ramón Jiménez
bf061a0d62
Remove Clone bound for Bytes::new in image 2023-02-18 21:55:49 +01:00
Héctor Ramón Jiménez
3d8f1ad238
Fix base cursor position during UserInterface::draw when overlay is present 2023-02-18 21:52:08 +01:00
Héctor Ramón Jiménez
0d1656937b
Bump versions 🎉 2023-02-18 12:04:40 +01:00
Héctor Ramón Jiménez
ffcd4f1bec
Fix height of overlay::Menu 2023-02-18 08:45:54 +01:00
Héctor Ramón Jiménez
fd14086933
Use Pixels for padding in image::Viewer 2023-02-17 16:24:37 +01:00
Héctor Ramón Jiménez
a467a037c3
Use Pixels for spacing 2023-02-17 16:23:29 +01:00
Héctor Ramón Jiménez
fd3a141024
Use f32 for Icon::size in checkbox 2023-02-17 16:18:27 +01:00
Héctor Ramón Jiménez
3320ac1126
Use f32 for Padding 2023-02-17 16:09:49 +01:00
Héctor Ramón Jiménez
0872d078e2
Use Pixels for size methods 2023-02-17 15:56:19 +01:00
Héctor Ramón Jiménez
67e3da5669
Use Pixels for Slider::height and VerticalSlider::width 2023-02-17 15:55:12 +01:00
Héctor Ramón Jiménez
70483e7fdd
Fix Scrollbar bound calculations in Scrollable 2023-02-17 15:48:35 +01:00
Héctor Ramón Jiménez
570600ce51
Use Pixels for Text::size 2023-02-17 15:47:51 +01: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
Héctor Ramón Jiménez
d7c83080f2
Wrap image Bytes with Arc instead of Data 2023-02-17 14:37:15 +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
Night_Hunter
9f75f01ddb
add action to get window id 2023-02-17 13:45:51 +01:00
Héctor Ramón Jiménez
df861d9ece
Rename SetAlwaysOnTop to ChangeAlwaysOnTop 2023-02-17 13:22:45 +01:00
Night_Hunter
095ecf016b
update docs and change to SetAlwaysOnTop 2023-02-17 13:20:07 +01:00
Night_Hunter
d1d13f6f16
add always on top action 2023-02-17 13:17:59 +01:00
Héctor Ramón
32745f472f
Merge pull request #1707 from casperstorm/feat/checkbox-icon
Added the ability to change `Checkbox` icon
2023-02-17 12:58:27 +01:00
Héctor Ramón
e3fbaed12f
Merge pull request #1695 from nicksenger/widgets/container-ids
Provide widgets IDs to `Operation::container`
2023-02-16 16:32:07 +01:00
Nick Senger
273c9be00f
container: allow specification of ID and provide to Operation::container 2023-02-16 16:15:45 +01:00
Nick Senger
d05ac38159
Revert "provide ID to operation.container in applicable widgets"
This reverts commit 8f9550bcf7c1cebbf90e80683761375406ca6139.
2023-02-16 16:15:45 +01:00
Nick Senger
84a6038961
provide ID to operation.container in applicable widgets 2023-02-16 16:15:45 +01:00
Nick Senger
6a683b603d
scrollable: provide ID to operation.container 2023-02-16 16:15:41 +01:00
Casper Storm
4fb0be1793
Added the ability to change checkbox icon 2023-02-16 14:13:04 +01:00
Cory Forsstrom
a9992d131b
Pad after setting width
Otherwise `width` will set limits back to a fixed width if
`Length::Units` is used, overwriting padding.
2023-02-14 11:40:29 -08:00
Héctor Ramón
8c5996c12b
Merge pull request #1675 from casperstorm/pick_list/extend-handle
Extended `pick_list::Handle` to be more flexible
2023-02-14 07:40:18 +01:00