Cory Forsstrom
55dc3b5619
Introduce internal overlay::Nested for UserInterface
2023-06-14 09:25:30 +02:00
Héctor Ramón
329fbc7b21
Merge pull request #1910 from tarkah/fix/scrollable-scroll-wheel
...
Only scroll w/ wheel if over scrollable
2023-06-13 03:37:57 +02:00
Cory Forsstrom
38da953583
Only scroll w/ wheel if over scrollable
2023-06-12 13:15:11 -07:00
Héctor Ramón
60cd864d43
Merge pull request #1904 from iced-rs/cursor-availability
...
Cursor availability
2023-06-09 21:53:54 +02:00
Héctor Ramón Jiménez
27639c4ce6
Fix mouse interactions in Scrollable
2023-06-08 21:03:24 +02:00
Héctor Ramón Jiménez
733c2bd9f5
Use mouse::Cursor in integration example
2023-06-08 20:45:48 +02:00
Héctor Ramón Jiménez
aba98e4965
Extend cursor availability to the shell level
2023-06-08 20:35:40 +02:00
Héctor Ramón Jiménez
57db196c3a
Increase width of controls in pane_grid example
2023-06-08 20:23:47 +02:00
Héctor Ramón Jiménez
5c8cfb411e
Take Rectangle by value in Cursor API
2023-06-08 20:16:46 +02:00
Héctor Ramón Jiménez
34451bff18
Implement basic cursor availability
2023-06-08 20:11:59 +02:00
Héctor Ramón
c15f1b5f65
Merge pull request #1888 from iced-rs/web-colors
...
Introduce `web-colors` feature flag to enable "sRGB linear" blending
2023-06-03 03:04:38 +02:00
Héctor Ramón
b353767d2d
Merge pull request #1892 from casperstorm/feat/slider-rail-border-radius
...
Add `border_radius` to slider rail
2023-06-01 17:44:00 +02:00
Héctor Ramón Jiménez
66d4decc0c
Fix quad glitch when rounding borders of a Slider rail
2023-06-01 17:27:52 +02:00
Héctor Ramón Jiménez
ee0dd4c623
Change default styling of Slider to leverage rounded borders
2023-06-01 17:25:56 +02:00
Héctor Ramón
44748664c1
Merge pull request #1893 from iced-rs/fix/mesh-empty-scissor-rect
...
Fix empty scissor rectangle in `iced_wgpu::triangle` pipeline
2023-06-01 17:24:59 +02:00
Héctor Ramón Jiménez
166d350dfc
Fix empty scissor rectangle in iced_wgpu::triangle pipeline
2023-06-01 17:12:28 +02:00
Casper Storm
1e2965d542
only add border radius to the visible part
2023-06-01 13:30:48 +02:00
Casper Storm
9902e77816
Add border_radius to slider rail
2023-06-01 10:46:33 +02:00
Héctor Ramón
ce64dcbfd4
Merge pull request #1890 from iced-rs/fix/responsive-layout-invalidation
...
Invalidate `Responsive` layout when size changes without a `view` call
2023-06-01 05:17:02 +02:00
Héctor Ramón Jiménez
0b504bec8a
Invalidate Responsive layout when size changes without a view call
2023-06-01 04:59:49 +02:00
Héctor Ramón Jiménez
b5fc0f4a3a
Use consistent color strategy in glyphon
2023-06-01 03:10:02 +02:00
Héctor Ramón Jiménez
c528f2129e
Use proper gamma correction mode in image::Atlas::grow
2023-05-31 21:45:12 +02:00
Héctor Ramón Jiménez
f1b259a28f
Avoid gamma correction when web-colors is enabled for images
2023-05-31 21:42:39 +02:00
Héctor Ramón Jiménez
faa7627ea4
Introduce web-colors feature flag to enable sRGB linear blending
...
This is how browsers perform color management. They treat
gamma-corrected sRGB colors as if they were linear RGB.
Correctness aside, this mode is introduced for legacy reasons. Most
UI/UX tooling uses this color management as well, and many have created
an intuition about how color should behave from interacting with a
browser.
This feature flag should facilitate application development with `iced`
in those cases.
More details: https://webcolorisstillbroken.com/
2023-05-31 21:31:58 +02:00
Héctor Ramón
b5f102c558
Merge pull request #1883 from iced-rs/update/glyphon
...
Skip missing glyphs instead of panicking in `glyphon`
2023-05-30 17:07:24 +02:00
Héctor Ramón
9253f7663d
Merge pull request #1873 from bungoboingo/fix/bg-gradient-layering
...
[Fix] Quads of different background types not ordered
2023-05-30 01:47:31 +02:00
Héctor Ramón
8ff2e0178f
Merge pull request #1859 from RGBCube/patch-1
...
Add Nix instructions to README
2023-05-30 01:42:18 +02:00
Héctor Ramón Jiménez
c319f5113b
Move Pipeline struct definition after Layer in quad submodules
2023-05-30 01:35:06 +02:00
Héctor Ramón Jiménez
ef547469fd
Improve boundaries between quad submodules in iced_wgpu
2023-05-30 01:33:50 +02:00
Héctor Ramón Jiménez
5fdc5affce
Rename quad_order variable to kind in quad::Pipeline::render
2023-05-30 01:17:03 +02:00
Héctor Ramón Jiménez
9659e6a848
Improve consistency of match branches in quad::Batch::add
2023-05-30 01:16:30 +02:00
Héctor Ramón Jiménez
cd7d33aa8e
Simplify order match statement in quad::Batch::add
2023-05-30 01:14:41 +02:00
Héctor Ramón Jiménez
6d650e7f99
Rename quad::Order to quad::Kind
2023-05-30 01:08:35 +02:00
Héctor Ramón Jiménez
fe9da174ca
Move layer::quad types to quad module
...
Not sure why I split these to begin with!
2023-05-30 01:08:34 +02:00
Bingus
eb6c663420
Adjusted Quads struct to be opaque quad::Layer.
2023-05-29 12:24:35 -07:00
Bingus
3f141459a6
Fixed issue where quads of different types were not ordered.
2023-05-29 12:14:11 -07:00
Héctor Ramón
75110b9c0e
Merge pull request #1871 from bungoboingo/fix/bg-gradient
...
[Fix] Make gradient pack fn public for iced_graphics::Gradient
2023-05-29 21:09:17 +02:00
Héctor Ramón Jiménez
8ca7b884c0
Make Packed fully opaque
...
... by only allowing direct conversion from our `Gradient` types
2023-05-29 20:56:51 +02:00
Héctor Ramón Jiménez
556f3e89d3
Skip missing glyphs instead of panicking in glyphon
2023-05-29 20:47:47 +02:00
Bingus
902e333148
Changed gradient::Packed to be repr(C) for direct gpu upload.
2023-05-26 10:13:18 -07:00
Héctor Ramón
fcb1b45436
Merge pull request #1875 from clarkmoody/palette-0.7
...
Upgrade `palette` dependency
2023-05-26 19:02:29 +02:00
Héctor Ramón Jiménez
cf2c8f2037
Use approx for testing color operations
2023-05-26 00:04:10 +02:00
Héctor Ramón Jiménez
b741893013
Use Srgb and Srgba from palette directly
2023-05-26 00:03:34 +02:00
Héctor Ramón Jiménez
2a00aaa747
Use as_slice instead of as_ref in checkbox example
2023-05-25 23:48:42 +02:00
Clark Moody
2d21d0900e
Upgrade palette dependency
2023-05-25 23:44:31 +02:00
Héctor Ramón
c61a4cc21c
Merge pull request #1738 from nicoburns/update-winit-0.28
...
Update to winit 0.28
2023-05-25 23:37:14 +02:00
Héctor Ramón Jiménez
70fd296ccc
Remove unnecessary newline
2023-05-25 23:20:26 +02:00
Héctor Ramón Jiménez
f0788b9f37
Replace change_always_on_top action with change_level
2023-05-25 23:18:50 +02:00
Héctor Ramón Jiménez
a7fa7e4005
Introduce window::Level enum
...
... and add `level` field to `window::Settings`
2023-05-25 23:14:07 +02:00
Héctor Ramón Jiménez
b924e86630
Update window_clipboard dependency
2023-05-25 23:05:24 +02:00