Commit graph

531 commits

Author SHA1 Message Date
David Aguiló Domínguez
3bc836827a
Added color for warning for TERRA, and added warning field to Extended with the needed struct and generate 2025-01-06 20:31:20 +01:00
David Aguiló Domínguez
39f2cdd946
Added color for warning for OXOCARBON, used a purple since it is the one used for diagnostic warnings in the nvim theme 2025-01-06 20:31:20 +01:00
David Aguiló Domínguez
c3aefdc27b
Added color for warning for MOONFLY and NIGHTFLY 2025-01-06 20:31:20 +01:00
David Aguiló Domínguez
91439dc172
Added color for warning for TOKYO_NIGHT and KANAGAWA 2025-01-06 20:31:20 +01:00
David Aguiló Domínguez
c768aba64c
Added color for warning for GRUVBOX and CATPPUCCIN 2025-01-06 20:31:19 +01:00
David Aguiló Domínguez
9e2f7b2d50
Added warning field to palette and assigned colors to it in the LIGHT, DARK, DRACULA, NORD and SOLARIZED(both) themes 2025-01-06 20:31:19 +01:00
Héctor Ramón Jiménez
bfab1a32d1
Fix documentation of window::Event::Opened 2025-01-06 20:13:51 +01:00
Héctor Ramón Jiménez
326c5852aa
Fix broken link in Settings documentation 2024-12-17 02:20:23 +01:00
Héctor Ramón Jiménez
0ad40d0338
Reduce size of Simulator in todos test 2024-12-17 01:53:39 +01:00
Héctor Ramón Jiménez
2cf4abf25b
Support custom renderers in iced_test through renderer::Headless trait 2024-12-14 03:49:24 +01:00
Héctor Ramón Jiménez
1aeb317f2d
Add image and hash snapshot-based testing to iced_test 2024-12-10 04:51:08 +01:00
Héctor Ramón Jiménez
cb30f9f604
Remove dbg! leftover in core::widget::text 2024-12-10 04:51:08 +01:00
Héctor Ramón Jiménez
d09d5d45ae
Draft iced_test crate and test todos example 2024-12-10 04:51:08 +01:00
Héctor Ramón Jiménez
602661372c
Fix new clippy lints 2024-12-02 19:56:27 +01:00
Héctor Ramón Jiménez
28ec6df8f0
Fix cross-axis compression in layout::flex 2024-11-08 18:08:34 +01:00
Héctor Ramón Jiménez
e5f1e31a5c
Rename Overlay::on_event to update 2024-11-06 00:02:46 +01:00
Héctor Ramón Jiménez
f02bfc3f68
Rename Widget::on_event to update 2024-11-05 23:52:58 +01:00
Héctor Ramón Jiménez
dcc184b01b
Replace event::Status in Widget::on_event with Shell::capture_event 2024-11-05 23:52:58 +01:00
Héctor Ramón Jiménez
752403d70c
Split Shell::request_redraw into two different methods 2024-11-05 23:52:58 +01:00
l-const
6c5799e759
Introduce consecutive click distance like other toolkits such as gtk,qt, imgui. 2024-10-14 23:01:07 +03:00
BradySimon
f912d26d64
Add PartialEq derives for widget styles 2024-10-14 20:59:32 +02:00
Héctor
5ee82b2ef0
Merge pull request #2608 from ibaryshnikov/haskell
added physical_key to KeyReleased event
2024-10-02 17:02:13 +02:00
Héctor Ramón Jiménez
32cdc99e92
Add modified_key to keyboard::Event::KeyReleased 2024-10-02 16:53:10 +02:00
bbb651
7a86900a45 Fix various typos
Using https://github.com/crate-ci/typos
2024-09-29 16:37:35 +03:00
bbb651
afecc0f367 Document File{Dropped,Hovered,HoveredLeft} as unsupported on wayland
Blocked on https://github.com/rust-windowing/winit/issues/1881
2024-09-29 16:28:05 +03:00
ibaryshnikov
8b34f99b02 added physical_key to KeyReleased event 2024-09-26 17:13:32 +03:00
Héctor Ramón Jiménez
1383c6a4f7
Fix flex layout of Fill elements in a Shrink cross axis
Instead of collapsing, the `Fill` elements will fill the
cross space allocated by the other `Shrink` elements present
in the container.
2024-09-21 21:14:54 +02:00
Héctor Ramón Jiménez
2a547ae372
Drop short-hand notation support for color! macro
We'd need to use `stringify!` and `str::len` to properly
support the short-hand notation; however, we want the
macro to work in `const` contexts.
2024-09-20 17:27:43 +02:00
Héctor Ramón Jiménez
6ad7c7d308
Show text doc examples in multiple places 2024-09-19 06:10:44 +02:00
Héctor Ramón Jiménez
1448c5bfa5
Implement some From traits for text_input::Id 2024-09-18 20:30:14 +02:00
Héctor Ramón Jiménez
f897442831
Remove outdated window::Id::MAIN reference in docs 2024-09-18 03:12:49 +02:00
Héctor Ramón Jiménez
40ea3dabff
Bump version to 0.13.0 🎉 2024-09-18 02:38:49 +02:00
Héctor Ramón
e9e8e83cca
Merge pull request #2551 from airstrike/mouse-interactions
Expose additional mouse interaction cursors
2024-09-13 17:07:56 +02:00
Héctor Ramón Jiménez
d4b9b4720f
Add Copy and Help variants to mouse::Interaction 2024-09-13 16:58:44 +02:00
Héctor Ramón Jiménez
1cbedfaac7
Rename ResizingDiagonal* to ResizingDiagonally* 2024-09-13 16:55:40 +02:00
Héctor Ramón Jiménez
4e9428bc5a
Fix broken doc links in keyboard::key 2024-09-13 03:18:17 +02:00
Héctor Ramón Jiménez
94c8b9639c
Add modified_key to keyboard::Event 2024-09-13 03:10:40 +02:00
Héctor Ramón Jiménez
cbe91d4a7c
Add physical_key to keyboard::Event
Co-authored-by: Exidex <16986685+Exidex@users.noreply.github.com>
2024-09-13 03:02:07 +02:00
Héctor Ramón Jiménez
7901d4737c
Encourage use of color! macro in Color::parse docs 2024-09-11 01:28:03 +02:00
Héctor Ramón Jiménez
523708b5b1
Rename Color::from_hex to Color::parse 2024-09-11 01:21:12 +02:00
Héctor Ramón Jiménez
934667d263
Improve flexibility of color! macro 2024-09-11 01:21:12 +02:00
Vlad-Stefan Harbuz
816facc204
Add Color::from_hex 2024-09-11 01:21:12 +02:00
Nadji Abidi
190774258c
Add override_redirect for X11 windows
This commit add the `override_redirect` boolean field to the `PlatformSpecific` struct for linux platform.
This is a X11-specific flag allow bypassing window manager mapping for precise positioning of windows.
2024-09-11 00:00:40 +02:00
lufte
e102e89c6a
Implement scroll_by operation for scrollable
`scroll_by` allows scrolling an absolute offset
that is applied to the current scrolling position.
2024-09-10 22:09:03 +02:00
Isaac Marovitz
9edd805c02
Add mouse::Button to mouse::Click 2024-09-09 23:45:15 +02:00
Night_Hunter
d1ceada119
add option for undecorated_shadow on windows (#2285)
* add option for undecorated_shadow on windows

* formated
2024-09-05 11:17:44 +02:00
Héctor Ramón Jiménez
f98328f4f1
Add text::Wrapping support
Co-authored-by: Neeraj Jaiswal <neerajj85@gmail.com>
2024-09-04 21:26:47 +02:00
Héctor Ramón Jiménez
4c883f12b4
Make RichText generic over data structure
... and decouple `markdown::parse` from theming
2024-08-22 02:24:06 +02:00
Andy Terra
6dc71f6f3b Expose additional mouse interaction cursors 2024-08-16 10:44:58 -04:00
Héctor Ramón Jiménez
515772c9f8
Rename operation::chain to then
... and make `focus_*` operations generic over
the output type.
2024-08-15 01:30:24 +02:00