Yusuf Bera Ertan
a19f89d3a6
feat(native): add Tooltip widget
2021-02-15 19:37:46 +03:00
Taiki Endo
14d900d835
Make iced::Error Send + Sync
2021-01-29 14:03:27 +09:00
GunpowderGuy
8d882d787e
update example description at sandbox's documentation ( #710 )
...
* Update sandbox.rs
* Update sandbox.rs
* format
Co-authored-by: Diego Rosario <diegorosario2013@gmail.com>
2021-01-22 01:36:05 +01:00
Héctor Ramón Jiménez
a42a0844c2
Keep old behavior for Executor feature flags
2021-01-15 18:31:30 +01:00
Jayce Fayne
b2415eee61
Add smol async runtime
2021-01-14 12:28:02 +01:00
Héctor Ramón Jiménez
0b73e5fbfa
Merge remote-tracking branch 'tarkah/image-pane' into image-pane
2020-12-18 10:15:30 +01:00
Héctor Ramón Jiménez
745aa49025
Update example links to point to 0.2 branch
2020-11-26 16:37:33 +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 Jiménez
d612bf5678
Rename keyboard::ModifiersState to Modifiers
2020-11-26 02:05:42 +01:00
Héctor Ramón
87c9df294c
Merge pull request #595 from valbendan/master
...
upgrade tokio to latest version(v0.3)
2020-11-25 04:24:44 +01:00
Héctor Ramón Jiménez
782dd2f522
Introduce tokio_old feature
...
This feature allows users to rely on the `0.2` version of `tokio` while
the async ecosystem upgrades to the latest version.
2020-11-25 03:06:24 +01:00
Héctor Ramón Jiménez
3296be845c
Implement QRCode widget
2020-11-20 10:29:33 +01:00
dabaichi
a4ad1b297e
Update src/executor.rs
...
fix executor other than tokio
Co-authored-by: Héctor Ramón <hector0193@gmail.com>
2020-11-06 04:20:19 +00:00
valbendan
eacb2e913f
upgrade tokio to latest version(v0.3)
2020-11-05 11:36:23 +08:00
sum-elier
2b1d438ad4
Fix DimensionsMismatch error message
...
The values passed to write! were shifted 1 to the left.
Fixes #591
2020-11-01 09:21:42 -05:00
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
Cory Forsstrom
c7bb434113
remove re-export on viewer::State
2020-05-27 14:20:42 -07: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
Cory Forsstrom
5d045c2e9a
rename to image::Viewer
2020-05-26 17:16:05 -07:00
Cory Forsstrom
431171f975
Rename and add to iced image module
2020-05-26 16:56:34 -07:00
Cory Forsstrom
0d8cefbf2d
Add ImagePane widget
2020-05-26 16:56:34 -07: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