Thomas
fbc9ef74c4
Change init_with_level to init in examples
2023-09-09 22:42:41 +02:00
Thomas
052fe0edae
Dont use tracing-subscriber dependency on web
2023-09-09 14:15:11 +02:00
Thomas
52da89ac53
Add instructions to run web examples
2023-09-09 14:11:40 +02:00
Thomas
e562544807
Add logging for web in tour example
2023-09-09 14:09:48 +02:00
Thomas
9c2ad457d8
Add webgl feature for web examples
2023-09-09 13:59:18 +02:00
Héctor Ramón
89d9c45d25
Merge pull request #2055 from matze/perceptual-gradient
...
Compute gradients in Oklab color space
2023-09-08 04:55:16 +02:00
Héctor Ramón Jiménez
90cbab18b9
Fine-tune Radians::to_distance
...
An angle of 0 radians will "point" to the top-center of a `Rectangle` and
then increase clockwise.
2023-09-08 02:36:17 +02:00
Héctor Ramón Jiménez
d2294737c2
Use Radians as a number directly in gradient example
2023-09-08 01:58:52 +02:00
Héctor Ramón Jiménez
c1139898c5
Remove unnecessary centering in gradient example
2023-09-07 07:55:54 +02:00
Héctor Ramón Jiménez
d6be3ab682
Use horizontal_space instead of empty text widget in gradient example
2023-09-07 07:55:09 +02:00
Héctor Ramón Jiménez
6ff2e48feb
Use Default for container::Appearance in gradient example
2023-09-07 07:53:34 +02:00
Héctor Ramón Jiménez
fc261a539b
Fix name of gradient example package
2023-09-07 07:53:26 +02:00
Héctor Ramón Jiménez
d818deb4cd
Increase threshold of enum-variant-names lint
2023-09-07 07:50:59 +02:00
Héctor Ramón Jiménez
f83fb9b6cd
Use Color::WHITE in gradient example
2023-09-07 07:48:44 +02:00
Héctor Ramón Jiménez
21259ee745
Rename gradients example to gradient
2023-09-07 07:48:44 +02:00
Héctor Ramón Jiménez
adfcd8c727
Simplify gradients example
2023-09-07 07:48:44 +02:00
Héctor Ramón Jiménez
10d0b257f9
Use Oklab color interpolation only with color::GAMMA_CORRECTION
2023-09-07 07:48:43 +02:00
Matthias Vogelgesang
2b746c7b25
Add gradient picker example
2023-09-07 07:45:42 +02:00
Matthias Vogelgesang
181708a1c0
Compute gradients in Oklab color space
2023-09-07 07:45:42 +02:00
Héctor Ramón
b5e7fb240c
Merge pull request #2070 from ripytide/master
...
Added a Frame::scale_nonuniform method
2023-09-07 06:03:41 +02:00
Héctor Ramón
d82c8b59e6
Merge pull request #2071 from Davidster/wgpu_webgpu_support
...
use @interpolate(flat) attribute as per the WebGPU spec
2023-09-07 05:53:50 +02:00
Héctor Ramón Jiménez
09965b686e
Make scale methods in Frame generic over f32 and Vector
2023-09-07 05:51:39 +02:00
Héctor Ramón Jiménez
1f263051b6
Implement scale in terms of scale_nonuniform
2023-09-07 05:45:51 +02:00
Héctor Ramón Jiménez
87800095e2
Remove unnecessary interpolate(flat) in quad.wgsl
2023-09-07 05:43:03 +02:00
Héctor Ramón
ccc7870892
Merge pull request #2074 from iced-rs/self-host-gifs
...
Host GIFs and video examples in `iced.rs`
2023-09-07 05:18:51 +02:00
Héctor Ramón Jiménez
6fd2c15527
Host GIFs and video examples in iced.rs
...
RIP Gfycat
2023-09-07 05:05:43 +02:00
Nick
e5afaa0892
Add access to bounds/content bounds from a scrollable viewport. ( #2072 )
...
* Add access to bounds/content bounds from a scrollable viewport in order to perform certain scrollable optimizations as a consumer.
* Move bounds/content_bounds after relative_offset as per feedback.
2023-09-07 01:50:59 +00:00
Héctor Ramón
6fc88c3c80
Merge pull request #2059 from joshuamegnauth54/ensure_nonzero_text_lineheight
...
[issue #2002 ] Ensure that absolute `LineHeight` is always > 0.0
2023-09-07 03:49:44 +02:00
Héctor Ramón
d1822ad811
Merge pull request #2069 from iced-rs/use-workspace-dependencies
...
Use workspace dependencies and package inheritance
2023-09-07 03:30:35 +02:00
Héctor Ramón Jiménez
d315e27451
Update example dependencies
2023-09-07 03:15:02 +02:00
Héctor Ramón
c8fed143eb
Merge pull request #2073 from iced-rs/event-helpers
...
Add `keyboard` subscriptions and rename `subscription::events` to `event::listen`
2023-09-07 03:10:57 +02:00
Héctor Ramón Jiménez
8cfad86ec1
Unify audit and detect workflows
2023-09-07 03:02:06 +02:00
Héctor Ramón Jiménez
d21f0698b5
Add hotkey support for stopwatch example
2023-09-07 02:58:43 +02:00
Héctor Ramón Jiménez
08a031cbe5
Introduce keyboard::on_key_press and on_key_release
...
Also rename `subscription::events*` to `event::listen*`.
2023-09-07 02:45:15 +02:00
Josh Megnauth
cee0ed6469
Use the correct text size and height in tiny_skia
2023-09-05 20:45:27 -04:00
ripytide
5371fae21a
added a Frame::scale_nonuniform method
2023-09-05 10:49:50 +01:00
Josh Megnauth
bdf18554fe
Check LineHeight > 0.0 before allocating text
2023-09-04 23:47:44 -04:00
Josh Megnauth
20681b4777
Ensure LineHeight is always > 0.0 for tiny skia.
2023-09-04 21:03:16 -04:00
Héctor Ramón Jiménez
34876aea5e
Add GitHub CI workflow to detect outdated dependencies
2023-09-04 13:41:21 +02:00
Héctor Ramón Jiménez
f468e25d0c
Use workspace dependencies and package inheritance
...
We are also taking this as a chance to synchronize
the versions of all the crates! Because of this, we
will skip the `0.11` version.
2023-09-04 13:08:17 +02:00
Josh Megnauth
ef429fbea6
Ensure LineHeight > 0.0 for the WGPU renderer
2023-09-04 02:58:54 -04:00
Héctor Ramón
a56b25b909
Merge pull request #2068 from iced-rs/webgpu-by-default
...
Enable WebGPU backend in `wgpu` by default instead of WebGL
2023-09-04 04:04:01 +02:00
Héctor Ramón Jiménez
685e44587c
Enable unstable web-sys APIs on CI
2023-09-04 03:46:41 +02:00
Héctor Ramón Jiménez
bb49a22996
Enable WebGPU backend in wgpu by default instead of WebGL
...
Instead, we expose a new `webgl` feature.
2023-09-04 03:28:45 +02:00
David Huculak
76cec1b1fd
use @interpolate(flat) attribute as per the WebGPU spec:
...
User-defined vertex outputs and fragment inputs of scalar or vector integer type must always be specified as @interpolate(flat)
https://www.w3.org/TR/WGSL/#interpolation
2023-09-03 19:32:38 -04:00
Héctor Ramón
2c51e3478b
Merge pull request #2046 from dtzxporter/dtzxporter-patch-1
...
Support automatic style type casting for Buttons.
2023-09-03 09:10:16 +02:00
Héctor Ramón
63c5f6278b
Merge branch 'master' into dtzxporter-patch-1
2023-09-03 08:55:57 +02:00
Héctor Ramón
404f4974a3
Merge pull request #2062 from akshayr-mecha/master
...
fix(examples-styling): fixed checkbox and toggler getting hidden behind scrollbar
2023-09-03 08:55:10 +02:00
Héctor Ramón Jiménez
982ea578be
Stop verifying the CHANGELOG on every PR
...
It's a real pain to keep it up-to-date. Way easier
to generate it with a script before release.
2023-09-03 08:43:58 +02:00
Héctor Ramón Jiménez
89d31913db
Update CHANGELOG
2023-09-03 08:43:12 +02:00