Héctor Ramón Jiménez
f3916decf2
Fix typo in integration example
2021-08-04 18:20:25 +07:00
Tilmann Meyer
d7975a9de5
wgpu: Use the preferred texture format of the surface
...
Signed-off-by: Tilmann Meyer <me@atiltedtree.dev>
2021-08-03 11:30:45 +02:00
Billy Messenger
a7d2834a6d
add custom error for Compositor::draw()
2021-07-22 13:08:13 -05:00
Billy Messenger
e822f654e4
Merge branch 'master' of https://github.com/hecrj/iced into wgpu_outdatedframe
2021-07-22 12:37:39 -05:00
Dispersia
9a2c78c405
Upgrade wgpu
2021-04-11 18:55:57 -07:00
Héctor Ramón Jiménez
ae517b9fa0
Add clipboard argument to Application::update
2021-03-11 03:38:20 +01:00
Héctor Ramón Jiménez
21971e0037
Make Clipboard argument in Widget trait mutable
2021-03-10 01:59:02 +01:00
Poly
09a5348740
[wgpu 0.7] Update integration example
2021-02-03 22:38:45 +01:00
Billy Messenger
4e391013c8
don't panic when swapchain frame is outdated
2020-12-16 10:03:51 -06:00
Héctor Ramón Jiménez
b689778ed9
Remove redundant depth bias fields in iced_wgpu
2020-08-27 19:15:05 +02:00
Héctor Ramón Jiménez
bae0a3e46e
Update wgpu in integration example
2020-08-27 14:55:41 +02:00
Héctor Ramón Jiménez
f30a666dc8
Decouple cursor_position from Cache
...
Instead, we ask explicitly for it in the different `update` and `draw` methods.
This way, the runtime can derive the logical position of the cursor from
the source of truth.
2020-06-23 06:44:34 +02:00
Sebastian Zivota
c3643eaf6d
Add step member to slider widgets
...
Both the native and the web slider now have a member `step` to control
the least possible change of the slider's value. It defaults to 1.0
for all sliders and can be adjusted with the step method.
2020-06-11 00:18:24 +02:00
Héctor Ramón Jiménez
49dbf2c146
Request a redraw only on relevant events
2020-06-09 15:45:57 +02:00
Duncan Freeman
4960a8827e
Add on_release message to Slider ( #378 )
...
* Add on_finish callback to Slider
* Fix formatting
* Rename Slider's on_finish to on_release, make the message simply an event without data
* Satisfy Clone impl requirement on Message in integration test
* Only call on_release after dragging a slider
2020-06-08 11:07:45 +02:00
Richard
40750d9b36
Removed empty bind group from integration example ( #390 )
2020-06-08 11:03:34 +02:00
Héctor Ramón Jiménez
fd3801ed38
Clear frames explicitly in integration example
2020-06-05 15:05:30 +02:00
hatoo
969de1d31c
Add a comment of how to clear the display to integration example
2020-06-03 22:01:28 +09:00
Cedric Hutchings
d5b9dee2fd
Attempt to appease rustfmt
2020-06-02 16:48:55 -04:00
Cedric Hutchings
99eda093d6
Prevent gratuitous resizing in integration example
...
If I didn't miss anything, that `resized` variable is never set back to `false`, meaning that swapchain recreation is retriggered every frame after the first resize.
2020-06-02 16:40:46 -04:00
Héctor Ramón Jiménez
d54f17c6aa
Simplify integration example with Program
2020-05-21 04:57:00 +02:00
Héctor Ramón Jiménez
a1a5fcfd46
Refactor Viewport and Compositor
2020-05-20 20:28:35 +02:00
Héctor Ramón Jiménez
05af8d00d4
Draft new iced_graphics crate 🎉
2020-05-19 17:15:44 +02:00
Héctor Ramón Jiménez
98bc8cf2a7
Rename MouseCursor to mouse::Interaction
2020-04-30 08:16:38 +02:00
Héctor Ramón Jiménez
59403b6ca8
Remove OutOfBounds variant from MouseCursor
2020-04-29 03:11:15 +02:00
Héctor Ramón Jiménez
d807ef367e
Update wgpu to 0.5 in iced_wgpu 🎉
2020-04-07 05:48:21 +02:00
Héctor Ramón
57b2daa57e
Merge pull request #240 from kaimast/master
...
remove explicit lifetimes in integration example
2020-03-28 13:43:04 +01:00
Kai Mast
088ba527df
remove explicit lifetimes in integration example
2020-03-27 17:46:01 -07:00
Héctor Ramón Jiménez
e23e93218c
Convert WindowEvent from a reference in iced_winit
2020-03-27 22:06:20 +01:00
Héctor Ramón Jiménez
aac7ad3e14
Update winit to 0.22
2020-03-09 22:35:25 +01:00
Héctor Ramón Jiménez
be14aca075
Make output format of iced_wgpu configurable
2020-02-24 20:08:40 +01:00
Héctor Ramón Jiménez
4d7979aa77
Add integration example
...
It showcases how to integrate iced in an existing graphical application.
2020-02-09 05:32:56 +01:00