Commit graph

1949 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
95acc1deb8
Implement Widget::draw for custom_widget example 2021-10-18 15:49:28 +07:00
Héctor Ramón Jiménez
945f69e567
Draw styling in Widget::draw for Container 2021-10-18 15:44:03 +07:00
Héctor Ramón Jiménez
d61cb58d92
Wire up container styling to iced_native 2021-10-18 15:36:32 +07:00
Héctor Ramón Jiménez
edea093350
Move Defaults from iced_graphics to iced_native 2021-10-18 15:19:04 +07:00
Héctor Ramón Jiménez
54a9a232f8
Draw scrollbar in Widget::draw for Scrollable 2021-10-18 14:48:33 +07:00
Héctor Ramón Jiménez
a4f4d83161
Introduce fill_rectangle to Renderer trait 2021-10-18 14:47:49 +07:00
Héctor Ramón Jiménez
dfceee99aa
Implement Widget::draw for Scrollable
Rendering the scroller is still WIP
2021-10-14 17:15:29 +07:00
Héctor Ramón Jiménez
7c4738735b
Implement Widget::draw for Container 2021-10-14 17:05:47 +07:00
Héctor Ramón Jiménez
f8895a42b0
Implement Widget::draw for Row 2021-10-14 17:05:37 +07:00
Héctor Ramón Jiménez
1ab2afe72d
Implement Widget::draw for Column 2021-10-14 17:05:08 +07:00
Héctor Ramón Jiménez
3a0c503db9
Implement Widget::draw for Text 2021-10-14 17:00:38 +07:00
Héctor Ramón Jiménez
03b3493138
Remove trait-specific draw logic in iced_native 2021-10-14 16:07:22 +07:00
Héctor Ramón
3aae45c191
Merge pull request #1068 from sundy-li/patch-1
Update README.md of integration_opengl
2021-10-13 15:39:42 +07:00
Héctor Ramón Jiménez
024f68a189
Update winit and glutin 2021-10-12 22:41:16 +07:00
sundyli
98fb0dbf9d
Update README.md 2021-10-04 21:54:38 +08:00
Héctor Ramón
569aff331f
Merge pull request #1067 from akavel/deorient
Honor Exif orientation in `iced_wgpu::Image`
2021-10-01 17:24:39 +07:00
Mateusz Czapliński
0621da37a5 Downgrade bitmask in iced_wgpu for consistency with iced_core 2021-09-30 21:02:46 +02:00
Héctor Ramón Jiménez
2cc7e0a449
Fix Operation::perform in image::raster
Flipping diagonally isn't the same as flipping each axis individually 😅
2021-09-30 16:51:42 +07:00
Héctor Ramón Jiménez
60070eef27
Remove absolute module path leftovers in image::raster 2021-09-30 16:20:04 +07:00
Héctor Ramón Jiménez
21d138aa28
Refactor Orientation into Operation in image::raster 2021-09-30 16:15:15 +07:00
Héctor Ramón Jiménez
4fd2e1a57d
Remove TODO in Cargo.toml of iced_wgpu 2021-09-30 14:35:39 +07:00
Héctor Ramón Jiménez
86d6d53cfa
Remove unnecessary absolute module paths in image::raster 2021-09-30 14:35:10 +07:00
Héctor Ramón Jiménez
03fee3106f
Introduce Orientation enum in image::raster 2021-09-30 14:24:23 +07:00
Mateusz Czapliński
82e3e316dd Honor Exif orientation in iced_wgpu::Image 2021-09-30 00:28:56 +02:00
Héctor Ramón
4d4c61b887
Merge pull request #1060 from iced-rs/update-resvg
Update `resvg` to `0.18` in `iced_wgpu`
2021-09-28 02:21:38 +07:00
Héctor Ramón Jiménez
73f2881568
Update resvg to 0.18 in iced_wgpu 2021-09-27 14:23:22 +07:00
Héctor Ramón
35c4ad6dd9
Merge pull request #1044 from tarkah/feature/align-fill-variant
Add Align::Fill variant
2021-09-20 15:54:19 +07:00
Héctor Ramón Jiménez
a0ad399622
Refactor alignment types into an alignment module 2021-09-20 15:14:08 +07:00
Héctor Ramón Jiménez
5fae6e59ff
Introduce and use CrossAlign enum for Column and Row 2021-09-20 15:12:43 +07:00
Cory Forsstrom
95e4791a1e
Improve readability of Align::Fill branching 2021-09-20 15:11:06 +07:00
Cory Forsstrom
e89bbe8a79
Calc fill cross and use for all children 2021-09-20 15:11:06 +07:00
Cory Forsstrom
be51cac3d7
Add Align::Fill variant 2021-09-20 15:11:06 +07:00
Héctor Ramón
456a3f15e4
Merge pull request #1049 from Luni-4/no-windows-console
CI: Run a Windows application without starting the shell too
2021-09-20 14:08:37 +07:00
Luni-4
7d96b7a799 CI: Run a Windows application without starting the shell too 2021-09-17 15:13:08 +02:00
Héctor Ramón
099981cfc2
Merge pull request #1047 from iced-rs/revert-menus
Revert system menus support
2021-09-15 15:50:25 +07:00
Héctor Ramón
5870cbb312
Merge pull request #1046 from iced-rs/fix/empty-text-hit-test
Use `Option` to encode empty text case in hit test methods
2021-09-15 15:50:10 +07:00
Héctor Ramón Jiménez
c0ab988842
Revert system menus support
The current implementation has some important issues on Windows. We will reintroduce the feature once we figure them out!

I have kept some of the changes in #945, like the new `keyboard::Modifiers` powered by `bitflags`.
2021-09-15 15:31:40 +07:00
Héctor Ramón Jiménez
c914b2a05b
Use Iterator::min_by instead of fold in hit_test 2021-09-15 15:08:35 +07:00
Héctor Ramón Jiménez
643500bbdf
Use Option to encode empty text case in hit test methods 2021-09-15 14:49:13 +07:00
Héctor Ramón
93fec8d273
Merge pull request #1019 from hecrj/command-actions
Platform-specific `Command` implementations
2021-09-13 11:49:06 +07:00
Héctor Ramón Jiménez
01b945b981
Write missing docs and Debug implementations for web 2021-09-13 11:24:28 +07:00
Héctor Ramón Jiménez
2c630809d4
Write missing docs and Debug implementations for native 2021-09-13 11:24:22 +07:00
Héctor Ramón
589f68df0f
Merge pull request #1021 from akhilman/fix-glow-alpha-compositing
Fix window holes behind transparent objects
2021-09-04 14:20:03 +07:00
Ildar Akhmetgaleev
666f676d7c Fix window holes behind transparent objects
Without this change, the transparent objects composed over the opaque
background creates the transparency of the entire window through which
the desktop wallpaper could be seen.
This problem manifested itself with glow backend and wayland compositor
(gnome).

This patch completely eliminates this problem. With it, the final image
produced by glow backend corresponds to the image produced by the wgpu
backend.

Fixes #1018
2021-09-02 21:18:12 +07:00
Héctor Ramón Jiménez
7cb6e7438f
Implement move_to and resize commands for window 2021-09-02 16:30:14 +07:00
Héctor Ramón Jiménez
6fce35393f
Hide implementation details of Command in iced_futures 2021-09-02 15:50:32 +07:00
Héctor Ramón Jiménez
7a335a0408
Implement and expose read and write helpers for clipboard 2021-09-02 15:12:55 +07:00
Héctor Ramón Jiménez
7ebdbec8e7
Add Discord server link and download count to README 2021-09-02 14:24:27 +07:00
Héctor Ramón Jiménez
6887afdb2c
Remove unnecessary mut self in Command::map 2021-09-02 13:47:34 +07:00
Héctor Ramón Jiménez
f0686eae0e
Remove Clipboard export in iced 2021-09-02 13:47:03 +07:00