Commit graph

345 commits

Author SHA1 Message Date
Cory Forsstrom
6ad5e03d71
Add scrollable Viewport 2023-04-17 13:55:40 -07:00
Cory Forsstrom
b623f280ed
Add scroll_to operation for absolute scroll 2023-04-14 13:32:44 -07:00
Héctor Ramón Jiménez
c79cc2d2b3
Bump versions 🎉 2023-04-13 08:41:09 +02:00
Héctor Ramón Jiménez
f55a97b738
Rename MouseListener to MouseArea 2023-04-13 06:46:33 +02:00
Michael Aaron Murphy
dfc1868179
feat(native): Add MouseListener widget 2023-04-13 06:19:42 +02:00
Night_Hunter
5a056ce051
add action set icon while running (#1590)
* set windows icon live action

* change get icon to insto raw

* remove mobile docs

* format

* fix format

* add file methods to Icon

* Rename action to `ChangeIcon` and tidy up `Icon` modules

* Fix documentation of `icon::Error`

* Remove unnecessary `\` in `icon` documentation

* Remove `etc.` from `Icon` documentation

---------

Co-authored-by: Héctor Ramón Jiménez <hector0193@gmail.com>
2023-04-12 06:47:53 +00:00
Héctor Ramón Jiménez
cf9d8e0104
Rename IconPosition to Side in text_input 2023-04-11 05:54:51 +02:00
Casper Storm
d24a4a4689
Changed Handle to Icon to be consistent 2023-04-11 05:11:23 +02:00
Casper Storm
7b36984295
feat: added handle to text_input 2023-04-11 05:11:19 +02:00
Héctor Ramón Jiménez
4405a3d483
Re-export settings::PlatformSpecific from iced_winit directly 2023-03-14 11:31:16 +01:00
Casper Storm
ed7b613804
Added macOS platform specific options 2023-03-14 11:31:15 +01:00
Héctor Ramón Jiménez
12781c717a
Expose window commands for Wasm builds 2023-03-03 20:45:49 +01:00
Cory Forsstrom
07a7681dba
Remove logging large bytes arrays 2023-02-23 09:31:48 -08:00
Héctor Ramón Jiménez
0d1656937b
Bump versions 🎉 2023-02-18 12:04:40 +01:00
Héctor Ramón Jiménez
570600ce51
Use Pixels for Text::size 2023-02-17 15:47:51 +01:00
Casper Storm
4fb0be1793
Added the ability to change checkbox icon 2023-02-16 14:13:04 +01:00
Héctor Ramón Jiménez
5569e12149
Rename HandleContent to Icon and simplify generics 2023-02-14 07:03:24 +01:00
Casper Storm
efaa80fb44
Extend pick_list::Handle 2023-02-14 07:03:24 +01:00
13r0ck
42b1bfe66d Fix: Clippy lint 'uninlined_format_args' 2023-01-27 14:02:48 -07:00
Héctor Ramón Jiménez
9fe46de13f
Bump versions 🎉 2023-01-14 01:10:28 +01:00
Héctor Ramón
597af315af
Merge pull request #1647 from iced-rs/feature/widget-request-redraw
Widget-driven animations
2023-01-13 20:33:59 +01:00
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