Commit graph

394 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
f468e25d0c
Use workspace dependencies and package inheritance
We are also taking this as a chance to synchronize
the versions of all the crates! Because of this, we
will skip the `0.11` version.
2023-09-04 13:08:17 +02:00
Héctor Ramón Jiménez
126aef88e7
Bump versions 🎉 2023-07-28 19:48:39 +02:00
Cory Forsstrom
94e991a785
Add app id setting for linux 2023-07-26 20:14:52 +02:00
Héctor Ramón
7f805bc5dd
Merge pull request #1927 from thunderstorm010/master
Add command to retrieve window size
2023-07-06 07:00:15 +02:00
Héctor Ramón Jiménez
cc32bd4de0
Use Size in both Resize and FetchSize window actions 2023-07-06 06:41:28 +02:00
Héctor Ramón
f6966268bb
Merge pull request #1845 from bungoboingo/feat/offscreen-rendering
Feat: Offscreen Rendering & Screenshots
2023-06-27 20:37:19 +02:00
Héctor Ramón Jiménez
5ae726e02c
Move Screenshot inside window module 2023-06-27 19:41:03 +02:00
Cory Forsstrom
a047588ae8
Update winit 2023-06-23 08:21:30 -07: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
Bingus
233196eb14
Added offscreen rendering support for wgpu & tiny-skia exposed with the window::screenshot command. 2023-06-06 15:37:30 +02:00
Héctor Ramón
c61a4cc21c
Merge pull request #1738 from nicoburns/update-winit-0.28
Update to winit 0.28
2023-05-25 23:37:14 +02:00
Héctor Ramón Jiménez
70fd296ccc
Remove unnecessary newline 2023-05-25 23:20:26 +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
Héctor Ramón Jiménez
a7fa7e4005
Introduce window::Level enum
... and add `level` field to `window::Settings`
2023-05-25 23:14:07 +02:00
Héctor Ramón Jiménez
b924e86630
Update window_clipboard dependency 2023-05-25 23:05:24 +02:00
Héctor Ramón Jiménez
60d17d68d6
Update winit dependency 2023-05-25 23:04:29 +02:00
Héctor Ramón
e31582e59e
Merge pull request #1797 from bbb651/master
Make mouse::Button::Other take u16 instead of u8
2023-05-23 02:52:14 +02:00
bbb651
5802c95797
Make mouse::Button::Other take u16 instead of u8
On wayland keys correspond to <input-event-codes.h>,
and they are past the limit of u8, causing the
back and forward buttons to be 20 and 19 which definitely isn't right
(they should all be around 0x110..=0x117).
2023-05-23 02:35:38 +02:00
Nico Burns
ece04c1a8d Bump winit rev 2023-05-11 21:41:18 +01:00
Nico Burns
096bcd8988 Allow unsafe code 2023-05-11 19:41:55 +01:00
Nico Burns
e82ce8d93c Add unsafe block 2023-05-11 19:27:27 +01:00
Nico Burns
861a24745a Fixup option 2023-05-11 17:51:03 +01:00
Nico Burns
d6027d7da6 Use raw-window-handle instead of HWND 2023-05-11 17:41:44 +01:00
Nico Burns
09a2a06130 Fix import path 2023-05-11 17:00:18 +01:00
Nico Burns
42671e2855 Fix build on linux 2023-05-11 17:00:18 +01:00
Nico Burns
a5fbfe7ea5 Update to winit 0.28 2023-05-11 17:00:08 +01:00
Héctor Ramón Jiménez
cf434236e7
Enable doc_auto_cfg when generating documentation 2023-05-11 17:28:51 +02:00
Héctor Ramón Jiménez
4bae457c37
Merge branch 'master' into advanced-text 2023-04-17 23:41:12 +02:00
Héctor Ramón Jiménez
c79cc2d2b3
Bump versions 🎉 2023-04-13 08:41:09 +02:00
Héctor Ramón
adb70d232a
Merge pull request #1777 from AirhartAero/linux-window-features
Re-expose winit features for window servers in Linux
2023-04-12 20:57:36 +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
Héctor Ramón Jiménez
7e7e66586d
Show NotAllowed as mouse icon when hovering a disabled TextInput 2023-04-12 04:37:39 +02:00
Jacob Kiesel
cb78dc548b re-expose winit features for window servers in Linux 2023-03-31 20:37:09 -06: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
df68cca0c9
Update sysinfo to 0.28 2023-03-07 07:22:48 +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
a0597471b8
Remove iced_glutin and iced_glow leftovers 2023-02-24 13:38:18 +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
Héctor Ramón Jiménez
0d1656937b
Bump versions 🎉 2023-02-18 12:04:40 +01:00
Héctor Ramón Jiménez
2c2421ae5d
Expose fetch_id helper in window module 2023-02-17 13:47:46 +01:00