Commit graph

388 commits

Author SHA1 Message Date
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
f78108a514 Bump versions 🎉 2020-11-26 16:47:41 +01:00
Héctor Ramón Jiménez
7de72d6a27 Update READMEs of subcrates 2020-11-26 07:40:00 +01:00
Héctor Ramón Jiménez
11798dcc03 Update graphs in crate docs 2020-11-26 07:22:03 +01:00
Héctor Ramón Jiménez
01322f69a4 Use recently stabilized intra-doc links
See RFC: https://github.com/rust-lang/rfcs/blob/master/text/1946-intra-rustdoc-links.md
2020-11-26 02:05:43 +01:00
Héctor Ramón
8f081bad77
Merge pull request #629 from hecrj/wgpu-present-mode-setting
Add `present_mode` field to `iced_wgpu::Settings`
2020-11-24 00:17:59 +01:00
Héctor Ramón Jiménez
1916755b6b Limit border radius to max dimension in quad pipeline 2020-11-23 00:43:59 +01:00
Héctor Ramón Jiménez
0f00d14297 Add present_mode field to iced_wgpu::Settings 2020-11-23 00:00:13 +01:00
Héctor Ramón Jiménez
3296be845c Implement QRCode widget 2020-11-20 10:29:33 +01:00
Héctor Ramón Jiménez
209056e1cd Fix deprecation warnings from image 2020-11-20 10:29:11 +01:00
Héctor Ramón Jiménez
c03d46719e Remove Focus in pane_grid
Since #608, the `PaneGrid` widget does not handle pane focus.
2020-11-17 06:13:56 +01:00
Héctor Ramón
73811c394a
Merge pull request #610 from hecrj/improvement/update-dependencies
Update dependencies
2020-11-11 18:06:27 +01:00
Héctor Ramón Jiménez
9d4f664c94 Update bytemuck and remove zerocopy in iced_wgpu 2020-11-10 20:06:24 +01:00
Héctor Ramón Jiménez
d6d5cf0294 Restore hotkeys in pane_grid example
- Implement `subscription::events_with`
- Remove `pane_grid::KeyPressEvent`
- Return closest sibling in `pane_grid::State::close`
2020-11-10 02:32:57 +01:00
aentity
66509784cb update guillotiere to 0.6 2020-11-06 01:49:37 -08:00
Héctor Ramón Jiménez
c1f79b40cf Make Application and Sandbox return a Result 2020-09-08 00:44:59 +02:00
Héctor Ramón Jiménez
44118263b5 Add labels to iced_wgpu internals 2020-08-31 14:41:41 +02:00
Héctor Ramón Jiménez
07880c392c Turn consecutive if-lets into pattern match 2020-08-27 19:40:42 +02:00
Héctor Ramón Jiménez
7559e4fb30 Set offsets in buffer slices in iced_wgpu 2020-08-27 19:35:24 +02:00
Héctor Ramón Jiménez
8d605be4e3 Use wgpu::Color::TRANSPARENT 2020-08-27 19:30:56 +02:00
Héctor Ramón Jiménez
3eb63762c7 Remove unnecessary create_buffer_init for uniforms 2020-08-27 19:28:03 +02: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
bb5f034e08 Fix offset calculation in image::Atlas 2020-08-27 14:45:08 +02:00
Héctor Ramón Jiménez
ecbee66bd6 Fix layers initialization in image::Atlas 2020-08-27 14:44:51 +02:00
Héctor Ramón Jiménez
83e037829c Update image pipeline in iced_wgpu 2020-08-27 13:41:00 +02:00
Héctor Ramón Jiménez
67d90e3946 Update wgpu to 0.6 in iced_wgpu 2020-08-27 13:03:42 +02:00
Héctor Ramón Jiménez
2ce5df0844 Merge branch 'feature/rule-widget' into master 2020-08-22 21:25:06 +02:00
Billy Messenger
32561bd85c added FillMode enum style for the Rule widget 2020-08-22 21:23:44 +02:00
Billy Messenger
8d68c8584e widget Rule added 2020-08-22 21:23:27 +02:00
Cameron Hart
b90e5c4e05 Upgrade glam to 0.9 & use glam's Mat4 ortho rh gl. 2020-08-17 12:01:58 +12:00
Héctor Ramón Jiménez
73b8ae8e5e Rename ComboBox to PickList 2020-07-10 02:52:00 +02:00
Héctor Ramón Jiménez
2118a726f8 Write documentation for the new overlay API 2020-07-10 02:39:12 +02:00
Héctor Ramón Jiménez
ce8cb228ef Merge branch 'master' into feature/overlay 2020-07-10 01:25:49 +02:00
Héctor Ramón Jiménez
f3dfaa2c43 Merge branch 'master' into feature/pane-grid-titlebar 2020-07-08 11:44:40 +02:00
Héctor Ramón Jiménez
61f22b1db2 Add styling support for ComboBox and Menu 2020-07-08 11:19:56 +02:00
Héctor Ramón Jiménez
e29feef8ba Render arrow icon in ComboBox 2020-07-08 11:05:15 +02:00
Héctor Ramón Jiménez
afd9274de2 Draft ComboBox and Menu layer 2020-07-08 10:59:56 +02:00
Héctor Ramón Jiménez
ab53df8e9d Recreate uniforms BindGroup when necessary 2020-06-23 21:11:13 +02:00
Héctor Ramón Jiménez
b3c192a2e4 Make default text size configurable in Settings 2020-06-19 00:16:22 +02:00
Héctor Ramón
d19c02035f
Merge pull request #407 from hecrj/feature/generic-slider
Make `Slider` value type generic
2020-06-14 18:11:25 +02:00
Héctor Ramón Jiménez
0b819de3e2 Make Slider value type generic 2020-06-13 14:17:41 +02:00
Héctor Ramón Jiménez
4c0286e8ac Add background_color to Application and Sandbox 2020-06-12 22:12:15 +02:00
Héctor Ramón Jiménez
4e1e0e0890 Draft drawing logic for Content and TitleBar 2020-06-05 06:52:07 +02:00
Héctor Ramón Jiménez
a11bcf5af0 Draft first-class TitleBar in pane_grid 2020-06-04 07:13:38 +02:00
Héctor Ramón Jiménez
94af348846 Rename Rectangle::round to snap
Also use `ceil` instead of `round`.
Closes #380.
2020-06-02 04:38:55 +02:00
Héctor Ramón Jiménez
b96d87ff69 Revert "Merge pull request #371 from myfreeweb/window-alpha"
This reverts commit 2ba9598f80, reversing
changes made to d34f8e06c8.
2020-06-01 22:07:29 +02:00
Héctor Ramón
2ba9598f80
Merge pull request #371 from myfreeweb/window-alpha
Add custom window background/clear color (incl. transparency) support, fixes #272
2020-06-01 22:01:28 +02:00
Greg V
a65d6a11cb Add custom window background/clear color (incl. transparency) support, fixes #272
wgpu would currently ignore the alpha: https://github.com/gfx-rs/wgpu/issues/687

glow (and naively patched wgpu) requires premultiplied alpha, so if you don't
multiply the RGB by the A right now, the semi-transparent color would be wrong
(too bright).

winit with_transparent doesn't seem necessary.
2020-06-01 21:31:19 +03:00
Azriel Hoh
ae9521e500 Feature gate font-kit behind "default_system_font" feature. 2020-05-31 11:00:17 +12:00
Héctor Ramón Jiménez
6d73b94e9a Fix documentation of Backend in iced_wgpu 2020-05-30 03:03:59 +02:00