Héctor Ramón
805c5ad0cd
Merge pull request #84 from hecrj/fix/event-processing
...
Process events only when necessary
2019-12-01 03:33:40 +01:00
hatoo
5077f1dc6a
Add platform specific settings
2019-11-30 21:48:33 +09:00
hatoo
f0a857ddde
Add decorations to Setting
2019-11-30 21:03:50 +09:00
Héctor Ramón Jiménez
826bc374b1
Process events only when necessary
...
Additionally, this also fixes a bug where the old size was being used
for layouting after a resize.
2019-11-28 21:05:17 +01:00
Héctor Ramón Jiménez
80a8a57471
Stop loading a mono font just for the debug view
2019-11-26 15:33:38 +01:00
Héctor Ramón
84874ac5dc
Merge pull request #68 from hecrj/feature/application-settings
...
Allow `Application` configuration with `Settings`
2019-11-25 15:00:53 +01:00
Héctor Ramón Jiménez
862859142b
Add CHANGELOG to subcrates
2019-11-25 14:55:14 +01:00
Héctor Ramón Jiménez
d70021fa68
Allow Application configuration with Settings
2019-11-25 14:17:13 +01:00
Héctor Ramón Jiménez
bbeb03504a
Stop emitting private use characters on macOS
2019-11-24 12:27:39 +01:00
Héctor Ramón Jiménez
580891dda7
Write docs for iced_winit
2019-11-22 22:14:48 +01:00
Héctor Ramón Jiménez
42e775fece
Merge branch 'master' into improvement/docs
2019-11-22 20:30: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
4b94cf0035
Add installation section to subcrate READMEs
2019-11-20 09:56:16 +01:00
Héctor Ramón Jiménez
cb4827059f
Add README for each subcrate
2019-11-20 09:41:04 +01:00
Héctor Ramón Jiménez
02c20e6202
Support async actions in iced_winit
2019-11-17 07:11:44 +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
ceb02f4a36
Implement Container widget
...
Remove `align_self` and `justify_content` methods
2019-11-11 05:26:08 +01:00
Héctor Ramón Jiménez
e953b1828d
Allow applications to control the window title
...
`iced_winit` will change the window title dynamically at runtime!
2019-11-09 05:10:10 +01:00
Héctor Ramón Jiménez
db716b3bdf
Apply HiDPI to text, images, and clip primitives
...
Quads are a bit trickier to handle. We may need to change the shaders a
bit.
2019-11-05 05:26:20 +01:00
Héctor Ramón Jiménez
494b0681f8
Enable debug view explicitly and test it in CI
2019-11-03 05:06:53 +01:00
Héctor Ramón Jiménez
1a2e512686
Add crate information to debug view
2019-11-03 04:49:57 +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
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