Unverified Commit 2086f99a authored by moko256's avatar moko256 Committed by GitHub

update `mouse_cursor.dart` docs for winuwp cursor (#89011)

parent 62e186d1
...@@ -355,6 +355,7 @@ class _SystemMouseCursorSession extends MouseCursorSession { ...@@ -355,6 +355,7 @@ class _SystemMouseCursorSession extends MouseCursorSession {
/// * Android: API name in Java /// * Android: API name in Java
/// * Web: CSS cursor /// * Web: CSS cursor
/// * Windows: Win32 API /// * Windows: Win32 API
/// * Windows UWP: WinRT API, `winrt::Windows::UI::Core::CoreCursorType`
/// * Linux: GDK, `gdk_cursor_new_from_name` /// * Linux: GDK, `gdk_cursor_new_from_name`
/// * macOS: API name in Objective C /// * macOS: API name in Objective C
/// ///
...@@ -424,7 +425,8 @@ class SystemMouseCursors { ...@@ -424,7 +425,8 @@ class SystemMouseCursors {
// //
// * Android: shell/platform/android/io/flutter/plugin/mouse/MouseCursorPlugin.java // * Android: shell/platform/android/io/flutter/plugin/mouse/MouseCursorPlugin.java
// * Web: lib/web_ui/lib/src/engine/mouse_cursor.dart // * Web: lib/web_ui/lib/src/engine/mouse_cursor.dart
// * Windows: shell/platform/windows/win32_flutter_window.cc // * Windows: shell/platform/windows/win32_flutter_window_win32.cc
// * Windows UWP: shell/platform/windows/win32_flutter_window_winuwp.cc
// * Linux: shell/platform/linux/fl_mouse_cursor_plugin.cc // * Linux: shell/platform/linux/fl_mouse_cursor_plugin.cc
// * macOS: shell/platform/darwin/macos/framework/Source/FlutterMouseCursorPlugin.mm // * macOS: shell/platform/darwin/macos/framework/Source/FlutterMouseCursorPlugin.mm
...@@ -447,6 +449,7 @@ class SystemMouseCursors { ...@@ -447,6 +449,7 @@ class SystemMouseCursors {
/// * Android: TYPE_DEFAULT, TYPE_ARROW /// * Android: TYPE_DEFAULT, TYPE_ARROW
/// * Web: default /// * Web: default
/// * Windows: IDC_ARROW /// * Windows: IDC_ARROW
/// * Windows UWP: CoreCursorType::Arrow
/// * Linux: default /// * Linux: default
/// * macOS: arrowCursor /// * macOS: arrowCursor
static const SystemMouseCursor basic = SystemMouseCursor._(kind: 'basic'); static const SystemMouseCursor basic = SystemMouseCursor._(kind: 'basic');
...@@ -460,6 +463,7 @@ class SystemMouseCursors { ...@@ -460,6 +463,7 @@ class SystemMouseCursors {
/// * Android: TYPE_HAND /// * Android: TYPE_HAND
/// * Web: pointer /// * Web: pointer
/// * Windows: IDC_HAND /// * Windows: IDC_HAND
/// * Windows UWP: CoreCursorType::Hand
/// * Linux: pointer /// * Linux: pointer
/// * macOS: pointingHandCursor /// * macOS: pointingHandCursor
static const SystemMouseCursor click = SystemMouseCursor._(kind: 'click'); static const SystemMouseCursor click = SystemMouseCursor._(kind: 'click');
...@@ -474,6 +478,7 @@ class SystemMouseCursors { ...@@ -474,6 +478,7 @@ class SystemMouseCursors {
/// * Android: TYPE_NO_DROP /// * Android: TYPE_NO_DROP
/// * Web: not-allowed /// * Web: not-allowed
/// * Windows: IDC_NO /// * Windows: IDC_NO
/// * Windows UWP: CoreCursorType::UniversalNo
/// * Linux: not-allowed /// * Linux: not-allowed
/// * macOS: operationNotAllowedCursor /// * macOS: operationNotAllowedCursor
/// ///
...@@ -543,6 +548,7 @@ class SystemMouseCursors { ...@@ -543,6 +548,7 @@ class SystemMouseCursors {
/// ///
/// * Android: TYPE_HELP /// * Android: TYPE_HELP
/// * Windows: IDC_HELP /// * Windows: IDC_HELP
/// * Windows UWP: CoreCursorType::Help
/// * Web: help /// * Web: help
/// * Linux: help /// * Linux: help
static const SystemMouseCursor help = SystemMouseCursor._(kind: 'help'); static const SystemMouseCursor help = SystemMouseCursor._(kind: 'help');
...@@ -559,6 +565,7 @@ class SystemMouseCursors { ...@@ -559,6 +565,7 @@ class SystemMouseCursors {
/// * Android: TYPE_TEXT /// * Android: TYPE_TEXT
/// * Web: text /// * Web: text
/// * Windows: IDC_IBEAM /// * Windows: IDC_IBEAM
/// * Windows UWP: CoreCursorType::IBeam
/// * Linux: text /// * Linux: text
/// * macOS: IBeamCursor /// * macOS: IBeamCursor
static const SystemMouseCursor text = SystemMouseCursor._(kind: 'text'); static const SystemMouseCursor text = SystemMouseCursor._(kind: 'text');
...@@ -597,6 +604,7 @@ class SystemMouseCursors { ...@@ -597,6 +604,7 @@ class SystemMouseCursors {
/// * Android: TYPE_CROSSHAIR /// * Android: TYPE_CROSSHAIR
/// * Web: crosshair /// * Web: crosshair
/// * Windows: IDC_CROSS /// * Windows: IDC_CROSS
/// * Windows UWP: CoreCursorType::Cross
/// * Linux: crosshair /// * Linux: crosshair
/// * macOS: crosshairCursor /// * macOS: crosshairCursor
static const SystemMouseCursor precise = SystemMouseCursor._(kind: 'precise'); static const SystemMouseCursor precise = SystemMouseCursor._(kind: 'precise');
...@@ -612,6 +620,7 @@ class SystemMouseCursors { ...@@ -612,6 +620,7 @@ class SystemMouseCursors {
/// ///
/// * Android: TYPE_ALL_SCROLL /// * Android: TYPE_ALL_SCROLL
/// * Windows: IDC_SIZEALL /// * Windows: IDC_SIZEALL
/// * Windows UWP: CoreCursorType::SizeAll
/// * Web: move /// * Web: move
/// * Linux: move /// * Linux: move
static const SystemMouseCursor move = SystemMouseCursor._(kind: 'move'); static const SystemMouseCursor move = SystemMouseCursor._(kind: 'move');
...@@ -650,6 +659,7 @@ class SystemMouseCursors { ...@@ -650,6 +659,7 @@ class SystemMouseCursors {
/// * Android: TYPE_NO_DROP /// * Android: TYPE_NO_DROP
/// * Web: no-drop /// * Web: no-drop
/// * Windows: IDC_NO /// * Windows: IDC_NO
/// * Windows UWP: CoreCursorType::UniversalNo
/// * Linux: no-drop /// * Linux: no-drop
/// * macOS: operationNotAllowedCursor /// * macOS: operationNotAllowedCursor
/// ///
...@@ -704,6 +714,7 @@ class SystemMouseCursors { ...@@ -704,6 +714,7 @@ class SystemMouseCursors {
/// ///
/// * Android: TYPE_ALL_SCROLL /// * Android: TYPE_ALL_SCROLL
/// * Windows: IDC_SIZEALL /// * Windows: IDC_SIZEALL
/// * Windows UWP: CoreCursorType::SizeAll
/// * Web: all-scroll /// * Web: all-scroll
/// * Linux: all-scroll /// * Linux: all-scroll
/// ///
...@@ -722,6 +733,7 @@ class SystemMouseCursors { ...@@ -722,6 +733,7 @@ class SystemMouseCursors {
/// * Android: TYPE_HORIZONTAL_DOUBLE_ARROW /// * Android: TYPE_HORIZONTAL_DOUBLE_ARROW
/// * Web: ew-resize /// * Web: ew-resize
/// * Windows: IDC_SIZEWE /// * Windows: IDC_SIZEWE
/// * Windows UWP: CoreCursorType::SizeWestEast
/// * Linux: ew-resize /// * Linux: ew-resize
/// * macOS: resizeLeftRightCursor /// * macOS: resizeLeftRightCursor
static const SystemMouseCursor resizeLeftRight = SystemMouseCursor._(kind: 'resizeLeftRight'); static const SystemMouseCursor resizeLeftRight = SystemMouseCursor._(kind: 'resizeLeftRight');
...@@ -736,6 +748,7 @@ class SystemMouseCursors { ...@@ -736,6 +748,7 @@ class SystemMouseCursors {
/// * Android: TYPE_VERTICAL_DOUBLE_ARROW /// * Android: TYPE_VERTICAL_DOUBLE_ARROW
/// * Web: ns-resize /// * Web: ns-resize
/// * Windows: IDC_SIZENS /// * Windows: IDC_SIZENS
/// * Windows UWP: CoreCursorType::SizeNorthSouth
/// * Linux: ns-resize /// * Linux: ns-resize
/// * macOS: resizeUpDownCursor /// * macOS: resizeUpDownCursor
static const SystemMouseCursor resizeUpDown = SystemMouseCursor._(kind: 'resizeUpDown'); static const SystemMouseCursor resizeUpDown = SystemMouseCursor._(kind: 'resizeUpDown');
...@@ -750,6 +763,7 @@ class SystemMouseCursors { ...@@ -750,6 +763,7 @@ class SystemMouseCursors {
/// * Android: TYPE_TOP_LEFT_DIAGONAL_DOUBLE_ARROW /// * Android: TYPE_TOP_LEFT_DIAGONAL_DOUBLE_ARROW
/// * Web: nwse-resize /// * Web: nwse-resize
/// * Windows: IDC_SIZENWSE /// * Windows: IDC_SIZENWSE
/// * Windows UWP: CoreCursorType::SizeNorthwestSoutheast
/// * Linux: nwse-resize /// * Linux: nwse-resize
static const SystemMouseCursor resizeUpLeftDownRight = SystemMouseCursor._(kind: 'resizeUpLeftDownRight'); static const SystemMouseCursor resizeUpLeftDownRight = SystemMouseCursor._(kind: 'resizeUpLeftDownRight');
...@@ -762,6 +776,7 @@ class SystemMouseCursors { ...@@ -762,6 +776,7 @@ class SystemMouseCursors {
/// ///
/// * Android: TYPE_TOP_RIGHT_DIAGONAL_DOUBLE_ARROW /// * Android: TYPE_TOP_RIGHT_DIAGONAL_DOUBLE_ARROW
/// * Windows: IDC_SIZENESW /// * Windows: IDC_SIZENESW
/// * Windows UWP: CoreCursorType::SizeNortheastSouthwest
/// * Web: nesw-resize /// * Web: nesw-resize
/// * Linux: nesw-resize /// * Linux: nesw-resize
static const SystemMouseCursor resizeUpRightDownLeft = SystemMouseCursor._(kind: 'resizeUpRightDownLeft'); static const SystemMouseCursor resizeUpRightDownLeft = SystemMouseCursor._(kind: 'resizeUpRightDownLeft');
...@@ -775,6 +790,7 @@ class SystemMouseCursors { ...@@ -775,6 +790,7 @@ class SystemMouseCursors {
/// * Android: TYPE_VERTICAL_DOUBLE_ARROW /// * Android: TYPE_VERTICAL_DOUBLE_ARROW
/// * Web: n-resize /// * Web: n-resize
/// * Windows: IDC_SIZENS /// * Windows: IDC_SIZENS
/// * Windows UWP: CoreCursorType::SizeNorthSouth
/// * Linux: n-resize /// * Linux: n-resize
/// * macOS: resizeUpCursor /// * macOS: resizeUpCursor
static const SystemMouseCursor resizeUp = SystemMouseCursor._(kind: 'resizeUp'); static const SystemMouseCursor resizeUp = SystemMouseCursor._(kind: 'resizeUp');
...@@ -788,6 +804,7 @@ class SystemMouseCursors { ...@@ -788,6 +804,7 @@ class SystemMouseCursors {
/// * Android: TYPE_VERTICAL_DOUBLE_ARROW /// * Android: TYPE_VERTICAL_DOUBLE_ARROW
/// * Web: s-resize /// * Web: s-resize
/// * Windows: IDC_SIZENS /// * Windows: IDC_SIZENS
/// * Windows UWP: CoreCursorType::SizeNorthSouth
/// * Linux: s-resize /// * Linux: s-resize
/// * macOS: resizeDownCursor /// * macOS: resizeDownCursor
static const SystemMouseCursor resizeDown = SystemMouseCursor._(kind: 'resizeDown'); static const SystemMouseCursor resizeDown = SystemMouseCursor._(kind: 'resizeDown');
...@@ -801,6 +818,7 @@ class SystemMouseCursors { ...@@ -801,6 +818,7 @@ class SystemMouseCursors {
/// * Android: TYPE_HORIZONTAL_DOUBLE_ARROW /// * Android: TYPE_HORIZONTAL_DOUBLE_ARROW
/// * Web: w-resize /// * Web: w-resize
/// * Windows: IDC_SIZEWE /// * Windows: IDC_SIZEWE
/// * Windows UWP: CoreCursorType::SizeWestEast
/// * Linux: w-resize /// * Linux: w-resize
/// * macOS: resizeLeftCursor /// * macOS: resizeLeftCursor
static const SystemMouseCursor resizeLeft = SystemMouseCursor._(kind: 'resizeLeft'); static const SystemMouseCursor resizeLeft = SystemMouseCursor._(kind: 'resizeLeft');
...@@ -814,6 +832,7 @@ class SystemMouseCursors { ...@@ -814,6 +832,7 @@ class SystemMouseCursors {
/// * Android: TYPE_HORIZONTAL_DOUBLE_ARROW /// * Android: TYPE_HORIZONTAL_DOUBLE_ARROW
/// * Web: e-resize /// * Web: e-resize
/// * Windows: IDC_SIZEWE /// * Windows: IDC_SIZEWE
/// * Windows UWP: CoreCursorType::SizeWestEast
/// * Linux: e-resize /// * Linux: e-resize
/// * macOS: resizeRightCursor /// * macOS: resizeRightCursor
static const SystemMouseCursor resizeRight = SystemMouseCursor._(kind: 'resizeRight'); static const SystemMouseCursor resizeRight = SystemMouseCursor._(kind: 'resizeRight');
...@@ -827,6 +846,7 @@ class SystemMouseCursors { ...@@ -827,6 +846,7 @@ class SystemMouseCursors {
/// * Android: TYPE_TOP_LEFT_DIAGONAL_DOUBLE_ARROW /// * Android: TYPE_TOP_LEFT_DIAGONAL_DOUBLE_ARROW
/// * Web: nw-resize /// * Web: nw-resize
/// * Windows: IDC_SIZENWSE /// * Windows: IDC_SIZENWSE
/// * Windows UWP: CoreCursorType::SizeNorthwestSoutheast
/// * Linux: nw-resize /// * Linux: nw-resize
static const SystemMouseCursor resizeUpLeft = SystemMouseCursor._(kind: 'resizeUpLeft'); static const SystemMouseCursor resizeUpLeft = SystemMouseCursor._(kind: 'resizeUpLeft');
...@@ -839,6 +859,7 @@ class SystemMouseCursors { ...@@ -839,6 +859,7 @@ class SystemMouseCursors {
/// * Android: TYPE_TOP_RIGHT_DIAGONAL_DOUBLE_ARROW /// * Android: TYPE_TOP_RIGHT_DIAGONAL_DOUBLE_ARROW
/// * Web: ne-resize /// * Web: ne-resize
/// * Windows: IDC_SIZENESW /// * Windows: IDC_SIZENESW
/// * Windows UWP: CoreCursorType::SizeNortheastSouthwest
/// * Linux: ne-resize /// * Linux: ne-resize
static const SystemMouseCursor resizeUpRight = SystemMouseCursor._(kind: 'resizeUpRight'); static const SystemMouseCursor resizeUpRight = SystemMouseCursor._(kind: 'resizeUpRight');
...@@ -851,6 +872,7 @@ class SystemMouseCursors { ...@@ -851,6 +872,7 @@ class SystemMouseCursors {
/// * Android: TYPE_TOP_RIGHT_DIAGONAL_DOUBLE_ARROW /// * Android: TYPE_TOP_RIGHT_DIAGONAL_DOUBLE_ARROW
/// * Web: sw-resize /// * Web: sw-resize
/// * Windows: IDC_SIZENESW /// * Windows: IDC_SIZENESW
/// * Windows UWP: CoreCursorType::SizeNortheastSouthwest
/// * Linux: sw-resize /// * Linux: sw-resize
static const SystemMouseCursor resizeDownLeft = SystemMouseCursor._(kind: 'resizeDownLeft'); static const SystemMouseCursor resizeDownLeft = SystemMouseCursor._(kind: 'resizeDownLeft');
...@@ -863,6 +885,7 @@ class SystemMouseCursors { ...@@ -863,6 +885,7 @@ class SystemMouseCursors {
/// * Android: TYPE_TOP_LEFT_DIAGONAL_DOUBLE_ARROW /// * Android: TYPE_TOP_LEFT_DIAGONAL_DOUBLE_ARROW
/// * Web: se-resize /// * Web: se-resize
/// * Windows: IDC_SIZENWSE /// * Windows: IDC_SIZENWSE
/// * Windows UWP: CoreCursorType::SizeNorthwestSoutheast
/// * Linux: se-resize /// * Linux: se-resize
static const SystemMouseCursor resizeDownRight = SystemMouseCursor._(kind: 'resizeDownRight'); static const SystemMouseCursor resizeDownRight = SystemMouseCursor._(kind: 'resizeDownRight');
...@@ -876,6 +899,7 @@ class SystemMouseCursors { ...@@ -876,6 +899,7 @@ class SystemMouseCursors {
/// * Android: TYPE_HORIZONTAL_DOUBLE_ARROW /// * Android: TYPE_HORIZONTAL_DOUBLE_ARROW
/// * Web: col-resize /// * Web: col-resize
/// * Windows: IDC_SIZEWE /// * Windows: IDC_SIZEWE
/// * Windows UWP: CoreCursorType::SizeWestEast
/// * Linux: col-resize /// * Linux: col-resize
/// * macOS: resizeLeftRightCursor /// * macOS: resizeLeftRightCursor
static const SystemMouseCursor resizeColumn = SystemMouseCursor._(kind: 'resizeColumn'); static const SystemMouseCursor resizeColumn = SystemMouseCursor._(kind: 'resizeColumn');
...@@ -890,6 +914,7 @@ class SystemMouseCursors { ...@@ -890,6 +914,7 @@ class SystemMouseCursors {
/// * Android: TYPE_VERTICAL_DOUBLE_ARROW /// * Android: TYPE_VERTICAL_DOUBLE_ARROW
/// * Web: row-resize /// * Web: row-resize
/// * Windows: IDC_SIZENS /// * Windows: IDC_SIZENS
/// * Windows UWP: CoreCursorType::SizeNorthSouth
/// * Linux: row-resize /// * Linux: row-resize
/// * macOS: resizeUpDownCursor /// * macOS: resizeUpDownCursor
static const SystemMouseCursor resizeRow = SystemMouseCursor._(kind: 'resizeRow'); static const SystemMouseCursor resizeRow = SystemMouseCursor._(kind: 'resizeRow');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment