Commit graph

10 commits

Author SHA1 Message Date
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
f74ab463d4 Add background_color to Settings 2019-12-29 12:29:47 +01:00
Héctor Ramón Jiménez
a7dba612f0 Write docs for iced and iced_native 2019-11-22 19:36:57 +01:00
Héctor Ramón Jiménez
65eb218d3d Move widgets from core to native and web
Also made fields private and improved `Renderer` traits.
2019-11-21 13:47:20 +01:00
Héctor Ramón Jiménez
860a6923bb Split text measurements cache from rendering cache
This speeds up layouting in the most common scenario considerably!
🎉
2019-11-11 06:07:31 +01:00
Héctor Ramón Jiménez
58e04af824 Draft Metrics and improve Target abstraction 2019-11-02 19:58:49 +01:00
Héctor Ramón Jiménez
8846a239cf Rename Renderer::Primitive to Renderer::Output 2019-10-11 22:15:39 +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
a7d1194403 Add Renderer and Primitive concepts 2019-10-05 03:56:18 +02:00
Héctor Ramón Jiménez
b9e0f74948 Create iced_core and iced_native 2019-09-20 19:15:31 +02:00
Renamed from src/renderer.rs (Browse further)