Héctor Ramón Jiménez
cc32bd4de0
Use Size in both Resize and FetchSize window actions
2023-07-06 06:41:28 +02:00
Yiğit Özdemir
b394c84b37
Add FetchSize command - apply the changes discussed at #water-cooler
2023-06-22 18:28:32 +03:00
Yiğit Özdemir
21a71b753d
Add command to retrieve window size
2023-06-21 19:43:20 +03:00
Héctor Ramón Jiménez
aba98e4965
Extend cursor availability to the shell level
2023-06-08 20:35:40 +02:00
Héctor Ramón Jiménez
f0788b9f37
Replace change_always_on_top action with change_level
2023-05-25 23:18:50 +02:00
Nico Burns
a5fbfe7ea5
Update to winit 0.28
2023-05-11 17:00:08 +01:00
Héctor Ramón Jiménez
4bae457c37
Merge branch 'master' into advanced-text
2023-04-17 23:41:12 +02:00
Night_Hunter
5a056ce051
add action set icon while running ( #1590 )
...
* set windows icon live action
* change get icon to insto raw
* remove mobile docs
* format
* fix format
* add file methods to Icon
* Rename action to `ChangeIcon` and tidy up `Icon` modules
* Fix documentation of `icon::Error`
* Remove unnecessary `\` in `icon` documentation
* Remove `etc.` from `Icon` documentation
---------
Co-authored-by: Héctor Ramón Jiménez <hector0193@gmail.com>
2023-04-12 06:47:53 +00:00
traxys
0231ed6f1d
winit: Fix replacement of node in wasm
...
Replacing a node ends up with the following error:
Node.replaceChild: Child to be replaced is not a child of this node
It seems that Node.replaceChild is not recommended, and instead
Element.replaceWith should be preferred. Using it avoids the panic.
2023-03-20 00:20:45 +01:00
Héctor Ramón Jiménez
aa4b5bb6b9
Merge branch 'master' into feature/software-renderer
2023-03-07 07:24:34 +01:00
Héctor Ramón Jiménez
99e0a71504
Rename iced_native to iced_runtime
2023-03-05 06:35:20 +01:00
Héctor Ramón Jiménez
8af69be47e
Converge Command types from iced_futures and iced_native
2023-03-05 06:23:40 +01:00
Héctor Ramón Jiménez
f4cf488e0b
Remove generic Hasher and Event from subscription::Recipe
2023-03-05 04:15:10 +01:00
Héctor Ramón Jiménez
3a0d34c024
Create iced_widget subcrate and re-organize the whole codebase
2023-03-04 05:37:11 +01:00
Bingus
b2a9a1e73c
Fixed fullscreen only being possible on primary monitor.
2023-03-02 08:31:39 -08:00
Héctor Ramón Jiménez
535d7a4d57
Implement basic presentation with softbuffer for iced_tiny_skia
2023-02-25 16:05:42 +01:00
Héctor Ramón Jiménez
5100b5d0a1
Introduce iced_renderer subcrate featuring runtime renderer fallback
2023-02-24 23:24:48 +01:00
Héctor Ramón Jiménez
238154af4a
Implement font::load command in iced_native
2023-02-24 13:29:11 +01:00
Cory Forsstrom
07a7681dba
Remove logging large bytes arrays
2023-02-23 09:31:48 -08:00
Night_Hunter
9f75f01ddb
add action to get window id
2023-02-17 13:45:51 +01:00
Héctor Ramón Jiménez
df861d9ece
Rename SetAlwaysOnTop to ChangeAlwaysOnTop
2023-02-17 13:22:45 +01:00
Night_Hunter
095ecf016b
update docs and change to SetAlwaysOnTop
2023-02-17 13:20:07 +01:00
Night_Hunter
d1d13f6f16
add always on top action
2023-02-17 13:17:59 +01:00
Héctor Ramón Jiménez
9506fb1181
Hide window until Renderer has been initialized
2023-02-11 03:06:42 +01:00
Héctor Ramón Jiménez
ecc5bfaeff
Improve consistency of window::Action
2023-01-31 04:53:00 +01:00
13r0ck
42b1bfe66d
Fix: Clippy lint 'uninlined_format_args'
2023-01-27 14:02:48 -07: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
7354f68b3c
Draft Shell:request_redraw API
...
... and implement `TextInput` cursor blink 🎉
2023-01-12 02:59: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
dd25e93be0
Rename FocusWindow to GainFocus in window::Action
2023-01-02 21:14:41 +01:00
Night_Hunter
81cd0c45b7
Add FocusWindow to window::Action
2023-01-02 21:14:02 +01:00
Héctor Ramón Jiménez
6855961358
Create conversion function for user_attention in iced_winit
2023-01-02 20:17:36 +01:00
Night_Hunter
d95b9bf244
Add RequestUserAttention to window::Action
2023-01-02 20:13:42 +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
Night_Hunter
750fecd6bc
add toggle decorations action
2022-12-10 01:40:53 +13:00
Héctor Ramón Jiménez
1480ab2030
Fix broken documentation links
2022-11-10 00:10:53 +01:00
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
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