Commit graph

355 commits

Author SHA1 Message Date
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
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
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
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
Héctor Ramón Jiménez
3ef49cd51c Re-export Antialiasing in iced_wgpu 2020-05-29 23:09:15 +02:00
Héctor Ramón Jiménez
0691ec3195 Implement async Compositor::request in iced_wgpu 2020-05-29 23:08:34 +02:00
Héctor Ramón Jiménez
0cde20b355 Merge branch 'master' into improvement/update-wgpu_glyph 2020-05-29 02:00:28 +02:00
Héctor Ramón Jiménez
7f9813d4b3 Revert "Merge pull request #362 from hecrj/fix/target-quad-pixels"
This reverts commit 40501f630d, reversing
changes made to 5324eb1024.
2020-05-28 22:44:52 +02:00
Héctor Ramón
d3db055583
Merge pull request #354 from hecrj/feature/glow-renderer
OpenGL renderer and backend-agnostic graphics subcrate
2020-05-28 21:52:34 +02:00
Héctor Ramón Jiménez
b9d42a45a8 Write documentation for iced_glow 2020-05-28 01:46:17 +02:00
Héctor Ramón Jiménez
2ca7e3c4b0 Write documentation for iced_graphics 2020-05-28 01:40:30 +02:00
Héctor Ramón Jiménez
823ea15732 Update glyph_brush and glow_glyph 2020-05-27 23:09:27 +02:00
Héctor Ramón Jiménez
22ced3485e Introduce feature flags to enable iced_glow
Also keep `iced_wgpu` as the default renderer for the time being.
2020-05-27 05:05:13 +02:00
Héctor Ramón Jiménez
fbe3aa3cf4 Align quads to physical pixels in iced_wgpu 2020-05-27 00:23:42 +02:00
Héctor Ramón Jiménez
f5ee6d0e51 Update wgpu_glyph and glyph_brush 2020-05-25 21:49:16 +02:00
Héctor Ramón Jiménez
2ab7341fa5 Implement State::with_content in pane_grid 2020-05-22 21:56:50 +02:00
Héctor Ramón Jiménez
f3d54a0f33 Expose Node and State::layout for PaneGrid 2020-05-22 21:55:31 +02:00
Héctor Ramón Jiménez
1dd79c4697 Use built-in OpenGL multisampling in iced_glow 2020-05-22 19:15:39 +02:00