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 Jiménez
b3c192a2e4
Make default text size configurable in Settings
2020-06-19 00:16:22 +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
Rob Ede
0766da7509
add helper for settings flags init
2020-04-06 01:14:38 +01: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
c4c5216e3b
Allow passing external state to Application::new
2020-03-30 18:10:15 +02: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
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
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
Héctor Ramón Jiménez
7b278755fc
Write missing docs and reenable deny statements
2020-01-09 18:31:07 +01:00
Héctor Ramón Jiménez
8d6f86b317
Remove background from Settings
2020-01-05 18:11:54 +01:00
Héctor Ramón Jiménez
d96ced8e2d
Allow configuration of default font
2020-01-01 17:49:48 +01:00
Héctor Ramón Jiménez
89a6b8a9a1
Rename Settings::background_color to background
2019-12-29 12:31:47 +01:00
Héctor Ramón Jiménez
f74ab463d4
Add background_color to Settings
2019-12-29 12:29:47 +01:00
Héctor Ramón Jiménez
369ed9bc2e
Add decorations to settings::Window
2019-12-03 07:08:12 +01:00
hatoo
97f1f3dcf4
Modify src/settings.rs to keep original API
2019-12-02 21:57:07 +09:00
hatoo
a33f49ff4b
Remove platform-specific logic from iced
...
Make Window.platform_specific use iced_winit::settings::PlatformSpecific
2019-12-01 14:55:05 +09:00
hatoo
5077f1dc6a
Add platform specific settings
2019-11-30 21:48:33 +09:00
hatoo
f0a857ddde
Add decorations to Setting
2019-11-30 21:03:50 +09:00
Héctor Ramón Jiménez
d70021fa68
Allow Application configuration with Settings
2019-11-25 14:17:13 +01:00