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
Héctor Ramón
a1114cada3
Merge pull request #2211 from MrAntix/windows_PlatformSpecific_skip_taskbar
...
feat(window): adds skip_taskbar for windows
2024-01-22 19:02:43 +01:00
Héctor Ramón Jiménez
7a50e9e8fb
Convert Renderer::Theme to generic Widget type
2024-01-21 17:56:01 +01:00
MrAntix
9cfb0f4a09
feat(window): adds skip_taskbar for windows
2024-01-21 13:20:01 +00:00
Héctor Ramón Jiménez
25f182f933
Introduce Border struct analogous to Shadow
2024-01-20 13:29:25 +01:00
Héctor Ramón Jiménez
370b2f6df7
Use Default implementation of renderer::Quad
2024-01-20 12:25:07 +01:00
Héctor Ramón Jiménez
b7b457a575
Make shadow optional in renderer::Quad
2024-01-20 12:11:18 +01:00
Héctor Ramón Jiménez
83902921a3
Run cargo fmt
2024-01-20 12:02:04 +01:00
Nick Senger
cc906c83cd
feat: quad shadows
2024-01-20 11:59:37 +01:00
Héctor Ramón Jiménez
9df7bf8ec3
Use workspace dependency for raw-window-handle in iced_core
2024-01-18 15:41:19 +01:00
Héctor Ramón Jiménez
03f5a351c3
Use SmolStr for text field in KeyPressed event
2024-01-16 13:31:02 +01:00
Héctor Ramón Jiménez
64d1ce5532
Refactor KeyCode into Key and Location
2024-01-16 13:28:00 +01:00
Héctor Ramón Jiménez
534c7dd7b0
Merge branch 'master' into update-winit
2024-01-16 12:02:42 +01:00
Héctor Ramón
50c310fd9f
Merge pull request #2192 from iced-rs/fix/layout-inconsistencies
...
Layout consistency
2024-01-12 14:41:40 +01:00
Héctor Ramón Jiménez
03c901d49b
Make Button sizing strategy adaptive
2024-01-11 06:12:19 +01:00
Héctor Ramón Jiménez
fa53d9adbb
Loosen cross axis constraint for main axis fills in flex layout
2024-01-11 06:11:36 +01:00
Héctor Ramón Jiménez
88f8c343fa
Fix cross calculation in layout::flex
2024-01-10 10:01:50 +01:00
Héctor Ramón Jiménez
025064c9e0
Fix broken doc links in layout::Node API
2024-01-10 10:01:50 +01:00
Héctor Ramón Jiménez
d62bb8193c
Introduce useful helpers in layout module
2024-01-10 10:01:49 +01:00
Héctor Ramón Jiménez
4bdd8a6279
Fix cross axis calculation in flex layout
2024-01-10 10:01:49 +01:00
Héctor Ramón Jiménez
d278bfd21d
Replace width and height with Widget::size
2024-01-10 10:01:49 +01:00
Héctor Ramón Jiménez
22226394f7
Introduce Widget::size_hint and fix further layout inconsistencies
2024-01-10 10:01:49 +01:00
Calastrophe
082985ade8
Small documentation typo fixed
2024-01-09 02:43:48 -06:00
Héctor Ramón Jiménez
fd8f980b88
Use max_cross if all elements are fluid in layout::flex
2024-01-04 06:53:07 +01:00
Héctor Ramón Jiménez
aa3c956516
Fix available space provided to children with non-fill main axis but fill cross axis
2024-01-04 06:53:07 +01:00
Héctor Ramón Jiménez
89418c1244
Determine cross-axis max length based on contents if Shrink
2024-01-04 06:53:06 +01:00
Héctor Ramón Jiménez
0655a20ad1
Make Shrink have priority over Fill in layout
2024-01-04 06:51:21 +01:00
Héctor Ramón Jiménez
1481f0c0a4
Use latest raw-window-handle in iced_core
2023-12-15 14:04:30 +01:00
Héctor Ramón Jiménez
e819c2390b
Update winit to 0.29.4
2023-12-15 13:39:00 +01:00
Héctor Ramón
fc285d3e46
Merge pull request #1964 from bungoboingo/feat/multi-window-support
...
[Feature] 🪟 Multi Window 🪟 .. redux!
2023-12-05 01:03:09 +01:00
Héctor Ramón Jiménez
ea42af766f
Use AtomicU64 for window::Id
2023-12-02 20:41:58 +01:00
Héctor Ramón Jiménez
b526ce4958
Rename viewport to clip_bounds
2023-12-02 15:56:28 +01:00
Héctor Ramón Jiménez
936d480267
Clip text to viewport bounds instead of layout bounds
2023-12-01 16:04:27 +01:00
Héctor Ramón Jiménez
67408311f4
Use actual floats for logical coordinates
2023-11-30 23:40:33 +01:00
Héctor Ramón Jiménez
6dca076c8b
Use workspace dependency for raw-window-handle
2023-11-29 22:32:41 +01:00
Héctor Ramón Jiménez
e09b4e24dd
Merge branch 'master' into feat/multi-window-support
2023-11-29 22:28:31 +01:00
Héctor Ramón Jiménez
25006b9c6f
Fix Overlay composition
...
Translations were not easily composable.
2023-11-21 14:41:22 +01:00
Héctor Ramón Jiménez
a5125d6fea
Refactor texture image filtering
...
- Support only `Linear` or `Nearest`
- Simplify `Layer` groups
- Move `FilterMethod` to `Image` and `image::Viewer`
2023-11-11 07:22:51 +01:00
Remmirad
4b32a48880
Fix clippy + fmt
2023-11-11 07:21:51 +01:00
Remmirad
5759096a4c
Implement texture filtering options
2023-11-11 07:21:51 +01:00
dtzxporter
98e088e731
Migrate twox-hash -> xxhash_rust. Switch to Xxh3 for better performance.
...
xxhash-rust is more maintained, built against `::core`, so no workaround for wasm is necessary. Switch to Xxh3 for better performance, which shows when loading/hashing image buffers.
2023-11-11 03:40:22 +01:00