feat: subsurfaces

This commit is contained in:
Ashley Wulber 2025-03-14 11:16:25 -04:00 committed by Ashley Wulber
parent 0f37c9922d
commit 93bc4bbd88
No known key found for this signature in database
GPG key ID: 5216D4F46A90A820
33 changed files with 1898 additions and 2651 deletions

View file

@ -73,47 +73,3 @@ pub fn modifiers_to_native(mods: Modifiers) -> keyboard::Modifiers {
// }
native_mods
}
// pub fn keysym_to_vkey(keysym: RawKeysym) -> Option<KeyCode> {
// key_conversion.get(&keysym).cloned()
// }
// pub(crate) fn cursor_icon(cursor: winit::window::CursorIcon) -> CursorIcon {
// match cursor {
// CursorIcon::Default => todo!(),
// CursorIcon::ContextMenu => todo!(),
// CursorIcon::Help => todo!(),
// CursorIcon::Pointer => todo!(),
// CursorIcon::Progress => todo!(),
// CursorIcon::Wait => todo!(),
// CursorIcon::Cell => todo!(),
// CursorIcon::Crosshair => todo!(),
// CursorIcon::Text => todo!(),
// CursorIcon::VerticalText => todo!(),
// CursorIcon::Alias => todo!(),
// CursorIcon::Copy => todo!(),
// CursorIcon::Move => todo!(),
// CursorIcon::NoDrop => todo!(),
// CursorIcon::NotAllowed => todo!(),
// CursorIcon::Grab => todo!(),
// CursorIcon::Grabbing => todo!(),
// CursorIcon::EResize => todo!(),
// CursorIcon::NResize => todo!(),
// CursorIcon::NeResize => todo!(),
// CursorIcon::NwResize => todo!(),
// CursorIcon::SResize => todo!(),
// CursorIcon::SeResize => todo!(),
// CursorIcon::SwResize => todo!(),
// CursorIcon::WResize => todo!(),
// CursorIcon::EwResize => todo!(),
// CursorIcon::NsResize => todo!(),
// CursorIcon::NeswResize => todo!(),
// CursorIcon::NwseResize => todo!(),
// CursorIcon::ColResize => todo!(),
// CursorIcon::RowResize => todo!(),
// CursorIcon::AllScroll => todo!(),
// CursorIcon::ZoomIn => todo!(),
// CursorIcon::ZoomOut => todo!(),
// _ => todo!(),
// }
// }