Commit graph

616 commits

Author SHA1 Message Date
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
Bingus
41836dd80d
Added per-window theme support. 2023-03-15 18:20:38 -07:00
Bingus
ce4b2c93d9
Added simpler MW example 2023-03-14 11:05:41 -07:00
Bingus
8ba1843080
Code cleanup, clearer comments + removed some unnecessary dupe;
Removed `Frames` struct return for `window::frames()` since we are just redrawing every window anyways;
Interface dropping;
2023-03-13 14:16:45 -07:00
Bingus
fa068b904a
Merge remote-tracking branch 'origin/master' into feat/multi-window-support 2023-03-13 13:23:45 -07: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
bungoboingo
e36daa6f93 Removed glutin MW support and reverted glutin changes back to Iced master since it's being axed as we speak. 2023-02-28 13:44:36 -08:00
bungoboingo
51296572c0 Merge remote-tracking branch 'iced-main/master' into feat/multi-window-support
# Conflicts:
#	glutin/src/application.rs
#	winit/src/icon.rs
2023-02-28 13:08:30 -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
Bingus
50b9c778b1
Fixed state syncing issue with MW. 2023-02-22 10:05:52 -08:00
Bingus
bd58d5fe25
Cargo fix 2023-02-20 13:35:55 -08:00
Bingus
9565b477ca
Merge remote-tracking branch 'origin/master' into feat/multi-window-support 2023-02-20 10:04:36 -08:00
Héctor Ramón Jiménez
0d1656937b
Bump versions 🎉 2023-02-18 12:04:40 +01:00
Bingus
3aaf5d8873
Fixed widget operations 2023-02-17 13:26:31 -08:00
Bingus
2d427455ce
Iced master merge (again) 2023-02-17 13:01:40 -08:00
Bingus
744cef5608
Merge remote-tracking branch 'origin/master' into feat/multi-window-support
# Conflicts:
#	winit/src/window.rs
2023-02-17 11:45:34 -08:00
Bingus
8da098330b
Fixed widget animations implementation 2023-02-17 11:42:49 -08:00
Héctor Ramón Jiménez
2c2421ae5d
Expose fetch_id helper in window module 2023-02-17 13:47:46 +01:00
Night_Hunter
9f75f01ddb
add action to get window id 2023-02-17 13:45:51 +01:00
Héctor Ramón Jiménez
db65c6904d
Expose change_always_on_top helper in window module 2023-02-17 13:24:46 +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
Bingus
3c095aa3f0
Merged in iced master 2023-02-15 14:56:15 -08:00
Bingus
63fb608d8b
Merge remote-tracking branch 'origin/master' into feat/multi-window-support
# Conflicts:
#	native/src/command/action.rs
#	native/src/window/action.rs
#	winit/src/window.rs
2023-02-15 14:55:02 -08:00
Bingus
64e0e817c2
Widget operations for multi-window. 2023-02-15 14:31:16 -08:00