winit/examples
Eero Lehtinen af93167237
feat(all): Custom cursor images for all desktop platforms
There seems to be many PRs relating to this issue, but they don't include all
platforms and for some reason lost steam. This PR again tries to make this
feature happen, and does it for all desktop platforms (x11, wayland, macos,
windows, web).

I think the best user of this feature and the reason I'm doing this is Bevy and
game engines in general. There non laggy hardware cursors with custom images are
very important. Game devs also like their PNGs so supporting platform native
cursor files is not that important, but I guess could be added too.

Co-authored-by: daxpedda <daxpedda@gmail.com>
Co-authored-by: Mads Marquart <mads@marquart.dk>
Co-authored-by: Kirill Chibisov <contact@kchibisov.com>
2023-12-16 12:02:17 -08:00
..
data feat(all): Custom cursor images for all desktop platforms 2023-12-16 12:02:17 -08:00
util Fix crash when minimizing example on Windows 2023-10-31 19:21:36 +04:00
child_window.rs Update to new raw-window-handle strategy 2023-10-15 06:07:39 +04:00
control_flow.rs Revise Key and KeyCode enums 2023-10-19 18:27:49 +04:00
cursor.rs Make ControlFlow::Wait the default (#3106) 2023-09-22 21:27:11 +02:00
cursor_grab.rs Revise Key and KeyCode enums 2023-10-19 18:27:49 +04:00
custom_cursors.rs feat(all): Custom cursor images for all desktop platforms 2023-12-16 12:02:17 -08:00
custom_events.rs Make ControlFlow::Wait the default (#3106) 2023-09-22 21:27:11 +02:00
drag_window.rs Add Window::show_window_menu 2023-10-11 01:46:16 +04:00
focus.rs bugfix(x11): Use the right atom type in focus_window() 2023-11-28 16:20:36 -08:00
fullscreen.rs Revise Key and KeyCode enums 2023-10-19 18:27:49 +04:00
handling_close.rs Make ControlFlow::Wait the default (#3106) 2023-09-22 21:27:11 +02:00
icon.png Window icons (#497) 2018-05-07 17:36:21 -04:00
ime.rs Revise Key and KeyCode enums 2023-10-19 18:27:49 +04:00
key_binding.rs Make ControlFlow::Wait the default (#3106) 2023-09-22 21:27:11 +02:00
monitor_list.rs Propagate error from EventLoop creation 2023-08-13 23:20:09 +04:00
mouse_wheel.rs Make ControlFlow::Wait the default (#3106) 2023-09-22 21:27:11 +02:00
multithreaded.rs Revise Key and KeyCode enums 2023-10-19 18:27:49 +04:00
multiwindow.rs Revise Key and KeyCode enums 2023-10-19 18:27:49 +04:00
request_redraw.rs Make ControlFlow::Wait the default (#3106) 2023-09-22 21:27:11 +02:00
request_redraw_threaded.rs Make ControlFlow::Wait the default (#3106) 2023-09-22 21:27:11 +02:00
resizable.rs Revise Key and KeyCode enums 2023-10-19 18:27:49 +04:00
startup_notification.rs Revise Key and KeyCode enums 2023-10-19 18:27:49 +04:00
theme.rs Make ControlFlow::Wait the default (#3106) 2023-09-22 21:27:11 +02:00
timer.rs Move ControlFlow to EventLoopWindowTarget 2023-09-07 10:25:04 +04:00
touchpad_gestures.rs Make ControlFlow::Wait the default (#3106) 2023-09-22 21:27:11 +02:00
transparent.rs Make ControlFlow::Wait the default (#3106) 2023-09-22 21:27:11 +02:00
video_modes.rs Propagate error from EventLoop creation 2023-08-13 23:20:09 +04:00
web.rs Revise Key and KeyCode enums 2023-10-19 18:27:49 +04:00
web_aspect_ratio.rs Make ControlFlow::Wait the default (#3106) 2023-09-22 21:27:11 +02:00
window.rs Make ControlFlow::Wait the default (#3106) 2023-09-22 21:27:11 +02:00
window_buttons.rs Make ControlFlow::Wait the default (#3106) 2023-09-22 21:27:11 +02:00
window_debug.rs Revise Key and KeyCode enums 2023-10-19 18:27:49 +04:00
window_drag_resize.rs Move ControlFlow to EventLoopWindowTarget 2023-09-07 10:25:04 +04:00
window_icon.rs Make ControlFlow::Wait the default (#3106) 2023-09-22 21:27:11 +02:00
window_on_demand.rs Rename run_ondemand to run_on_demand 2023-10-04 01:24:42 +04:00
window_option_as_alt.rs Make ControlFlow::Wait the default (#3106) 2023-09-22 21:27:11 +02:00
window_pump_events.rs Make ControlFlow::Wait the default (#3106) 2023-09-22 21:27:11 +02:00
window_resize_increments.rs Revise Key and KeyCode enums 2023-10-19 18:27:49 +04:00
window_tabbing.rs Revise Key and KeyCode enums 2023-10-19 18:27:49 +04:00
x11_embed.rs Make ControlFlow::Wait the default (#3106) 2023-09-22 21:27:11 +02:00