mirror of
https://github.com/rust-windowing/winit.git
synced 2026-06-28 07:33:14 -04:00
chore: drop v0.30 deprecated APIs
Co-authored-by: daxpedda <daxpedda@gmail.com>
This commit is contained in:
@@ -174,15 +174,6 @@ unsafe impl Send for SendSyncRawWindowHandle {}
|
||||
#[cfg(feature = "rwh_06")]
|
||||
unsafe impl Sync for SendSyncRawWindowHandle {}
|
||||
|
||||
impl WindowAttributes {
|
||||
/// Initializes new attributes with default values.
|
||||
#[inline]
|
||||
#[deprecated = "use `Window::default_attributes` instead"]
|
||||
pub fn new() -> Self {
|
||||
Default::default()
|
||||
}
|
||||
}
|
||||
|
||||
impl WindowAttributes {
|
||||
/// Get the parent window stored on the attributes.
|
||||
#[cfg(feature = "rwh_06")]
|
||||
@@ -1433,13 +1424,6 @@ impl Window {
|
||||
self.window.maybe_queue_on_main(move |w| w.set_cursor(cursor))
|
||||
}
|
||||
|
||||
/// Deprecated! Use [`Window::set_cursor()`] instead.
|
||||
#[deprecated = "Renamed to `set_cursor`"]
|
||||
#[inline]
|
||||
pub fn set_cursor_icon(&self, icon: CursorIcon) {
|
||||
self.set_cursor(icon)
|
||||
}
|
||||
|
||||
/// Changes the position of the cursor in window coordinates.
|
||||
///
|
||||
/// ```no_run
|
||||
|
||||
Reference in New Issue
Block a user