Commit graph

613 commits

Author SHA1 Message Date
Andy Terra
34673fc54f Implement Mul<Transformation> for mouse::Click 2025-01-27 23:05:51 -05:00
Andy Terra
0802ed3b3a Implement Mul<Transformation> for mouse::Cursor 2025-01-27 23:05:24 -05:00
Héctor Ramón Jiménez
ae35992048
Add repeat, repeat_forever, and auto_reverse to Animation 2025-01-28 03:24:48 +01:00
Héctor Ramón Jiménez
23d42d2827
Rename Animation::in_progress to is_animating 2025-01-28 03:04:31 +01:00
Héctor Ramón Jiménez
8fd87f94eb
Make animation module only available in native 2025-01-27 05:32:18 +01:00
Héctor Ramón Jiménez
2753103942
Fix broken intra-doc link in animation 2025-01-27 05:22:37 +01:00
Héctor Ramón Jiménez
890d852e05
Implement Animation::value 2025-01-27 05:01:24 +01:00
Héctor Ramón Jiménez
bf600a0811
Draft basic Animation API in iced_core 2025-01-27 02:50:51 +01:00
Héctor
da1726b134
Merge pull request #2749 from rhysd/const-from-rgb8
Make `Color::from_rgb8` and `Color::from_rgba8` const
2025-01-27 01:27:26 +01:00
Héctor Ramón Jiménez
81f05f00c2
Use color! macro in Palette definitions 2025-01-27 01:17:45 +01:00
Héctor Ramón Jiménez
ce07acf6fe
Make all Color constructors const 🎉 2025-01-27 01:09:16 +01:00
Héctor
1dccd1e71f
Merge pull request #2741 from edwloef/click-kind-derive
derive PartialEq and Eq for `mouse::click::Kind`
2025-01-26 20:22:52 +01:00
Héctor Ramón Jiménez
e90ff41edb
Implement pop widget 🎉 2025-01-26 04:29:57 +01:00
rhysd
c6da74702e Make Color::from_rgb8 and Color::from_rgba8 const 2025-01-25 09:11:27 +09:00
Héctor Ramón Jiménez
3d893ae01b
Add Duration helpers to time module 2025-01-24 18:47:34 +01:00
edwloef
3d64e6cd3c
derive partialeq and eq for mouse::click::Kind 2025-01-22 16:32:59 +01:00
tsuza
e3f149d932
feat: add a window drag resize task 2025-01-16 11:17:00 +00:00
Héctor Ramón Jiménez
6fb7ec6cd4
Use unwrap_or in Theme::default 2025-01-14 11:36:02 +00:00
Ricardo Fernández Serrata
b0f860533e
migrate core::theme to dark-light v2 2025-01-09 19:30:09 -04:00
Héctor
717b296cdb
Merge pull request #2626 from tvolk131/remove_once_cell
chore: remove once_cell dependency
2025-01-06 23:09:15 +01:00
Héctor
634365564e
Merge pull request #2627 from bbb651/more-window-settings
Add `maximized` and `fullscreen` to `window::Settings`
2025-01-06 23:05:32 +01:00
Héctor Ramón Jiménez
2b8b3fd413
Fix consistency of import ordering 2025-01-06 23:00:21 +01:00
Tommy Volk
0e8c3fe30f
chore: remove once_cell dependency 2025-01-06 22:56:48 +01:00
David Aguiló Domínguez
feef71a382
Moved warning to be between success and danger 2025-01-06 20:31:20 +01:00
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
bbb651
dd08f98f0e Add window::Settings::fullscreen
Corresponds to `winit:🪟:WindowAttributes::with_fullscreen`.

Currently only allows to set `Fullscreen::Borderless(None)` meaning
borderless on the current monitor, exclusive fullscreen does not
make sense for a GUI and iced does not expose monitors yet.
2024-10-04 21:20:43 +03:00
bbb651
13c649881e Add window::Settings::maximized
Corresponds to `winit:🪟:WindowAttributes::with_maximized`
2024-10-04 21:14:06 +03: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