Commit graph

2362 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
1aeb8b8340
Show Loading screen when refreshing in system_information example 2022-05-04 15:21:16 +02:00
Héctor Ramón Jiménez
f1ec0af507
Run system::information in a different thread
... since it seems it can block for a couple of seconds.
2022-05-04 15:21:07 +02:00
Héctor Ramón Jiménez
e24f26c28f
Fix feature name in cfg block in iced_winit 2022-05-04 14:02:54 +02:00
Richard
a4477723d4 Add logging to window and context creation 2022-05-02 16:03:08 -03:00
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
7a13928130 Enumerate adapters based on log level 2022-04-26 19:02:31 -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
5bfe887e3d Improve example readability 2022-04-26 18:58:55 -03:00
Richard
56065fe959 Add graphics information to example 2022-04-26 18:58:54 -03:00
Richard
75281d2b85 Add graphics information to iced_glutin 2022-04-26 18:58:53 -03:00
Richard
83ab27b5cb Add graphics information to iced_winit 2022-04-26 18:58:52 -03:00
Richard
5356bb9bdb Add graphics information to system::Information 2022-04-26 18:58:50 -03:00
Richard
2b4d8a7b26 Implement GraphicsInformation for iced_glow 2022-04-26 18:58:48 -03:00
Richard
83fec2f5f6 Implement GraphicsInformation for iced_wgpu 2022-04-26 18:58:19 -03:00
Richard
e23e4b8db2 Introduce GraphicsInformation to iced_graphics 2022-04-26 18:58:06 -03:00
Richard
ced5f5075f Export system module in iced_glutin 2022-04-26 18:57:52 -03:00
Richard
d9853165e7 Add unformated memory total to example 2022-04-26 18:57:37 -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
69781499cb Introduce QueryInformation to system::Action 2022-04-26 18:54:23 -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
a33e320521
Merge pull request #1308 from nicksenger/fix/pure-component-overlay
fix: tree node passed in `component::OverlayInstance::on_event`
2022-04-19 19:55:00 +07:00
Héctor Ramón
a0ade549a1
Merge pull request #1309 from nicksenger/fix/pure-stateless-components
Fix diffing issue with pure stateless components
2022-04-19 14:45:49 +07:00
Nick Senger
0e78929603
fix: tree node passed in component::OverlayInstance::on_event 2022-04-18 10:45:23 -07:00
Nick Senger
b1d6ad0070
Revert "add example"
This reverts commit 11986547cb.
2022-04-18 09:03:17 -07:00
Nick Senger
2858c8aa68
fix: diffing issue with pure stateless components 2022-04-18 09:02:40 -07:00
Nick Senger
11986547cb
add example 2022-04-18 08:51:49 -07:00
Héctor Ramón
26b68d74f3
Merge pull request #1301 from nicksenger/fix/nested-pure-components
Fix nested pure components
2022-04-18 16:30:23 +07:00
Nick Senger
572dcaff81
fix: diff widget tree after local event processing in Component 2022-04-17 11:53:59 -07:00
Nick Senger
d23ed0c4e8
fix: overlay 2022-04-06 17:25:57 -07:00
Nick Senger
c663a8d85c
remove example 2022-04-06 13:16:24 -07:00
Nick Senger
e4178c8e4f
fix: nested components 2022-04-06 13:16:23 -07:00
Nick Senger
5cc1aa31c7
add example 2022-04-06 13:16:17 -07:00
Héctor Ramón
3042fa2cb6
Merge pull request #1298 from 0x192/master
Implement `Default` for `pure::State`
2022-04-01 00:41:33 +07:00
0x192
9b835c2662
Use State::new() for State::default() 2022-03-29 23:31:05 +02:00
0x192
cfc164d83d
Implement Default for pure::State
Impure Applications using pure widgets can now use a struct implementing `Default`
2022-03-29 22:55:06 +02:00