Commit graph

33 commits

Author SHA1 Message Date
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
Héctor Ramón Jiménez
0e9c1ab192
Add Renderer argument to operate 2022-12-22 14:29:24 +01:00
tarkah
f1ada7a803 Allow &mut self in overlay 2022-11-29 12:17:29 -08:00
Cory Forsstrom
c4bca3f2af Add text input operations 2022-11-11 08:43:36 -08:00
tarkah
a4d5b82768 Impl operate for Component widget 2022-08-07 14:46:28 -07:00
Héctor Ramón Jiménez
ff2519b1d4
Replace stateful widgets with new iced_pure API 2022-07-27 06:49:20 +02:00
Héctor Ramón Jiménez
2065a40f64
Fix clippy lints for all crates and features
... and check those in CI as well!
2022-07-09 18:43:05 +02:00
Héctor Ramón Jiménez
2f76a10a1d
Fix further clippy lints
... and explicitly annotate crates as well.
2022-07-09 18:03:59 +02:00
Héctor Ramón Jiménez
fa55dff61d
Merge branch 'master' into theming 2022-07-08 19:31:45 +02:00
Héctor Ramón Jiménez
664251f3f5
Draft first-class Theme support
RFC: https://github.com/iced-rs/rfcs/pull/6
2022-05-14 01:56:32 +02:00
Nick Senger
ea389ac34c
remove rebuild of component overlay from on_event 2022-05-13 12:38:16 -07:00
Héctor Ramón Jiménez
4c98de0a53
Revert "fix: prevent building overlay with stale layout"
This reverts commit 3be8f6e989.
2022-05-13 18:45:03 +02:00
Nick Senger
3be8f6e989
fix: prevent building overlay with stale layout 2022-05-10 17:23:30 -07:00
Héctor Ramón Jiménez
1313c94e3b
Remove hash_layout method from Widget trait 2022-02-23 21:31:54 +07:00
Héctor Ramón Jiménez
a1311bcc5e
Remove position abbreviation in Component 2022-01-20 13:50:42 +07:00
cossonleo
41bd984d6b component overlay position fix 2022-01-20 11:35:45 +08:00
Héctor Ramón Jiménez
241e123c9b
Write documentation for component in iced_lazy 2022-01-12 11:39:54 +07:00
Héctor Ramón Jiménez
870d651f35
Implement Widget::overlay for Responsive widget 2022-01-12 11:15:05 +07:00
Héctor Ramón Jiménez
5a03cac7e7
Remove superfluous generic type in iced_lazy::Cache 2022-01-11 14:55:48 +07:00
Héctor Ramón Jiménez
810e086728
Introduce Renderer argument to mouse_interaction and on_event 2022-01-11 14:12:28 +07:00
Héctor Ramón Jiménez
6ab4611a6e
Invalidate widget tree from Responsive widget
... by introducing a new `invalidate_widgets` method to `Shell`
2022-01-11 13:47:43 +07:00
Nick Senger
85e92d9e22
fix: nested component layout invalidation 2021-12-24 11:14:30 -08: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
Nick Senger
a92307890f feat: enable overlay in component 2021-12-10 09:53:44 -08:00
Nick Senger
4a54d4dfc5
Fix Widget::height for Component 2021-12-08 15:33:25 -08: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