Aaron Housh
ae484429d3
Merge branch 'hecrj:master' into upgrade-wgpu
2021-05-19 07:14:26 -07:00
Héctor Ramón
cf6af4c256
Use latest wgpu releases instead of patched sources
2021-05-19 17:18:43 +07:00
Héctor Ramón
8b7452a55d
Fix formatting with cargo fmt
2021-05-19 16:26:04 +07:00
Héctor Ramón
3918257883
Merge pull request #886 from Chiheisen/fix/pick_list_layouting
...
pick_list: fix layouting not respecting fonts
2021-05-19 15:40:17 +07:00
chiheisen
59f3896392
fix pick_list layouting not respecting fonts
2021-05-18 12:37:23 +02:00
chiheisen
fe2392e973
viewer: Don't calculate viewport on Fill|Portion
...
Currently image::viewer will not expand it's image into empty space even
when Length::Fill or Length::FillPortion are used. Only calculate
viewport when viewer cannot expand.
2021-05-17 22:01:43 +02:00
zdevwu
40d21d2365
Added text color and font options for native radio and checkbox ( #831 )
...
* text color and font options to radio
* code formatting
* code formatting
* code formatting
* Added text_color for native checkbox
* Removed clone as color has Copy
* Fix code formatting with `cargo fmt`
Co-authored-by: Héctor Ramón <hector@lich.io>
2021-05-17 20:22:55 +07:00
Héctor Ramón
0ce6a2db21
Merge pull request #876 from Cupnfish/master
...
Add a primary backend that can be set
2021-05-17 19:54:28 +07:00
Héctor Ramón
70ee917bac
Merge pull request #875 from ZakisM/optimize_svg_algorithm
...
This commit optimizes the algorithm used to convert rgba pixels into bgra pixels for SVG's.
2021-05-17 19:51:17 +07:00
Downtime
88defb65ca
update doc
2021-05-14 21:21:25 +08:00
Héctor Ramón
faa68534cf
Merge pull request #877 from RDambrosio016/patch-1
...
Change examples to point to 0.3 examples, not 0.2
2021-05-14 20:05:49 +07:00
Riccardo D'Ambrosio
5f1b880521
Change examples to point to 0.3 examples, not 0.2
2021-05-13 11:04:09 -04:00
Downtime
e6db439870
Add a primary backend that can be set
...
Add a primary backend that can be set
2021-05-13 16:46:20 +08:00
Zak
77a17cde83
This commit optimizes the function used to converg rgba pixels into bgra pixels.
2021-05-11 22:41:55 +01:00
13r0ck
3a9ad89970
cargo fmt
2021-05-10 16:06:39 -06:00
13r0ck
8f319d7c6f
Improve performance using iters
2021-05-10 16:05:50 -06:00
13r0ck
77e6e111e0
add scrolling to pick_lists
2021-05-10 14:29:35 -06:00
Héctor Ramón
08f5591148
Merge pull request #868 from hecrj/wgpu-compatible-surface
...
Provide `compatible_surface` in `iced_wgpu::Compositor`
2021-05-08 01:24:26 +07:00
Héctor Ramón
3840b75bea
Provide compatible_surface in iced_wgpu::Compositor
2021-05-05 14:33:30 +07:00
Héctor Ramón
6b4bf34bf9
Merge pull request #851 from hecrj/fix/scrollbar-under-content
...
Fix `Scrollable` scrollbar being rendered behind contents
2021-05-04 13:03:43 +07:00
Héctor Ramón
59c2500c55
Fix Scrollable scrollbar being rendered behind contents
...
... by issuing a new clip layer just for the scrollbar itself.
2021-05-03 15:42:02 +07:00
Dispersia
983aa1b366
Run cargo fmt
2021-04-12 23:23:47 -07:00
Dispersia
0722d5e3ec
add temporary fix for image wgsl
2021-04-12 23:07:58 -07:00
Dispersia
c719091c3d
Add staging belt fix
2021-04-12 22:06:16 -07:00
Dispersia
9a2c78c405
Upgrade wgpu
2021-04-11 18:55:57 -07:00
Héctor Ramón
4b8ba8309f
Merge pull request #825 from tarkah/feat/window-visibility
...
add window visibility
2021-04-11 10:38:52 +07:00
Liam Murphy
11f29bca86
Use data urls instead of blob URLs
...
I didn't do this originally because I was half doing it in the first place to mess with Blob URLs, and it feels kinda wrong to be encoding it as base64 when that option is available. But not having memory leaks is more important.
2021-04-10 17:18:04 +10:00
Cory Forsstrom
84c0c9bc7a
use Mode::Hidden instead
2021-04-09 09:04:30 -07:00
Cory Forsstrom
6f6f1d82e8
add to glutin
2021-04-08 13:30:38 -07:00
Cory Forsstrom
cdab8f90fb
add window visibility
2021-04-08 12:58:08 -07:00
Héctor Ramón
3ea2c4595a
Merge pull request #815 from taiki-e/docs
...
Enable qr_code feature on docs.rs
2021-04-06 13:47:30 +07:00
Taiki Endo
8473d8e984
Enable qr_code feature on docs.rs
2021-04-06 02:46:44 +09:00
Héctor Ramón
854b2e0c4d
Merge pull request #810 from Cupnfish/master
...
fix typo
2021-04-01 17:54:39 +02:00
Downtime
ca4257ff5c
Update frame.rs
2021-04-01 21:58:25 +08:00
Héctor Ramón Jiménez
90fee3a923
Fix iced_wgpu link in CHANGELOG
2021-03-31 20:46:59 +02:00
Héctor Ramón
06517aa7e8
Merge pull request #806 from hecrj/release/0.3.0
...
Release 0.3 — Touch support, clipboard write access, image viewer, tooltips, and more!
2021-03-31 20:34:45 +02:00
Héctor Ramón Jiménez
0864e63bde
Bump versions 🎉
2021-03-31 20:07:17 +02:00
Héctor Ramón Jiménez
2b20512a3d
Update CHANGELOG
2021-03-31 19:59:23 +02:00
Héctor Ramón
b9ec44446e
Merge pull request #804 from hecrj/feature/graceful-exit
...
Graceful exiting for `Application`
2021-03-31 10:20:22 +02:00
Héctor Ramón Jiménez
8f952452ce
Showcase graceful exiting in events example
2021-03-30 21:45:49 +02:00
Héctor Ramón Jiménez
67db13ff7c
Add support for graceful exits in Application
...
- `Settings` now contains an `exit_on_close_request` field
- `Application` has a new `should_exit` method
2021-03-30 21:44:19 +02:00
Héctor Ramón Jiménez
00de9d0c9b
Add CloseRequested variant to window::Event
2021-03-30 21:33:57 +02:00
Héctor Ramón
bbb4e4678f
Merge pull request #796 from hecrj/fix/redraw-empty-window
...
Skip redrawing if window has no surface
2021-03-26 15:16:28 +01:00
Héctor Ramón Jiménez
1207afa7d0
Skip redrawing if window has no surface
2021-03-26 14:46:19 +01:00
Héctor Ramón
bf09f44d56
Merge pull request #789 from Cupnfish/master
...
Add WGPU_BACKEND environment variable
2021-03-25 11:41:52 +01:00
Héctor Ramón Jiménez
883c7e71ae
Introduce internal_backend to iced_wgpu::Settings
2021-03-25 11:29:40 +01:00
Downtime
ab8dcf91bd
Support choosing wgpu backend using env var
2021-03-25 11:29:26 +01:00
Héctor Ramón Jiménez
2b520ca098
Convert ScaleFactorChanged into Resized events in iced_glutin
...
... instead of just dropping them when calling `to_static`.
2021-03-24 05:29:19 +01:00
Héctor Ramón Jiménez
d66a34b272
Convert ScaleFactorChanged into Resized events in iced_winit
...
... instead of just dropping them when calling `to_static`.
2021-03-24 04:59:13 +01:00
Liam Murphy
99c56b9bff
fix: Don't rely on image handle not being dropped
...
It now causes a memory leak, though. :/
2021-03-21 15:34:20 +11:00