Héctor Ramón Jiménez
ae5a2502d6
Remove executor::Null from the root public API
...
Using an `Application` with `executor::Null` does not make sense, as the
whole purpose of an `Application` is to allow executing async actions.
When async actions are not needed, `Sandbox` should be used instead.
2020-10-17 08:46:16 +02:00
Tom
f2247a70dc
Fixes #539 : Allow windows to be set always_on_top
2020-09-28 21:05:15 -07: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
2ce5df0844
Merge branch 'feature/rule-widget' into master
2020-08-22 21:25:06 +02:00
Billy Messenger
8d68c8584e
widget Rule added
2020-08-22 21:23:27 +02:00
Katherine Philip
a490fd54c9
Add 'transparent' in window setting
2020-08-17 15:42:50 +07: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
afd9274de2
Draft ComboBox and Menu layer
2020-07-08 10:59:56 +02:00
Héctor Ramón Jiménez
5c4f5ae5ec
Export Canvas if glow_canvas feature is enabled
2020-07-08 10:20:55 +02:00
Héctor Ramón Jiménez
a0cc7e4e43
Move Icon to iced crate and introduce Error
2020-07-01 06:10:31 +02:00
Francesco Pasa
9a037a23e9
Add support for setting window icon
...
This adds a new property from Settings:🪟 :iconand a Icon struct which can be converted to winit:🪟 :Icon.
It also adds code to display this icon in Application::run. Due to the fact that the Icon struct is non copyable, I also had to remove the Copy trait from all Settings, both in `iced` and `iced_winit`.
2020-07-01 05:37:28 +02:00
Héctor Ramón Jiménez
65a4dca0d9
Add min_size and max_size to window::Settings
2020-06-25 00:32:41 +02:00
Héctor Ramón
eec65a055f
Merge pull request #415 from hecrj/feature/configurable-scale-factor
...
Add `scale_factor` to `Application` and `Sandbox`
2020-06-20 19:20:37 +02:00
Héctor Ramón Jiménez
c9696ca687
Add scale_factor to Application and Sandbox
2020-06-19 19:17:05 +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 Jiménez
4c0286e8ac
Add background_color to Application and Sandbox
2020-06-12 22:12:15 +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
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