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
58e04af824
Draft Metrics and improve Target abstraction
2019-11-02 19:58:49 +01:00
Héctor Ramón Jiménez
fedcab6f4f
Handle some TextInput events
2019-10-30 05:00:12 +01:00
Héctor Ramón Jiménez
63cd0fd8eb
Draft TextInput widget structure
...
Also started a `todos` example to showcase it!
2019-10-30 03:31:07 +01:00
Héctor Ramón Jiménez
bd5d871eb6
Handle touchpad scroll events
2019-10-29 19:00:46 +01:00
Héctor Ramón Jiménez
9dabbf7885
Provide Renderer to Widget::on_event
...
This allows us to implement configurable event processing that adapts to
different rendering strategies.
2019-10-29 03:34:21 +01:00
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