Commit graph

281 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
93bfe2c75e
Expose system module through feature flag 2022-04-30 13:37:57 +02:00
Richard
5eefa5d4ea Simplify the QueryInformation Action 2022-04-27 17:16:32 -03:00
Richard
6e167675d6 Use closure internally to fetch graphics_info 2022-04-27 15:43:41 -03:00
Richard
8643fbef90 Rename system::information to fetch_information 2022-04-27 15:42:55 -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
984d1f375e Move compositor module access from window to crate 2022-04-27 15:25:16 -03:00
Richard
5be1ac18fe Rename GraphicsInformation to Information 2022-04-26 19:09:09 -03:00
Richard
053f352f68 Introduce get_information 2022-04-26 18:59:47 -03:00
Richard
c9ea1f11de Add memory usage to Information struct 2022-04-26 18:59:08 -03:00
Richard
83ab27b5cb Add graphics information to iced_winit 2022-04-26 18:58:52 -03:00
Richard
53538b65b1 Add system_information example 2022-04-26 18:57:00 -03:00
Richard
c8ed318e17 Export new system module 2022-04-26 18:55:52 -03:00
Richard
0b36a55196 Add function helper in iced_winit::system 2022-04-26 18:55:51 -03:00
Richard
c2f45a192f Turn Information fields pub 2022-04-26 18:55:48 -03:00
Richard
6295a72aa6 Implement QueryInformation for iced_winit 2022-04-26 18:54:27 -03:00
Richard
fed8da1c90 Add new System variant to Action 2022-04-26 18:54:07 -03:00
Richard
6e93713197 Add sysinfo crate through feature flag 2022-04-26 18:54:06 -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
Theo Robinson
4830a17d65
Fix links
Change dead links to updated ones.
Change/Convert all file links to relative links so they are branch
agnostic.
2022-02-07 23:13:25 +07:00
Tanner Rogalsky
2e8fb09568 Allow the creation of a clipboard without a window. 2022-02-05 06:55:22 -05:00
Héctor Ramón Jiménez
1a737b8e20
Replace Zulip links with Discord 2022-01-31 21:18:39 +07:00
Héctor Ramón Jiménez
6f604ab399
Allow Application::run to return on native platforms 2022-01-31 16:39:46 +07:00
Héctor Ramón Jiménez
26d95fdc4b
Append Canvas to <body> when targetting Wasm in iced_winit 2022-01-28 21:37:16 +07:00
Kai Mast
1e3feee3a3
Reduce diff 2022-01-28 21:37:16 +07:00
Kai Mast
f39147d382
Always use event_loop.run 2022-01-28 21:37:16 +07:00
Kai Mast
beebf25c5f
Re-add docs for clipboard 2022-01-28 21:37:16 +07:00
Kai Mast
908259663d
Remove wasm-specific clipboard 2022-01-28 21:37:15 +07:00
Vladyslav Nikonov
bdca20fc4a
Experimental wgpu WebGL backend support
- Added missing `draw_cache_align_4x4` call for `brush_glyph` on wasm32 target
- Added WebGL support to `integratio_wgpu` example
- Fixed test.yml CI workflow
- Removed spir-v shader in `integration_wgpu`; Fixed formatting
- Removed redundant `BoxStream` typedef
2022-01-28 21:37:14 +07:00
Richard
230db88fb2 Add setting to try OpenGL ES first 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
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
Imbris
b89d3bed5c Fix a few doc links 2021-11-17 12:08:52 -05: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
6fce35393f
Hide implementation details of Command in iced_futures 2021-09-02 15:50:32 +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
2d65621a3b
Merge pull request #1000 from PolyMeilex/wgpu-0.10
wgpu: Update to 0.10
2021-08-25 16:19:00 +07:00