Commit graph

753 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
bf375587aa
Add Shadow to container::Appearance 2024-01-20 13:34:07 +01:00
Héctor Ramón Jiménez
e736038d5f
Add Shadow to button::Appearance 2024-01-20 13:32:19 +01:00
Héctor Ramón Jiménez
25f182f933
Introduce Border struct analogous to Shadow 2024-01-20 13:29:25 +01:00
Héctor Ramón Jiménez
370b2f6df7
Use Default implementation of renderer::Quad 2024-01-20 12:25:07 +01:00
Nick Senger
cc906c83cd
feat: quad shadows 2024-01-20 11:59:37 +01:00
Héctor Ramón
61e3d8502f
Merge pull request #2163 from hicaru/svg_hover
added svg hover, for styles impl
2024-01-18 03:46:13 +01:00
Héctor Ramón Jiménez
64d1ce5532
Refactor KeyCode into Key and Location 2024-01-16 13:28:00 +01:00
Héctor Ramón Jiménez
534c7dd7b0
Merge branch 'master' into update-winit 2024-01-16 12:02:42 +01:00
Héctor Ramón
50c310fd9f
Merge pull request #2192 from iced-rs/fix/layout-inconsistencies
Layout consistency
2024-01-12 14:41:40 +01:00
Héctor Ramón Jiménez
5315e04a26
Fix clipping of TextInput selection 2024-01-12 13:34:14 +01:00
Héctor Ramón Jiménez
03c901d49b
Make Button sizing strategy adaptive 2024-01-11 06:12:19 +01:00
Héctor Ramón Jiménez
3850a46db6
Add Theme selector to layout example 2024-01-10 10:01:51 +01:00
Héctor Ramón Jiménez
88f8c343fa
Fix cross calculation in layout::flex 2024-01-10 10:01:50 +01:00
Héctor Ramón Jiménez
ecf571dfeb
Fix unnecessary into call in Container::new 2024-01-10 10:01:50 +01:00
Héctor Ramón Jiménez
67277fbf93
Make column and row take an IntoIterator 2024-01-10 10:01:50 +01:00
Héctor Ramón Jiménez
e710e76949
Fix size_hint for keyed_column 2024-01-10 10:01:49 +01:00
Héctor Ramón Jiménez
d62bb8193c
Introduce useful helpers in layout module 2024-01-10 10:01:49 +01:00
Héctor Ramón Jiménez
d278bfd21d
Replace width and height with Widget::size 2024-01-10 10:01:49 +01:00
Héctor Ramón Jiménez
22226394f7
Introduce Widget::size_hint and fix further layout inconsistencies 2024-01-10 10:01:49 +01:00
Héctor Ramón Jiménez
0322e820eb
Create layout example 2024-01-10 10:01:41 +01:00
Héctor Ramón
b083eda663
Fix Svg styling 2024-01-09 02:03:13 +01:00
William Shere
6c9dfbf01e Fix doc to include missing feature tags
Helper functions behind `lazy` feature were missing the tag in the documentation.
2024-01-05 13:50:38 +00:00
Héctor Ramón Jiménez
ed3b393018
Fix needless borrow in row::layout 2024-01-04 06:51:23 +01:00
Héctor Ramón Jiménez
0655a20ad1
Make Shrink have priority over Fill in layout 2024-01-04 06:51:21 +01:00
Héctor Ramón
68c0484b5c
Merge pull request #2168 from jhff/fix/pane_grid_top_edge_click
[Fix] `PaneGrid` click interaction on the top edge
2024-01-04 05:26:12 +01:00
Giuliano Bellini s294739
9bbf7822e9 added text::Shaping to Tooltip 2023-12-23 00:17:10 +01:00
Héctor Ramón Jiménez
e819c2390b
Update winit to 0.29.4 2023-12-15 13:39:00 +01:00
Joao Freitas
116fb666b0
Add deadband distance before initiating drag action on pane grid 2023-12-15 10:29:43 +00:00
hicaru
b54f27d30d added svg hover, for styles impl 2023-12-12 14:02:15 +05:00
Bingus
07b0aed5d3
Added the ability to change the style of a TextEditor 2023-12-06 14:52:53 -08:00
Héctor Ramón
fc285d3e46
Merge pull request #1964 from bungoboingo/feat/multi-window-support
[Feature] 🪟 Multi Window 🪟 .. redux!
2023-12-05 01:03:09 +01:00
Héctor Ramón Jiménez
43a7cc2222
Fix clippy lint 2023-12-01 16:10:37 +01:00
Héctor Ramón Jiménez
936d480267
Clip text to viewport bounds instead of layout bounds 2023-12-01 16:04:27 +01:00
Héctor Ramón Jiménez
e09b4e24dd
Merge branch 'master' into feat/multi-window-support 2023-11-29 22:28:31 +01:00
Héctor Ramón Jiménez
ab7dae554c
Provide actual bounds to Shader primitives
... and allow for proper translation and scissoring.
2023-11-28 23:13:38 +01:00
Héctor Ramón
100d15f306
Merge pull request #2143 from iced-rs/fix/tooltip-layout-invalidation
Invalidate layout when `Tooltip` changes `overlay`
2023-11-21 19:13:39 +01:00
Héctor Ramón Jiménez
f67387f2d8
Invalidate layout when Tooltip changes overlay 2023-11-21 18:58:54 +01:00
Héctor Ramón Jiménez
25006b9c6f
Fix Overlay composition
Translations were not easily composable.
2023-11-21 14:41:22 +01:00
Héctor Ramón Jiménez
811aa673e9
Improve module hierarchy of custom_shader example 2023-11-14 15:48:01 +01:00
Héctor Ramón Jiménez
63f36b0463
Export wgpu crate in shader module in iced_widget 2023-11-14 14:04:54 +01:00
Héctor Ramón Jiménez
91d7df52cd
Create shader function helper in iced_widget 2023-11-14 13:25:49 +01:00
Héctor Ramón Jiménez
280d3736d5
Fix broken intra-doc links 2023-11-14 13:23:28 +01:00
Héctor Ramón Jiménez
c2baf18cbf
Use Instant from iced_core instead of std
This is needed for Wasm compatibility.
2023-11-14 12:52:03 +01:00
Héctor Ramón Jiménez
882ae304ac
Enable iced_renderer/wgpu feature in iced_widget 2023-11-14 12:51:08 +01:00
Héctor Ramón Jiménez
9489e29e66
Re-organize custom module as pipeline module
... and move `Shader` widget to `iced_widget` crate
2023-11-14 12:49:49 +01:00
Bingus
91fca024b6
Reexport Transformation from widget::shader 2023-11-14 11:31:44 +01:00
Bingus
781ef1f94c
Added support for custom shader widget for iced_wgpu backend. 2023-11-14 11:31:44 +01:00
Héctor Ramón Jiménez
a5125d6fea
Refactor texture image filtering
- Support only `Linear` or `Nearest`
- Simplify `Layer` groups
- Move `FilterMethod` to `Image` and `image::Viewer`
2023-11-11 07:22:51 +01:00
Remmirad
4b32a48880
Fix clippy + fmt 2023-11-11 07:21:51 +01:00
Remmirad
5759096a4c
Implement texture filtering options 2023-11-11 07:21:51 +01:00