Add more cursors

This commit is contained in:
Simon Lübeß
2024-10-31 00:03:17 +01:00
parent 2e60f13c02
commit 61bc3ed0bb
15 changed files with 53 additions and 25 deletions
@@ -0,0 +1 @@
https://hg.mozilla.org/mozilla-central/file/tip/widget/windows/res
Binary file not shown.

After

Width:  |  Height:  |  Size: 326 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 326 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 326 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 326 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 326 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 326 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 326 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 326 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 326 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 326 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 326 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 326 B

@@ -25,7 +25,7 @@ abstract class UltralightWindow
{
WindowDescription windowDesc = .Default;
windowDesc.Title = title;
windowDesc.WindowStyle = .Borderless;
windowDesc.WindowStyle = .CustomTitle;
_window = new Window(windowDesc);
_window.EventCallback = new => EventHandler;
@@ -327,11 +327,9 @@ abstract class UltralightWindow
cursor = .ResizeNorthWestSouthEast;
case .kCursor_ColumnResize:
// TODO use cursor file
cursor = .ResizeColumn;
case .kCursor_RowResize:
// TODO use cursor file
cursor = .ResizeRow;
case .kCursor_MiddlePanning: