Commit graph

13 commits

Author SHA1 Message Date
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
Héctor Ramón Jiménez
0c3f78713d Draft basic text rendering using wgpu_glyph 2019-10-05 05:12:36 +02:00
Héctor Ramón Jiménez
a7d1194403 Add Renderer and Primitive concepts 2019-10-05 03:56:18 +02:00
Héctor Ramón Jiménez
fc38119be3 Clear the window properly on redraw 2019-10-03 00:34:15 +02:00
Héctor Ramón Jiménez
8bb33cd5a0 Initialize wgpu
We only enable the `vulkan` feature for now.
2019-10-03 00:23:08 +02:00
Héctor Ramón Jiménez
e1b9d42bf1 Start iced_winit and iced_wgpu 2019-10-03 00:01:45 +02:00