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
3320ac1126
Use f32 for Padding
2023-02-17 16:09:49 +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
a50cc32d09
Fix layout translation in overlay::Group
...
This bug produced improper positioning of overlays of elements inside a
`Scrollable`.
2023-01-30 05:11:59 +01:00
Casper Storm
5bc37f10e2
Fixed a small pixel width issue on pick_list
2023-01-27 10:21:57 +01:00
Héctor Ramón Jiménez
01c484245b
Fix some minor documentation inconsistencies
2023-01-24 01:59:34 +01:00
Cory Forsstrom
be860508a9
Rename method to is_over
2023-01-17 17:20:53 -08:00
Cory Forsstrom
3ab6797255
New method to determine if overlay contains cursor
...
This is needed for "container" overlay's such as `Group` which should
only consider it's childrens layouts and not it's own when determining
if the cursor is captured by the overlay.
2023-01-17 11:12:10 -08:00
Cory Forsstrom
3c866c15aa
Add group overlay element
2023-01-17 10:18:37 -08:00
Héctor Ramón Jiménez
daa3f3324d
Introduce custom method to widget::Operation trait
...
This allows users to write operations for their custom widgets.
2023-01-14 03:20:30 +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 Jiménez
4029a1cdaa
Merge branch 'master' into non-uniform-border-radius-for-quads
2022-12-02 18:53:21 +01:00
Cory Forsstrom
9a601c0954
Get widget operations working w/ overlay
2022-11-29 12:50:57 -08:00
Cory Forsstrom
c4bca3f2af
Add text input operations
2022-11-11 08:43:36 -08:00
Héctor Ramón Jiménez
1480ab2030
Fix broken documentation links
2022-11-10 00:10:53 +01:00
Héctor Ramón Jiménez
1283f2153c
Implement Overlay::operate for overlay::element::Map
2022-11-09 23:50:23 +01:00
Héctor Ramón Jiménez
18fb74f200
Introduce Custom variants for every style in the built-in Theme
2022-11-09 04:05:31 +01:00
Robert Krahn
c0596179bd
non uniform border radius for quads
2022-11-03 22:48:26 +01:00
Héctor Ramón
1923dbf7f0
Merge pull request #1393 from iced-rs/deprecate-stateful-widgets
...
Replace stateful widgets with the new `iced_pure` API
2022-08-06 00:32:57 +02:00
Nick Senger
0c13af179f
feat: allow specification of border_radius for pick_list::Menu
2022-08-02 16:16:06 -07:00
Héctor Ramón Jiménez
80688689aa
Draft widget operations
2022-07-28 02:46:51 +02:00
Héctor Ramón Jiménez
a003e797e8
Fix uninitialized Tree in overlay::Menu
2022-07-28 00:50:03 +02:00
Héctor Ramón Jiménez
c512d50e19
Fix clippy lints
2022-07-27 06:59:54 +02: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
2f76a10a1d
Fix further clippy lints
...
... and explicitly annotate crates as well.
2022-07-09 18:03:59 +02:00
Poly
15f794b7a8
Address Clippy lints
2022-07-09 17:07:38 +02:00
Héctor Ramón Jiménez
396735b682
Implement theme styling for PickList and Menu
2022-06-07 04:51:44 +02:00
Héctor Ramón Jiménez
97555e67af
Implement theme styling for Container
2022-06-07 04:11:24 +02:00
Héctor Ramón Jiménez
de21a651c0
Implement theme styling for Scrollable
2022-06-07 03:26:48 +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
Héctor Ramón Jiménez
d9d6dff550
Loose lifetime bounds in pure::Widget implementations
2022-03-29 18:24:17 +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
810e086728
Introduce Renderer argument to mouse_interaction and on_event
2022-01-11 14:12:28 +07:00
Olivier Pinon
d06e6bfb51
Lower text::Renderer's Font bound from Copy to Clone
2021-12-10 23:34:02 +01: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
bffa7203df
Create iced_lazy and draft Component trait
2021-11-29 15:04:12 +07:00
Héctor Ramón Jiménez
aca9d414d3
Write missing documentation in iced_native
2021-11-05 15:31:33 +07:00
Héctor Ramón Jiménez
023aded277
Rename fill_rectangle to fill_quad in Renderer
2021-11-04 19:24:11 +07:00
Héctor Ramón Jiménez
631e95ee0b
Move viewport argument to last position in mouse_interaction methods
...
This keeps the order of the arguments consistent with `draw`.
2021-11-02 15:03:29 +07:00
Héctor Ramón Jiménez
b3a01973c6
Introduce first-class text module in iced_native
2021-10-31 16:14:38 +07:00
Héctor Ramón Jiménez
0aafcde0ef
Remove widget module re-exports in iced_native
2021-10-31 16:14:34 +07:00
Héctor Ramón Jiménez
1ec667920a
Implement Overlay::mouse_interaction for overlay::Menu
2021-10-28 16:47:52 +07:00
Héctor Ramón Jiménez
081f2c1e1a
Implement Widget::draw for overlay::Menu
2021-10-28 16:43:05 +07:00
Héctor Ramón Jiménez
fe4dfeafdb
Wire up style to PickList and overlay::Menu
2021-10-28 15:41:12 +07:00
Héctor Ramón Jiménez
e914888f57
Implement Widget::draw for TextInput
2021-10-20 18:40:39 +07:00
Héctor Ramón Jiménez
be97a5d502
Introduce mouse_interaction method to Widget trait
2021-10-18 16:43:18 +07:00
Héctor Ramón Jiménez
d61cb58d92
Wire up container styling to iced_native
2021-10-18 15:36:32 +07:00
Héctor Ramón Jiménez
edea093350
Move Defaults from iced_graphics to iced_native
2021-10-18 15:19:04 +07:00
Héctor Ramón Jiménez
54a9a232f8
Draw scrollbar in Widget::draw for Scrollable
2021-10-18 14:48:33 +07:00