Commit graph

2099 commits

Author SHA1 Message Date
Héctor Ramón
5466d6a11d
Merge pull request #1169 from nicksenger/fix/nested-component-layout-invalidation
fix: nested component layout invalidation
2021-12-27 22:10:42 +07:00
Nick Senger
85e92d9e22
fix: nested component layout invalidation 2021-12-24 11:14:30 -08:00
Héctor Ramón
d19858bce8
Merge pull request #1154 from nicksenger/overlay-components
Implement `overlay` for `Component`
2021-12-19 11:41:18 +07:00
Nick Senger
44c0d75953 fix: drop remaining component overlay events if closed during event batch processing 2021-12-17 08:46:56 -08:00
Nick Senger
042a294448 Revert "fix: process component overlay events together with those of the original element"
This reverts commit aa09bd4a98.
2021-12-17 08:36:05 -08:00
Nick Senger
aa09bd4a98 fix: process component overlay events together with those of the original element 2021-12-13 16:52:31 -08:00
Héctor Ramón Jiménez
48b2264bc6
Simplify component implementation in iced_lazy 2021-12-13 17:46:39 +07:00
Héctor Ramón
e24eaa7c66
Merge pull request #1155 from AlisCode/refactor/decouple_image
Decouple `image::Handle` from `iced_native` and lower trait bound on `text::Renderer::Font`
2021-12-13 15:36:15 +07:00
Héctor Ramón
bc15bfdb67
Merge pull request #1157 from n8henrie/master
Fix path to ferris.png
2021-12-13 15:34:36 +07:00
Nathan Henrie
a88bf0fed7 Fix path to ferris.png
Fixes https://github.com/iced-rs/iced/issues/1156
2021-12-11 16:51:54 -07:00
Olivier Pinon
d06e6bfb51 Lower text::Renderer's Font bound from Copy to Clone 2021-12-10 23:34:02 +01:00
Olivier Pinon
a7bcd65bb8 Decouple the image Handle type from the iced_native implementation 2021-12-10 23:33:58 +01:00
Nick Senger
a92307890f feat: enable overlay in component 2021-12-10 09:53:44 -08:00
Héctor Ramón
8cbba94458
Merge pull request #1151 from x37v/patch-1
Replace Zulip with Discord in README
2021-12-10 18:38:12 +07:00
Héctor Ramón
dc04435b64
Fix Discord link in README.md 2021-12-10 01:36:12 +07:00
Alex Norman
093dc51cb1
no longer using zulip? 2021-12-09 06:53:12 -08:00
Héctor Ramón
a98a8c1c51
Merge pull request #1150 from thenlevy/submit_with_numpadenter
Make TextInput emit a Submit message when the key NumpadEnter is pressed
2021-12-09 17:21:53 +07:00
nlevy
b479ba4821 Make TextInput emit a Submit message when the key NumpadEnter is pressed 2021-12-09 10:58:50 +01:00
Héctor Ramón
c2eb9d7fbc
Merge pull request #1147 from daladim/icon_in_docs
Added icon in docs
2021-12-09 15:43:20 +07:00
Héctor Ramón Jiménez
998a04645d
Use commit hash in html_logo_url 2021-12-09 15:10:38 +07:00
daladim
d72b1493e0
Added icon in docs 2021-12-09 15:05:41 +07:00
Héctor Ramón
aa96a0a84d
Merge pull request #1149 from nicksenger/fix/component-height
Fix `Widget::height` for `Component`
2021-12-09 15:00:53 +07:00
Nick Senger
4a54d4dfc5
Fix Widget::height for Component 2021-12-08 15:33:25 -08:00
Héctor Ramón
6f3a608717
Merge pull request #1142 from iced-rs/fix/unused-lints
Remove unused fields
2021-12-07 16:29:38 +07:00
Héctor Ramón Jiménez
fa9fb65ace
Remove unused fields in pokedex example 2021-12-07 16:13:53 +07:00
Héctor Ramón Jiménez
37c72793d0
Remove unused field in solar_system example 2021-12-07 16:12:34 +07:00
Héctor Ramón Jiménez
09d5726a26
Remove unused field in wgpu::Backend 2021-12-07 16:12:04 +07:00
Héctor Ramón Jiménez
aed5a0d5f9
Remove unused field in scrollable::Scrollbar 2021-12-07 16:11:55 +07:00
Héctor Ramón
3f5ec5b20a
Merge pull request #1140 from Imberflur/hash-container-align
Include alignment in the container layout hash
2021-12-07 12:03:11 +07:00
Imbris
f86d96be0f Include alignment in the container layout hash 2021-12-06 14:27:24 -05:00
Héctor Ramón
26d053ab38
Merge pull request #1131 from iced-rs/component-trait
`iced_lazy` and `Component` trait
2021-12-02 17:47:44 +07:00
Héctor Ramón Jiménez
bbd9355450
Introduce Shell type in iced_native
Widgets now can invalidate the current layout of the application on demand.
2021-11-29 16:22:01 +07:00
Héctor Ramón Jiménez
f7792d89d6
Hide Box allocation in component::view
... we may be able to avoid it with generics in the future.
2021-11-29 15:04:13 +07:00
Héctor Ramón Jiménez
010b62b9ee
Draft component example 🎉 2021-11-29 15:04:13 +07:00
Héctor Ramón Jiménez
bffa7203df
Create iced_lazy and draft Component trait 2021-11-29 15:04:12 +07:00
Héctor Ramón
d9f970ffd5
Merge pull request #1112 from AndiHofi/on_exit_callback
Application::run returns on native platforms
2021-11-29 14:57:40 +07:00
Héctor Ramón
96c7f9765c
Merge pull request #1118 from TannerRogalsky/native-web-fixes
Native web fixes.
2021-11-29 14:51:35 +07:00
Héctor Ramón Jiménez
2f50d11461
Improve documentation of Application::run 2021-11-29 14:44:19 +07:00
Héctor Ramón Jiménez
0648d9d234
Fix imports in application modules 2021-11-29 14:43:07 +07:00
Andreas Hofstadler
08c771fa70
Allow Application::run to return on native platforms 2021-11-29 14:41:05 +07:00
Héctor Ramón
aeec0375f0
Merge pull request #1125 from iced-rs/fix/overlay-layer-clip-bounds
Fix overflow of graphics primitives in overlays
2021-11-23 17:44:57 +07:00
Héctor Ramón
71685a1350
Merge pull request #1124 from iced-rs/fix/pane-grid-mouse-interaction
Fix implementation of `Widget::mouse_interaction` for `PaneGrid`
2021-11-22 13:36:30 +07:00
Héctor Ramón
e2ec824678
Merge pull request #1121 from Imberflur/fix-some-doc-links
Fix a few doc links
2021-11-21 15:16:31 +07:00
Héctor Ramón Jiménez
92b3b169c6
Fix overflow of graphics primitives in overlays
... by using `overlay_bounds` instead of `viewport` as clip bounds for overlay layer in `UserInterface::draw`
2021-11-21 15:09:53 +07:00
Héctor Ramón Jiménez
77aa05afd3
Fix implementation of Widget::mouse_interaction for PaneGrid 2021-11-21 15:06:01 +07:00
Imbris
b89d3bed5c Fix a few doc links 2021-11-17 12:08:52 -05:00
Héctor Ramón
d165b789df
Merge pull request #1114 from tarkah/fix/slider-optimization
Don't rebroadcast redundant slider messages
2021-11-16 16:00:31 +07:00
Héctor Ramón
27bc2b9086
Merge pull request #1116 from gonsor/checkbox_text_color
Add checkbox text_color styling
2021-11-15 15:35:27 +07:00
Héctor Ramón Jiménez
1ce02e8c7a
Derive Eq for slider::State again 2021-11-15 15:33:02 +07:00
Héctor Ramón Jiménez
94d62bca9a
Use value in Slider to store the previous value 2021-11-15 15:30:53 +07:00