Commit graph

1704 commits

Author SHA1 Message Date
Clark Moody
d4c5f3ee95 Enable event handling within the title elements
Shrink the pick area to avoid both the controls and the title elements.
Handle events and merge title area event status with control events.
2021-05-24 16:37:47 -05:00
Clark Moody
1a2fd4e743 Example: Add Pin button to prevent closing a pane
Functionality will not work until PaneGrid implementation is updated
to support events within the title area.
2021-05-24 15:53:20 -05:00
Clark Moody
e6f8b32583 Example: Add close button to pane grid controls
Refactors the state data structure to hold content and controls in
separate fields. Adds a new button style for the control button.
2021-05-24 14:28:52 -05:00
Héctor Ramón
df971ac99b
Merge pull request #830 from Dispersia/upgrade-wgpu
Upgrade wgpu
2021-05-24 20:26:56 +07:00
Héctor Ramón
4cbc345245 Use FilterMode::Nearest in triangle::msaa 2021-05-21 20:34:08 +07:00
Héctor Ramón
ebec84ea7c Revert "Remove padding from triangle"
This reverts commit 2d549d806c.
2021-05-21 20:29:17 +07:00
Dispersia
0772310c4f Fix duplicating fragment position 2021-05-20 23:10:22 -07:00
Dispersia
a70715ad9e run format 2021-05-19 22:07:27 -07:00
Dispersia
2d549d806c Remove padding from triangle 2021-05-19 21:09:19 -07:00
Dispersia
b40c441646 Add padding to quad to fix alignment issue 2021-05-19 21:04:47 -07:00
Dispersia
d91422e345 temporary up 2021-05-19 08:09:03 -07:00
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
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
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
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