Commit graph

55 commits

Author SHA1 Message Date
shan
40f45d7b7e Adds linear gradient support to 2D meshes in the canvas widget. 2022-09-29 11:15:35 -07:00
Héctor Ramón Jiménez
2f76a10a1d
Fix further clippy lints
... and explicitly annotate crates as well.
2022-07-09 18:03:59 +02:00
Héctor Ramón Jiménez
664251f3f5
Draft first-class Theme support
RFC: https://github.com/iced-rs/rfcs/pull/6
2022-05-14 01:56:32 +02:00
Héctor Ramón Jiménez
ac35fe3edf
Point repository links to 0.4 branch in documentation 2022-04-30 13:54:07 +02:00
Héctor Ramón Jiménez
12c1a3f829
Remove redundant widget modules in subcrates
Instead, we can define the type aliases just once in the root crate!
2022-03-09 14:10:15 +07:00
LordRatte
ff2a470fd8
Change GitHub namespace to new org for all files 2022-01-03 11:36:13 +07:00
Héctor Ramón Jiménez
998a04645d
Use commit hash in html_logo_url 2021-12-09 15:10:38 +07:00
daladim
d72b1493e0
Added icon in docs 2021-12-09 15:05:41 +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
Greg V
8f126c212b Add image format options to reduce code bloat, fixes #376 2021-02-13 15:53:24 +01:00
Héctor Ramón Jiménez
11798dcc03 Update graphs in crate docs 2020-11-26 07:22:03 +01:00
Héctor Ramón Jiménez
c1f79b40cf Make Application and Sandbox return a Result 2020-09-08 00:44:59 +02:00
Héctor Ramón Jiménez
67d90e3946 Update wgpu to 0.6 in iced_wgpu 2020-08-27 13:03:42 +02:00
Héctor Ramón Jiménez
4c0286e8ac Add background_color to Application and Sandbox 2020-06-12 22:12:15 +02:00
Héctor Ramón Jiménez
3ef49cd51c Re-export Antialiasing in iced_wgpu 2020-05-29 23:09:15 +02:00
Héctor Ramón Jiménez
2ca7e3c4b0 Write documentation for iced_graphics 2020-05-28 01:40:30 +02:00
Héctor Ramón Jiménez
a1a5fcfd46 Refactor Viewport and Compositor 2020-05-20 20:28:35 +02:00
Héctor Ramón Jiménez
720e7756f2 Move Layer to iced_graphics 2020-05-19 23:19:39 +02:00
Héctor Ramón Jiménez
a0ac09122a Move Viewport to iced_graphics 2020-05-19 19:57:42 +02:00
Héctor Ramón Jiménez
750a441a8c Move Transformation to iced_graphics 2020-05-19 19:55:05 +02:00
Héctor Ramón Jiménez
05af8d00d4 Draft new iced_graphics crate 🎉 2020-05-19 17:15:44 +02:00
Rob Ede
5198f8e3e4
document wgpu feature flags 2020-04-04 02:14:02 +01:00
Héctor Ramón Jiménez
7d40b76b02 Update iced_wgpu root documentation 2020-04-02 03:44:14 +02:00
Héctor Ramón Jiménez
88d4cd0970 Remove unnecessary pub(crate) use 2020-02-28 14:41:07 +01:00
Héctor Ramón Jiménez
4e7159c22c Stop creating image pipeline when unnecessary 2020-02-28 14:38:42 +01:00
Héctor Ramón Jiménez
deedf6e8b6 Make new texture module private for now 2020-02-26 20:36:52 +01:00
Héctor Ramón Jiménez
59d45a5440 Refactor texture atlas
- Split into multiple modules
- Rename some concepts
- Change API details
2020-02-26 12:34:34 +01:00
Héctor Ramón Jiménez
9c067562fa Write documentation for new canvas module 2020-02-18 08:48:54 +01:00
Héctor Ramón Jiménez
dadae12253 Implement MSAA for triangle pipeline in iced_wgpu 2020-02-15 10:08:27 +01:00
Héctor Ramón Jiménez
8daf798e57 Add canvas feature to iced_wgpu
And prepare `canvas` module
2020-02-11 23:14:25 +01:00
Héctor Ramón Jiménez
5f89fab9d7 Improve consistency in new iced_wgpu types 2020-02-09 05:31:42 +01:00
Héctor Ramón Jiménez
9a73c3a88d Write documentation for new iced_wgpu types 2020-02-09 03:44:16 +01:00
Héctor Ramón Jiménez
f1e20a61f1 Allow iced_wgpu to render to any TextureView 2020-02-09 03:25:13 +01:00
Héctor Ramón Jiménez
a30553ddbb Forbid unsafe code and Rust 2018 idioms 2020-01-20 10:52:06 +01:00
Héctor Ramón Jiménez
7b278755fc Write missing docs and reenable deny statements 2020-01-09 18:31:07 +01:00
Héctor Ramón Jiménez
bbc8f837d7 Merge branch 'master' into feature/custom-styling 2020-01-05 22:03:32 +01:00
Héctor Ramón Jiménez
5ca98b113e Rename Geometry2D to Mesh2D and move it to iced_wgpu 2020-01-02 19:25:00 +01:00
Artur Sapek
0d620b7701 Implement Geometry2D primitive 2020-01-01 22:45:29 -07:00
Héctor Ramón Jiménez
d96ced8e2d Allow configuration of default font 2020-01-01 17:49:48 +01:00
Héctor Ramón Jiménez
8caa66be27 Add Renderer::Defaults and style inheritance 2019-12-30 12:14:26 +01:00
Héctor Ramón Jiménez
c7b170da6d Draft Style and StyleSheet for Button 2019-12-29 10:57:01 +01:00
Héctor Ramón Jiménez
6a0e442ad6 Write docs for iced_wgpu 2019-11-22 22:14:24 +01:00
Héctor Ramón Jiménez
f0b1e65ba4 Move text logic in iced_wgpu to a text module 2019-11-13 03:54:36 +01:00
Héctor Ramón Jiménez
2c6bfdbc8c Implement debug view and load system fonts 2019-11-03 04:39:11 +01:00
Héctor Ramón Jiménez
38b6c84e77 Implement basic image rendering in iced_wgpu 2019-10-23 01:21:23 +02:00
Héctor Ramón Jiménez
a92a0b73ed Move winit logic from iced to iced_winit
- Added new `renderer::Windowed` trait. This shoud allow users to easily
  try different renderers by simply changing one line.
- Renamed `UserInterface` traits to `Application`, as the `run` method
  takes total control of the current thread.
- Moved `MouseCursor` back to `iced_native`. The new
  `renderer::Windowed` trait returns one on `draw`.
- Split `iced_native` renderer in multiple modules, for consistency.
2019-10-09 05:36:49 +02:00
Héctor Ramón Jiménez
10e10e5e06 Make iced_core::Button customizable
Now it supports:
  - Any kind of content
  - Custom border radius
  - Custom background
2019-10-08 03:13:41 +02:00
Héctor Ramón Jiménez
c9510db551 Render colored quads 2019-10-07 03:56:16 +02:00
Héctor Ramón Jiménez
7765e6da50 Draft Box primitive 2019-10-06 19:22:25 +02:00
Héctor Ramón Jiménez
5a5ca34b5f Modularize iced_wgpu 2019-10-05 19:22:51 +02:00