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
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
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
ae5e2c6c73
Introduce Program and State
2020-05-21 04:27:31 +02:00
Héctor Ramón Jiménez
e0e4ee73fe
Implement iced_glutin 🎉
2020-05-21 00:44:35 +02:00
Héctor Ramón Jiménez
4aed0fa4b6
Rename window::Backend to Compositor
2020-05-19 20:01:55 +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
1501a93915
Disable time module on Wasm for now
2020-04-30 05:51:41 +02:00
Héctor Ramón Jiménez
e2076612cb
Implement time::every in iced_futures
2020-04-30 05:37:44 +02:00
Héctor Ramón Jiménez
bb9ccc4f62
Remove inconsistent input module in iced_native
2020-04-30 05:04:45 +02:00
Héctor Ramón Jiménez
d8b9e03481
Remove ButtonState
2020-04-30 04:54:49 +02:00
Héctor Ramón Jiménez
61c707fe04
Merge branch 'master' into feature/canvas-interaction
2020-04-29 07:34:14 +02:00
Héctor Ramón Jiménez
ec712c8032
Move MouseCursor to iced_core
2020-04-29 03:23:02 +02:00
Héctor Ramón Jiménez
2539042b71
Remove Drawable and rename State to Program
2020-04-28 06:24:12 +02:00
Héctor Ramón Jiménez
56dbd68326
Move reusable mouse types to iced_core
2020-04-28 03:11:01 +02:00
Héctor Ramón Jiménez
0300b649d7
Make Font an associated type of text::Renderer
2020-04-23 22:17:11 +02:00
Héctor Ramón Jiménez
5cb40dc095
Mention flags are not supported by Sandbox
...
Fixes #291
2020-04-15 07:56:25 +02:00
Rob Ede
0766da7509
add helper for settings flags init
2020-04-06 01:14:38 +01:00
Héctor Ramón Jiménez
7479ba137f
Document widget feature flags
2020-04-05 04:38:10 +02:00
Héctor Ramón Jiménez
d7a3ce4e68
Fix a couple of links in documentation
2020-04-02 17:39:24 +02:00
Héctor Ramón Jiménez
8c8325d0cf
Write documentation for the debug feature
2020-04-02 03:44:14 +02:00
Héctor Ramón Jiménez
f5e7e0625e
Improve docs for Sandbox and Application
2020-04-02 03:44:14 +02:00
Héctor Ramón Jiménez
4c44517556
Fix minor documentation issues
2020-04-02 03:44:14 +02:00
Héctor Ramón Jiménez
26a35b7d7e
Clarify return policy of Application::run
2020-04-02 03:44:14 +02:00
Héctor Ramón Jiménez
c73f23c380
Move Space to widget module
2020-04-02 03:44:14 +02:00
Héctor Ramón Jiménez
f0ebcc2474
Implement enter for executor::Default in Wasm
2020-03-30 18:18:33 +02:00
Héctor Ramón Jiménez
c4c5216e3b
Allow passing external state to Application::new
2020-03-30 18:10:15 +02:00
Héctor Ramón Jiménez
bb898fa2e2
Create PaneGrid alias in iced_wgpu
2020-03-19 09:37:13 +01:00
Héctor Ramón Jiménez
05beb87852
Move common keyboard types to iced_core
...
Also expose them in `iced` through `iced_native` and `iced_web`.
2020-03-17 07:30:05 +01:00
Héctor Ramón Jiménez
6151c52824
Rename Panes widget to PaneGrid
2020-03-10 02:57:13 +01:00
Héctor Ramón Jiménez
012b4adec7
Draft Panes widget and panes example
2020-03-04 04:10:26 +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
17271eae67
Merge pull request #193 from hecrj/feature/canvas
...
Canvas widget for 2D graphics
2020-02-20 05:51:18 +01:00
Héctor Ramón Jiménez
6f7247ca13
Rename Settings::use_antialiasing to antialiasing
2020-02-18 09:54:24 +01:00
Héctor Ramón Jiménez
9c067562fa
Write documentation for new canvas module
2020-02-18 08:48:54 +01:00
Héctor Ramón Jiménez
5345ac785b
Fix missing enter in iced::executor::Default
2020-02-16 11:40:19 +01:00
Héctor Ramón Jiménez
570f769744
Rename Settings::antialiasing to use_antialiasing
2020-02-15 10:50:07 +01:00
Héctor Ramón Jiménez
dadae12253
Implement MSAA for triangle pipeline in iced_wgpu
2020-02-15 10:08:27 +01:00
Héctor Ramón Jiménez
558abf648b
Add transform stack to canvas::Frame
2020-02-14 04:59:31 +01:00
Héctor Ramón Jiménez
f436f20eb8
Draft Canvas types and clock example
2020-02-12 03:47:36 +01:00
Héctor Ramón Jiménez
f1e20a61f1
Allow iced_wgpu to render to any TextureView
2020-02-09 03:25:13 +01:00
Héctor Ramón Jiménez
ad500441af
Allow switching executor::Default with features
2020-02-06 03:56:21 +01:00
Héctor Ramón Jiménez
ca213922d0
Drop Send in Command and Executor on Wasm
2020-02-05 04:14:26 +01:00
Héctor Ramón Jiménez
6d46833eb2
Support event subscriptions in iced_web
...
Also improves the overall web runtime, avoiding nested update loops.
2020-02-04 03:28:47 +01:00
Héctor Ramón Jiménez
f5186f31f1
Fix docs.rs links
...
Related issue: https://github.com/rust-lang/docs.rs/issues/223
2020-02-03 23:53:34 +01:00
Héctor Ramón Jiménez
a30553ddbb
Forbid unsafe code and Rust 2018 idioms
2020-01-20 10:52:06 +01:00
Héctor Ramón Jiménez
7cea737115
Package examples and remove dev-dependencies
2020-01-20 06:27:01 +01:00
Héctor Ramón Jiménez
04086a90c9
Implement WasmBindgen executor and reorganize
2020-01-20 05:43:09 +01:00
Héctor Ramón Jiménez
90690702e1
Add Application::Executor associated type
2020-01-20 04:47:36 +01:00
Héctor Ramón Jiménez
c96492b956
Expose window::Mode in iced
...
Although the Fullscreen API in the Web platform has some limitations, it
is still useful to be able to support fullscreen on the native side.
2020-01-16 05:54:22 +01:00