Commit graph

77 commits

Author SHA1 Message Date
Cory Forsstrom
07a7681dba
Remove logging large bytes arrays 2023-02-23 09:31:48 -08:00
Héctor Ramón Jiménez
507820a843
Fix grammar of TODO comment in application modules 2023-01-13 18:19:05 +01:00
Héctor Ramón Jiménez
c6d0046102
Use instant instead of wasm-timer in iced_core 2023-01-12 06:25:59 +01:00
Héctor Ramón Jiménez
fc54d6ba31
Use instant to fix Wasm target 2023-01-12 05:26:39 +01:00
Héctor Ramón Jiménez
e2ddef7438
Replace Option<Instant> with RedrawRequest enum 2023-01-12 05:18:25 +01:00
Héctor Ramón Jiménez
a980024bbf
Implement widget redraw support in iced_glutin 2023-01-12 03:11:08 +01:00
bungoboingo
4b6d3797d4
Restructured everything to make profiling a feature of iced_winit. 2023-01-09 18:52:38 +01:00
Bingus
c5cd236b73
Initial profiling support for Iced. 2023-01-09 18:52:38 +01:00
Héctor Ramón Jiménez
b5ab50b2a8
Implement window::close action and remove should_exit 2022-12-15 03:06:04 +01: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
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
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
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
c807abdfd7
Fix Theme not being refreshed in iced_glutin 2022-06-25 05:30:48 +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
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
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
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
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
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
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
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
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
612585109f
Use winit and glutin forks in iced-rs org 2021-06-25 14:15:11 +02:00