Bingus
d53ccc857d
refactored window storage;
...
new helper window events (Destroyed, Created);
clippy + fmt;
2023-07-21 13:53:38 -07:00
Héctor Ramón Jiménez
707de9d788
Introduce support for Font attributes
2023-03-30 00:56:00 +02:00
Héctor Ramón Jiménez
a0597471b8
Remove iced_glutin and iced_glow leftovers
2023-02-24 13:38:18 +01:00
Héctor Ramón Jiménez
b29de28d1f
Overhaul Font type to allow font family selection
2023-02-24 13:28:24 +01:00
Héctor Ramón Jiménez
baf51a8fcf
Draft glyphon implementation of text pipeline for iced_wgpu
2023-02-24 13:19:48 +01:00
Héctor Ramón Jiménez
570600ce51
Use Pixels for Text::size
2023-02-17 15:47:51 +01:00
Héctor Ramón Jiménez
825c7749ff
Replace iced_web with WebGL support in wgpu 🎉
2022-01-28 21:37:16 +07:00
Richard
230db88fb2
Add setting to try OpenGL ES first
2022-01-19 17:40:17 -03:00
Imbris
b89d3bed5c
Fix a few doc links
2021-11-17 12:08:52 -05:00
Héctor Ramón Jiménez
7337ab63bc
Introduce explicit id field to Settings
...
... and use it to set the application id of the window on Unix systems, instead of relying on the title of the application.
2021-08-11 19:48:55 +07:00
Héctor Ramón Jiménez
357a8a95c9
Introduce text_multithreading to Settings
2021-07-22 18:27:33 +07:00
Héctor Ramón Jiménez
67db13ff7c
Add support for graceful exits in Application
...
- `Settings` now contains an `exit_on_close_request` field
- `Application` has a new `should_exit` method
2021-03-30 21:44:19 +02: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
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