mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2024-12-24 06:11:30 +11:00
Merge pull request #176 from vanderlokken/vanderlokken-fix
Fixed some obsolete comments and strings
This commit is contained in:
commit
ad8d2b0470
|
@ -319,7 +319,7 @@ pub enum MouseCursor {
|
|||
RowResize,
|
||||
}
|
||||
|
||||
/// Describes how glutin handles the cursor.
|
||||
/// Describes how winit handles the cursor.
|
||||
#[derive(Debug, Copy, Clone, PartialEq)]
|
||||
pub enum CursorState {
|
||||
/// Normal cursor behavior.
|
||||
|
@ -362,7 +362,7 @@ pub struct WindowAttributes {
|
|||
|
||||
/// The title of the window in the title bar.
|
||||
///
|
||||
/// The default is `"glutin window"`.
|
||||
/// The default is `"winit window"`.
|
||||
pub title: String,
|
||||
|
||||
/// Whether the window should be immediately visible upon creation.
|
||||
|
@ -394,7 +394,7 @@ impl Default for WindowAttributes {
|
|||
min_dimensions: None,
|
||||
max_dimensions: None,
|
||||
monitor: None,
|
||||
title: "glutin window".to_owned(),
|
||||
title: "winit window".to_owned(),
|
||||
visible: true,
|
||||
transparent: false,
|
||||
decorations: true,
|
||||
|
|
|
@ -117,7 +117,7 @@ impl WindowBuilder {
|
|||
}
|
||||
|
||||
impl Window {
|
||||
/// Creates a new OpenGL context, and a Window for platforms where this is appropriate.
|
||||
/// Creates a new Window for platforms where this is appropriate.
|
||||
///
|
||||
/// This function is equivalent to `WindowBuilder::new().build(events_loop)`.
|
||||
///
|
||||
|
@ -284,7 +284,7 @@ impl Window {
|
|||
self.window.set_cursor_position(x, y)
|
||||
}
|
||||
|
||||
/// Sets how glutin handles the cursor. See the documentation of `CursorState` for details.
|
||||
/// Sets how winit handles the cursor. See the documentation of `CursorState` for details.
|
||||
///
|
||||
/// Has no effect on Android.
|
||||
#[inline]
|
||||
|
|
Loading…
Reference in a new issue