Commit graph

313 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
d8d57a800a
Allow providing a DOM identifier as a target for Wasm 2022-11-05 01:43:28 +01:00
traxys
ab2872fe2b
Allow to replace an element instead of append to body 2022-11-05 01:28:16 +01:00
Michael Aaron Murphy
ac6e137be3
feat: Add window minimize support 2022-10-11 21:56:45 +02:00
Michael Aaron Murphy
8a50836ffc
feat: Add window maximize support 2022-10-11 21:56:01 +02:00
Michael Aaron Murphy
7ea7dbef57
feat: Add window drag support from winit
Exposes access to the winit window's window_drag method as an action.
2022-10-11 21:39:53 +02:00
aentity
78c9d5bedf
Add application feature, which allows to build freestanding wgpu app 2022-09-26 15:57:30 +02:00
Clark Moody
8d2331af01 New short OS Version field; update doc strings 2022-09-23 15:41:47 -05:00
Héctor Ramón Jiménez
1bfd032169
Improve code styling in application::State 2022-09-20 18:40:36 +02:00
Ashley Wulber
b113bb8a09
fix: formatting 2022-09-10 23:14:47 -04:00
Ashley Wulber
8de87b8f1b
fix: sync size of window and viewport 2022-09-10 22:43:09 -04:00
Héctor Ramón Jiménez
28a30079d1
Return Mode::Hidden in window::Action::FetchMode
... when the window is not visible.
2022-08-29 14:24:03 +02:00
Wyatt Herkamp
7ec4747304
Update winit and glutin forks 2022-08-29 14:20:02 +02:00
Héctor Ramón Jiménez
c08c78ad17
Fix invisible window on Windows
... by reverting the changes that were supposed to hide the window
initially and only show it after rendering the first frame.
2022-08-26 19:48:40 +02:00
Héctor Ramón Jiménez
11f5527d76
Implement SetMode and FetchMode window actions 2022-08-18 14:39:15 +02:00
Héctor Ramón Jiménez
277b848ad8
Remove window::Mode and introduce Settings::visible
Additionally, only show the window once one frame has been rendered to avoid blank flashes on Windows.
2022-08-18 14:09:20 +02:00
Héctor Ramón Jiménez
54ad92ce91
Build UserInterface only once on Outcome::Chain 2022-08-02 17:34:04 +02:00
Héctor Ramón Jiménez
6dac049db5
Fix clippy lints 🎉 2022-07-28 04:00:06 +02:00
Héctor Ramón Jiménez
80688689aa
Draft widget operations 2022-07-28 02:46:51 +02:00
Héctor Ramón Jiménez
2f76a10a1d
Fix further clippy lints
... and explicitly annotate crates as well.
2022-07-09 18:03:59 +02:00
Poly
15f794b7a8
Address Clippy lints 2022-07-09 17:07:38 +02:00
Héctor Ramón Jiménez
bb07d017e8
Add Style variant support to application::StyleSheet 2022-07-08 20:07:33 +02:00
Héctor Ramón Jiménez
7f3b7075db
Rename theme::Definition to application::StyleSheet 2022-05-26 19:02:15 +02:00
Héctor Ramón Jiménez
822a3cd04f
Let a Theme control the text_color of an application 2022-05-26 01:10:26 +02:00
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
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
Héctor Ramón Jiménez
d23026d2dd
Bump versions 🎉 2022-05-02 22:07:53 +02:00
Héctor Ramón Jiménez
aecbd46123
Replace hecrj in links with iced-rs 2022-05-02 20:26:59 +02:00
Héctor Ramón Jiménez
68e9eb0a9b
Fix broken intra-doc links in documentation 2022-04-30 14:20:52 +02:00
Héctor Ramón Jiménez
ac35fe3edf
Point repository links to 0.4 branch in documentation 2022-04-30 13:54:07 +02: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
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