Héctor Ramón Jiménez
03eda9b162
Let a Theme control the background color of an application
...
... and remove `Application::background_color`
2022-05-25 05:01:18 +02:00
Héctor Ramón Jiménez
664251f3f5
Draft first-class Theme support
...
RFC: https://github.com/iced-rs/rfcs/pull/6
2022-05-14 01:56:32 +02:00
Héctor Ramón Jiménez
27fdc70756
Merge branch 'master' into dev/system-information
2022-05-04 17:19:28 +02:00
Héctor Ramón Jiménez
3e735f1480
Re-export iced_winit in iced_glutin
...
This fixes the `system` module not being exported in `iced_glutin` when
only setting the `iced_winit/system` flag.
2022-05-04 17:15:13 +02:00
Héctor Ramón Jiménez
d23026d2dd
Bump versions 🎉
2022-05-02 22:07:53 +02:00
Héctor Ramón Jiménez
93bfe2c75e
Expose system module through feature flag
2022-04-30 13:37:57 +02:00
Richard
6e167675d6
Use closure internally to fetch graphics_info
2022-04-27 15:43:41 -03:00
Richard
18ecec2bbd
Change ContextCreationFailed to GraphicsCreationFailed
2022-04-27 15:42:55 -03:00
Richard
005e516b5e
Rename get_information to fetch_information
2022-04-27 15:42:53 -03:00
Richard
75281d2b85
Add graphics information to iced_glutin
2022-04-26 18:58:53 -03:00
Richard
ced5f5075f
Export system module in iced_glutin
2022-04-26 18:57:52 -03:00
Richard
764b424dfc
Add logging to window and context creation
2022-04-26 18:54:01 -03:00
Richard
1e62fdf069
Introduce Error::ContextCreationFailed
2022-04-20 19:57:59 -03:00
Héctor Ramón Jiménez
adce9e0421
Update Rust edition to 2021 🎉
2022-02-09 17:57:44 +07:00
Héctor Ramón Jiménez
1a737b8e20
Replace Zulip links with Discord
2022-01-31 21:18:39 +07:00
Richard
230db88fb2
Add setting to try OpenGL ES first
2022-01-19 17:40:17 -03:00
Richard
cc3cf4dfc2
Export iced_winit::conversion in iced_glutin
2022-01-19 17:40:17 -03:00
Richard
381052c50e
Split quad::Pipeline into core and compatibility
2022-01-19 17:40:17 -03:00
Héctor Ramón Jiménez
6ab4611a6e
Invalidate widget tree from Responsive widget
...
... by introducing a new `invalidate_widgets` method to `Shell`
2022-01-11 13:47:43 +07:00
Héctor Ramón Jiménez
d6b1a9269e
Update winit and glutin forks
2022-01-04 13:51:35 +07:00
LordRatte
ff2a470fd8
Change GitHub namespace to new org for all files
2022-01-03 11:36:13 +07:00
Héctor Ramón Jiménez
998a04645d
Use commit hash in html_logo_url
2021-12-09 15:10:38 +07:00
daladim
d72b1493e0
Added icon in docs
2021-12-09 15:05:41 +07:00
Héctor Ramón Jiménez
0648d9d234
Fix imports in application modules
2021-11-29 14:43:07 +07:00
Andreas Hofstadler
08c771fa70
Allow Application::run to return on native platforms
2021-11-29 14:41:05 +07:00
Héctor Ramón Jiménez
be97a5d502
Introduce mouse_interaction method to Widget trait
2021-10-18 16:43:18 +07:00
Héctor Ramón Jiménez
03b3493138
Remove trait-specific draw logic in iced_native
2021-10-14 16:07:22 +07:00
Héctor Ramón Jiménez
024f68a189
Update winit and glutin
2021-10-12 22:41:16 +07:00
Héctor Ramón Jiménez
c0ab988842
Revert system menus support
...
The current implementation has some important issues on Windows. We will reintroduce the feature once we figure them out!
I have kept some of the changes in #945 , like the new `keyboard::Modifiers` powered by `bitflags`.
2021-09-15 15:31:40 +07:00
Héctor Ramón Jiménez
7cb6e7438f
Implement move_to and resize commands for window
2021-09-02 16:30:14 +07:00
Héctor Ramón Jiménez
7a335a0408
Implement and expose read and write helpers for clipboard
2021-09-02 15:12:55 +07:00
Héctor Ramón Jiménez
c9711ff48f
Handle clipboard::Action in iced_winit shell
2021-09-02 13:46:01 +07:00
Héctor Ramón Jiménez
76698ff2b5
Make Command implementations platform-specific
...
This allows us to introduce a platform-specific `Action` to both `iced_native`
and `iced_web` and remove the `Clipboard` from `Application::update` to maintain
purity.
Additionally, this should let us implement further actions to let users query
and modify the shell environment (e.g. window, clipboard, and more!)
2021-09-02 13:29:34 +07:00
Héctor Ramón Jiménez
4aa741af17
Update winit and glutin dependencies
...
Fixes #1005 and closes #1007 .
2021-08-30 16:12:20 +07:00
Héctor Ramón Jiménez
8333b8f88c
Update winit and glutin dependencies
2021-08-19 15:40:28 +07:00
Héctor Ramón Jiménez
663c3685da
Update winit and glutin dependencies
2021-08-16 15:50:20 +07: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
yamadapc
77a6506710
Fix glow and multiple windows usage
...
The context might not be current at redraw
2021-08-03 06:36:51 +10:00
Héctor Ramón Jiménez
82db3c78b6
Update winit and glutin dependencies
...
... and remove crates.io patch
2021-07-20 21:34:44 +07:00
Héctor Ramón Jiménez
6221adf2b1
Draft conversion::menu_message in iced_winit
...
... and wire it up to the runtime loop
2021-07-13 20:55:21 +02:00
Héctor Ramón Jiménez
31997d255f
Store and synchronize Menu in application::State
2021-07-12 22:28:18 +02:00
Richard
9fc5ad23ed
Initial menu implementation
2021-07-05 16:24:10 -03:00
Héctor Ramón Jiménez
4994d34aba
Update winit and glutin to latest master
2021-06-30 23:44:51 +02:00
Richard
612585109f
Use winit and glutin forks in iced-rs org
2021-06-25 14:15:11 +02:00
Richard
96a462d2f2
Use new enum variant and new winit repo
2021-06-25 14:14:03 +02:00
Richard
9ae22b58d8
Added events for url handling and create example
2021-06-25 14:14:03 +02:00
Imbris
ba51661a2a
Bump winit to 0.25
2021-06-23 17:38:08 -04:00
Héctor Ramón Jiménez
0864e63bde
Bump versions 🎉
2021-03-31 20:07:17 +02: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
2b520ca098
Convert ScaleFactorChanged into Resized events in iced_glutin
...
... instead of just dropping them when calling `to_static`.
2021-03-24 05:29:19 +01:00