Commit graph

374 commits

Author SHA1 Message Date
Wiktor Kwapisiewicz
cb930b05a8
Fix comment description on crate example
This tiny PR aligns the comment on the crate example to align to the
comment that is in README.md.
2023-01-12 13:16:53 +01:00
Héctor Ramón Jiménez
7354f68b3c
Draft Shell:request_redraw API
... and implement `TextInput` cursor blink 🎉
2023-01-12 02:59:08 +01:00
Héctor Ramón
7ccd87c36b
Merge pull request #1550 from bungoboingo/feat/multidirectional-scrolling
[Feature] Multidirectional scrolling
2023-01-09 19:23:35 +01:00
Héctor Ramón Jiménez
624a4ada79
Introduce RelativeOffset type in scrollable 2023-01-08 20:07:11 +01:00
Araxeus
54693c8d71 fix doc links 2023-01-04 18:21:58 +02:00
Héctor Ramón
da1b375579
Merge pull request #1562 from casperstorm/feat/custom-accessory-content
Added ability to customize the handle of a `pick_list`
2023-01-02 20:36:40 +01:00
bungoboingo
9f85e0c721 Reworked Scrollable to account for lack of widget order guarantees.
Fixed thumb "snapping" bug on scrollable when cursor is out of bounds.
2022-12-29 18:29:15 -08:00
Bingus
d91f4f6aa7 Add multidirectional scrolling capabilities to the existing Scrollable. 2022-12-29 10:21:23 -08:00
Héctor Ramón Jiménez
b5ab50b2a8
Implement window::close action and remove should_exit 2022-12-15 03:06:04 +01:00
Héctor Ramón Jiménez
39f49186ce
Rename pick_list::AccessoryContent to Handle
... and rename `Default` variant to `Arrow`.
2022-12-14 03:31:12 +01:00
Casper Storm
bb4161c1ae
Split vertical orientation into VerticalSlider 2022-12-13 10:05:52 +01:00
Héctor Ramón Jiménez
4c61f12768
Bump versions 🎉 2022-12-07 04:44:20 +01:00
Héctor Ramón Jiménez
b205a66347
Remove appearance from Handle
... and pass it directly to `Renderer::draw` instead.
2022-12-06 04:34:00 +01:00
Casper Rogild Storm
0974e9e865
Added ability to customize accessory content. 2022-11-29 11:36:00 +01:00
Cory Forsstrom
c4bca3f2af Add text input operations 2022-11-11 08:43:36 -08:00
Héctor Ramón Jiménez
a6298ba12c
Fix outdated links in documentation 2022-11-10 18:14:40 +01: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
ff9395838b
Expose window commands in iced::window 2022-11-09 23:56:12 +01:00
Artur Sapek
4a3c3e2a18
expose touch module 2022-10-04 11:15:36 +02:00
Héctor Ramón
3c9af1eb31
Merge pull request #1227 from LordRatte/feature-colour-macro
`color!` macro
2022-09-23 20:26:53 +02:00
Héctor Ramón Jiménez
b8401c61a1
Export color! macro in iced and iced_native 2022-09-23 20:10:35 +02:00
Héctor Ramón
bfd24c27db
Merge pull request #1174 from daladim/icon_from_file
Added convenience functions for window::icon::Icon
2022-09-23 20:02:57 +02:00
Ram.Type-0
ce3b89639d
Take Cow in Text::new 2022-09-21 20:59:17 +02:00
Héctor Ramón Jiménez
7a35d1cec0
Expose overlay::Element 2022-09-21 13:09:30 +02:00
Héctor Ramón Jiménez
183b925c95
Fix doc comments in overlay 2022-09-21 12:58:56 +02:00
0x192
214f6f9cba
Make menu style accessible 2022-09-21 12:58:56 +02:00
Héctor Ramón Jiménez
277b848ad8
Remove window::Mode and introduce Settings::visible
Additionally, only show the window once one frame has been rendered to avoid blank flashes on Windows.
2022-08-18 14:09:20 +02:00
Héctor Ramón Jiménez
13dd1ca0a8
Implement scrollable::snap_to operation 2022-08-04 03:55:41 +02:00
Héctor Ramón Jiménez
6eb3dd7e5e
Implement focus_previous operation 2022-08-04 03:24:44 +02:00
Héctor Ramón Jiménez
77c6864e7c
Implement focus_next operation
... as well as a `count_focusable` composable helper!
2022-08-02 04:20:47 +02:00
Héctor Ramón Jiménez
52f84e51e9
Implement Widget::operate for TextInput 2022-07-28 03:53:47 +02:00
Héctor Ramón Jiménez
a1c5f8839d
Use ToString for Text::new instead of Into<String> 2022-07-27 06:56:09 +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
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
7105db97a5
Remove redundant crate::Theme in alias of Element 2022-07-08 23:43:18 +02:00
Héctor Ramón Jiménez
4407385fbe
Make Element aliases in iced compatible with iced_native and iced_pure 2022-07-08 23:38:47 +02:00
Héctor Ramón Jiménez
48bc505cb6
Fix missing docs in iced crate 2022-07-08 23:20:25 +02:00
Héctor Ramón Jiménez
2d6d26cef4
Make widget aliases in iced compatible with iced_native 2022-07-08 20:49:57 +02:00
Héctor Ramón Jiménez
3514bd1535
Add theme::Application styling support to Sandbox 2022-07-08 20:13:14 +02:00
Héctor Ramón Jiménez
bb07d017e8
Add Style variant support to application::StyleSheet 2022-07-08 20:07:33 +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
ce53d3933c
Implement theme styling for TextInput 2022-06-07 01:11:35 +02:00
Héctor Ramón Jiménez
835877fc63
Implement theme styling for Checkbox 2022-06-04 03:26:53 +02:00
Héctor Ramón Jiménez
3e2b6247f7
Implement theme styling for Toggler
... and wire up theming to the `styling` example.
2022-06-01 01:46:04 +02:00
Héctor Ramón Jiménez
28d09bfff1
Implement theme styling for Radio 2022-05-27 01:29:36 +02:00
Héctor Ramón Jiménez
cf0230072c
Rename Variant to Style and Style to Appearance 2022-05-26 23:07:34 +02:00
Héctor Ramón Jiménez
7f3b7075db
Rename theme::Definition to application::StyleSheet 2022-05-26 19:02:15 +02:00
Héctor Ramón Jiménez
03eda9b162
Let a Theme control the background color of an application
... and remove `Application::background_color`
2022-05-25 05:01:18 +02:00