Commit graph

664 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
2b23e0986c Implement text clipping (caching still broken) 2019-10-28 04:28:21 +01:00
Héctor Ramón Jiménez
719c073fc6 Draft Scrollable widget (no clipping yet!) 2019-10-25 03:47:34 +02:00
Héctor Ramón Jiménez
99e1a3780a Set initial window size to 1280x1024 for now
This will be configurable when calling `Application::run` in the future.
2019-10-23 04:44:33 +02:00
Héctor Ramón Jiménez
c63bdacaad Make Renderer immutable in UserInterface::build 2019-10-11 23:45:01 +02: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
650d020fde Handle window resizes in iced_winit 2019-10-11 22:15:12 +02:00
Héctor Ramón Jiménez
1f60ca3ab4 Update mouse cursor icon properly in iced_winit 2019-10-10 05:58:42 +02:00
Héctor Ramón Jiménez
2fe01a0b1e Use improved RedrawRequested API in iced_winit 2019-10-10 05:53:57 +02:00
Héctor Ramón Jiménez
ae585eb9cb Process winit mouse input and cursor movement 2019-10-10 05:52:35 +02:00
Héctor Ramón Jiménez
ab34ef45e0 Move winit::Application to its own module 2019-10-10 05:50:01 +02:00
Héctor Ramón Jiménez
fb8b50ab79 Move winit conversions to iced_winit 2019-10-10 05:44:33 +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
63294088ad Open a window using winit 2019-10-03 00:08:16 +02:00
Héctor Ramón Jiménez
e1b9d42bf1 Start iced_winit and iced_wgpu 2019-10-03 00:01:45 +02:00