Commit graph

403 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
f5bcfec821
Use rustc-hash for most of our HashMap and HashSet instances 2024-04-01 12:00:15 +02:00
Héctor Ramón Jiménez
6216c513d5
Use generic Content in Text to avoid reallocation in fill_text 2024-04-01 11:30:01 +02:00
Héctor Ramón Jiménez
faa53647cc
Replace xxhash-rust with rustc-hash 2024-03-30 15:57:50 +01:00
Héctor Ramón Jiménez
a8ceb9469b
Propagate advanced feature to iced_core 2024-03-26 04:21:02 +01:00
Héctor Ramón
eae4065300
Merge pull request #2350 from iced-rs/theming-revolutions
Theming Revolutions
2024-03-25 22:21:22 +01:00
Héctor Ramón Jiménez
f0ae9a0c38
Use Catalog approach for all widgets 2024-03-24 05:03:09 +01:00
Héctor Ramón Jiménez
e657dc2ecd
Fine-tune Catalog approach for button, checkbox, and svg 2024-03-24 02:08:20 +01:00
Héctor Ramón Jiménez
999ad2d288
Try catalog theming approach with Button 2024-03-23 19:23:08 +01:00
Héctor Ramón Jiménez
4f2f40c68b
Fix standalone compilation of iced_widget crate 2024-03-22 05:41:15 +01:00
Héctor Ramón Jiménez
1f13a91361
Make iced_tiny_skia optional with a tiny-skia feature 2024-03-22 05:27:31 +01:00
Héctor Ramón Jiménez
3645d34d6a
Implement composable, type-safe renderer fallback 2024-03-21 22:27:17 +01:00
Héctor Ramón Jiménez
188db4da48
Draft support for dynamic custom renderer injection 2024-03-21 05:52:48 +01:00
Héctor Ramón Jiménez
9db6ac8f20
Introduce auto-detect-theme feature 2024-03-20 00:02:46 +01:00
Héctor Ramón Jiménez
bf93c82fac
Try to find an #iced element by default on Wasm 2024-03-19 07:14:02 +01:00
Héctor Ramón Jiménez
8ce16aba62
Fix redundant import in window::redraw_request 2024-03-19 07:13:34 +01:00
Héctor Ramón Jiménez
784fa80c0d
Use Program API in todos example 2024-03-17 17:57:24 +01:00
Héctor Ramón
9d79d7b96b
Merge pull request #2329 from casperstorm/feat/ferra
feat: added Ferra theme
2024-03-16 19:52:34 +01:00
Héctor Ramón Jiménez
bad3b1ac47
Show name of current Theme in clock example 2024-03-16 16:52:21 +01:00
Casper Rogild Storm
7da06056fa feat: added ferra 2024-03-15 12:39:28 +01:00
Héctor Ramón Jiménez
aeb72d528f
Use closures for Text::style 2024-03-12 14:35:55 +01:00
Héctor Ramón Jiménez
4b33a450e0
Simplify documentation of Element::map 2024-03-09 17:52:06 +01:00
rustrover
500ba962d1 fix some comments
Signed-off-by: rustrover <seekseat@126.com>
2024-03-09 15:26:37 +08:00
Héctor Ramón Jiménez
8919f2593e
Clarify docs of Text::color_maybe 2024-03-08 13:51:34 +01:00
Héctor Ramón Jiménez
3e99f39a86
Rename transparentize to scale_alpha 2024-03-08 13:40:10 +01:00
Héctor Ramón Jiménez
7ece5eea50
Implement additional helpers for Border and container::Appearance 2024-03-07 21:02:17 +01:00
Héctor Ramón Jiménez
37755121d7
Sort iced_core dependencies 2024-03-07 00:21:09 +01:00
Héctor Ramón Jiménez
905f2160e6
Move Theme type to iced_core 2024-03-07 00:14:41 +01:00
Héctor Ramón Jiménez
34e7c6593a
Use Style struct pattern instead of trait for all widgets 2024-03-06 20:30:58 +01:00
Héctor Ramón Jiménez
f4a4845ddb
Simplify theming for Button widget 2024-03-04 20:42:37 +01:00
Héctor Ramón Jiménez
4130ae4be9
Simplify theming for Text widget 2024-03-04 19:32:13 +01:00
Héctor Ramón Jiménez
cbe4603579
Remove complex cross-axis layout logic from Column and Row 2024-03-03 01:08:11 +01:00
Héctor Ramón Jiménez
01fbd5049d
Fix Column and Row fluidity being overridden by push 2024-02-27 01:21:02 +01:00
Héctor Ramón Jiménez
950a7f7eaf
Add From<u16> and From<i32> for border::Radius 2024-02-21 07:10:29 +01:00
Héctor Ramón Jiménez
b0d8da9fa6
Implement PartialOrd, Ord, and Hash for keyboard::Modifiers 2024-02-20 01:31:04 +01:00
Héctor Ramón Jiménez
e9862f8913
Point doc links to 0.12 branch 2024-02-15 03:22:53 +01:00
Héctor Ramón Jiménez
508b3fe1f1
Introduce Kind in core::clipboard 2024-02-13 03:15:21 +01:00
Mattias Eriksson
4155edab8d
Add support for primary clipboard 2024-02-13 03:14:30 +01:00
Wyatt Herkamp
149e8b4103
Update some dependencies 2024-02-09 01:53:34 +01:00
Héctor Ramón Jiménez
2ba73b0faf
Fix wrapped lines not being considered when measuring TextEditor 2024-02-07 21:48:28 +01:00
DoomDuck
d838d8e3ad
image::Bytes::PartialEq: use core::ptr::eq to speed up comparison 2024-02-07 20:32:15 +01:00
fogarecious
7bd849199c
Add From<PathBuf> to Svg Handle 2024-02-05 23:52:04 +01:00
Héctor Ramón Jiménez
fb646a7f14
Make color! macro const-friendly 2024-02-03 18:37:42 +01:00
Var Bhat
6492d9d927
make color! macro expand hex as Color directly 2024-02-03 18:25:03 +01:00
Héctor Ramón Jiménez
f4d6648601
Introduce with_transformation to Renderer trait 2024-02-02 02:24:45 +01:00
Héctor Ramón Jiménez
aa41d7656e
Apply Transform scaling to text primitives 2024-02-02 01:55:32 +01:00
Héctor Ramón Jiménez
738aa47547
Remove position from overlay::Element 2024-02-01 01:08:21 +01:00
Cory Forsstrom
b10a27abee
Call size_hint from Explain 2024-01-31 14:39:51 -08:00
Cory Forsstrom
f9db8d1efe
Call size_hint from Map 2024-01-31 14:14:58 -08:00
Héctor Ramón Jiménez
b1932989b0
Improve Radians ergonomics 2024-01-31 19:35:38 +01:00
kxie
c077e107f2
Use Radians in arc and ellipse types 2024-01-31 19:21:10 +01:00