summaryrefslogtreecommitdiff
path: root/Base/res/cursor-themes/Default
diff options
context:
space:
mode:
authorMaciej Zygmanowski <sppmacd@pm.me>2021-08-01 17:22:44 +0200
committerAndreas Kling <kling@serenityos.org>2021-08-23 01:41:53 +0200
commit040a723f1f75de0220abffa5aff085d3d2a45cd2 (patch)
treef8111dc2a281212898c6f2fc44091e36105b562a /Base/res/cursor-themes/Default
parent7d579b04c511e7333ddbf72da16bd347a3886854 (diff)
downloadserenity-040a723f1f75de0220abffa5aff085d3d2a45cd2.zip
WindowServer: Add support for cursor themes
Now you can specify a CursorTheme key in /etc/WindowServer.ini. The cursors are loaded from /res/cursor-themes/<name> directory. This directory contains a Config.ini file with format similar to previous Cursor section, except it uses relative paths. This commit adds also Default theme, which uses cursors being previously in /res/cursors. The WidgetGallery is updated to match the new cursor path format.
Diffstat (limited to 'Base/res/cursor-themes/Default')
-rw-r--r--Base/res/cursor-themes/Default/Config.ini17
-rw-r--r--Base/res/cursor-themes/Default/arrow.x2y2-2x.pngbin0 -> 8360 bytes
-rw-r--r--Base/res/cursor-themes/Default/arrow.x2y2.pngbin0 -> 415 bytes
-rw-r--r--Base/res/cursor-themes/Default/crosshair-2x.pngbin0 -> 6630 bytes
-rw-r--r--Base/res/cursor-themes/Default/crosshair.pngbin0 -> 6546 bytes
-rw-r--r--Base/res/cursor-themes/Default/disallowed.pngbin0 -> 500 bytes
-rw-r--r--Base/res/cursor-themes/Default/drag.pngbin0 -> 205 bytes
-rw-r--r--Base/res/cursor-themes/Default/hand.x8y4.pngbin0 -> 241 bytes
-rw-r--r--Base/res/cursor-themes/Default/help.x1y1.pngbin0 -> 3931 bytes
-rw-r--r--Base/res/cursor-themes/Default/hidden.pngbin0 -> 128 bytes
-rw-r--r--Base/res/cursor-themes/Default/i-beam.pngbin0 -> 3047 bytes
-rw-r--r--Base/res/cursor-themes/Default/move-2x.pngbin0 -> 10273 bytes
-rw-r--r--Base/res/cursor-themes/Default/move.pngbin0 -> 711 bytes
-rw-r--r--Base/res/cursor-themes/Default/resize-column-2x.pngbin0 -> 8896 bytes
-rw-r--r--Base/res/cursor-themes/Default/resize-column.pngbin0 -> 5705 bytes
-rw-r--r--Base/res/cursor-themes/Default/resize-diagonal-bltr-2x.pngbin0 -> 9283 bytes
-rw-r--r--Base/res/cursor-themes/Default/resize-diagonal-bltr.pngbin0 -> 463 bytes
-rw-r--r--Base/res/cursor-themes/Default/resize-diagonal-tlbr-2x.pngbin0 -> 9284 bytes
-rw-r--r--Base/res/cursor-themes/Default/resize-diagonal-tlbr.pngbin0 -> 456 bytes
-rw-r--r--Base/res/cursor-themes/Default/resize-horizontal-2x.pngbin0 -> 9018 bytes
-rw-r--r--Base/res/cursor-themes/Default/resize-horizontal.pngbin0 -> 7484 bytes
-rw-r--r--Base/res/cursor-themes/Default/resize-row-2x.pngbin0 -> 8746 bytes
-rw-r--r--Base/res/cursor-themes/Default/resize-row.pngbin0 -> 4129 bytes
-rw-r--r--Base/res/cursor-themes/Default/resize-vertical-2x.pngbin0 -> 8723 bytes
-rw-r--r--Base/res/cursor-themes/Default/resize-vertical.pngbin0 -> 7461 bytes
-rw-r--r--Base/res/cursor-themes/Default/wait.f14t100.pngbin0 -> 2780 bytes
26 files changed, 17 insertions, 0 deletions
diff --git a/Base/res/cursor-themes/Default/Config.ini b/Base/res/cursor-themes/Default/Config.ini
new file mode 100644
index 0000000000..fec44b14a7
--- /dev/null
+++ b/Base/res/cursor-themes/Default/Config.ini
@@ -0,0 +1,17 @@
+[Cursor]
+Hidden=hidden.png
+Arrow=arrow.x2y2.png
+ResizeH=resize-horizontal.png
+ResizeV=resize-vertical.png
+ResizeDTLBR=resize-diagonal-tlbr.png
+ResizeDBLTR=resize-diagonal-bltr.png
+ResizeColumn=resize-column.png
+ResizeRow=resize-row.png
+IBeam=i-beam.png
+Disallowed=disallowed.png
+Move=move.png
+Hand=hand.x8y4.png
+Help=help.x1y1.png
+Drag=drag.png
+Wait=wait.f14t100.png
+Crosshair=crosshair.png
diff --git a/Base/res/cursor-themes/Default/arrow.x2y2-2x.png b/Base/res/cursor-themes/Default/arrow.x2y2-2x.png
new file mode 100644
index 0000000000..1874fee0c9
--- /dev/null
+++ b/Base/res/cursor-themes/Default/arrow.x2y2-2x.png
Binary files differ
diff --git a/Base/res/cursor-themes/Default/arrow.x2y2.png b/Base/res/cursor-themes/Default/arrow.x2y2.png
new file mode 100644
index 0000000000..8e124cc583
--- /dev/null
+++ b/Base/res/cursor-themes/Default/arrow.x2y2.png
Binary files differ
diff --git a/Base/res/cursor-themes/Default/crosshair-2x.png b/Base/res/cursor-themes/Default/crosshair-2x.png
new file mode 100644
index 0000000000..f1abec7a34
--- /dev/null
+++ b/Base/res/cursor-themes/Default/crosshair-2x.png
Binary files differ
diff --git a/Base/res/cursor-themes/Default/crosshair.png b/Base/res/cursor-themes/Default/crosshair.png
new file mode 100644
index 0000000000..7f1d12a4c9
--- /dev/null
+++ b/Base/res/cursor-themes/Default/crosshair.png
Binary files differ
diff --git a/Base/res/cursor-themes/Default/disallowed.png b/Base/res/cursor-themes/Default/disallowed.png
new file mode 100644
index 0000000000..5d7d5f26cd
--- /dev/null
+++ b/Base/res/cursor-themes/Default/disallowed.png
Binary files differ
diff --git a/Base/res/cursor-themes/Default/drag.png b/Base/res/cursor-themes/Default/drag.png
new file mode 100644
index 0000000000..b89032b473
--- /dev/null
+++ b/Base/res/cursor-themes/Default/drag.png
Binary files differ
diff --git a/Base/res/cursor-themes/Default/hand.x8y4.png b/Base/res/cursor-themes/Default/hand.x8y4.png
new file mode 100644
index 0000000000..924386ef67
--- /dev/null
+++ b/Base/res/cursor-themes/Default/hand.x8y4.png
Binary files differ
diff --git a/Base/res/cursor-themes/Default/help.x1y1.png b/Base/res/cursor-themes/Default/help.x1y1.png
new file mode 100644
index 0000000000..c14c29d453
--- /dev/null
+++ b/Base/res/cursor-themes/Default/help.x1y1.png
Binary files differ
diff --git a/Base/res/cursor-themes/Default/hidden.png b/Base/res/cursor-themes/Default/hidden.png
new file mode 100644
index 0000000000..96382d8740
--- /dev/null
+++ b/Base/res/cursor-themes/Default/hidden.png
Binary files differ
diff --git a/Base/res/cursor-themes/Default/i-beam.png b/Base/res/cursor-themes/Default/i-beam.png
new file mode 100644
index 0000000000..a0b420d97d
--- /dev/null
+++ b/Base/res/cursor-themes/Default/i-beam.png
Binary files differ
diff --git a/Base/res/cursor-themes/Default/move-2x.png b/Base/res/cursor-themes/Default/move-2x.png
new file mode 100644
index 0000000000..867ad89ff1
--- /dev/null
+++ b/Base/res/cursor-themes/Default/move-2x.png
Binary files differ
diff --git a/Base/res/cursor-themes/Default/move.png b/Base/res/cursor-themes/Default/move.png
new file mode 100644
index 0000000000..68c8f7c694
--- /dev/null
+++ b/Base/res/cursor-themes/Default/move.png
Binary files differ
diff --git a/Base/res/cursor-themes/Default/resize-column-2x.png b/Base/res/cursor-themes/Default/resize-column-2x.png
new file mode 100644
index 0000000000..96b2f3ccb3
--- /dev/null
+++ b/Base/res/cursor-themes/Default/resize-column-2x.png
Binary files differ
diff --git a/Base/res/cursor-themes/Default/resize-column.png b/Base/res/cursor-themes/Default/resize-column.png
new file mode 100644
index 0000000000..6316a07893
--- /dev/null
+++ b/Base/res/cursor-themes/Default/resize-column.png
Binary files differ
diff --git a/Base/res/cursor-themes/Default/resize-diagonal-bltr-2x.png b/Base/res/cursor-themes/Default/resize-diagonal-bltr-2x.png
new file mode 100644
index 0000000000..977a92bb7e
--- /dev/null
+++ b/Base/res/cursor-themes/Default/resize-diagonal-bltr-2x.png
Binary files differ
diff --git a/Base/res/cursor-themes/Default/resize-diagonal-bltr.png b/Base/res/cursor-themes/Default/resize-diagonal-bltr.png
new file mode 100644
index 0000000000..9a6fc76681
--- /dev/null
+++ b/Base/res/cursor-themes/Default/resize-diagonal-bltr.png
Binary files differ
diff --git a/Base/res/cursor-themes/Default/resize-diagonal-tlbr-2x.png b/Base/res/cursor-themes/Default/resize-diagonal-tlbr-2x.png
new file mode 100644
index 0000000000..06eebf8ca4
--- /dev/null
+++ b/Base/res/cursor-themes/Default/resize-diagonal-tlbr-2x.png
Binary files differ
diff --git a/Base/res/cursor-themes/Default/resize-diagonal-tlbr.png b/Base/res/cursor-themes/Default/resize-diagonal-tlbr.png
new file mode 100644
index 0000000000..2c51df5bfb
--- /dev/null
+++ b/Base/res/cursor-themes/Default/resize-diagonal-tlbr.png
Binary files differ
diff --git a/Base/res/cursor-themes/Default/resize-horizontal-2x.png b/Base/res/cursor-themes/Default/resize-horizontal-2x.png
new file mode 100644
index 0000000000..39df590736
--- /dev/null
+++ b/Base/res/cursor-themes/Default/resize-horizontal-2x.png
Binary files differ
diff --git a/Base/res/cursor-themes/Default/resize-horizontal.png b/Base/res/cursor-themes/Default/resize-horizontal.png
new file mode 100644
index 0000000000..e6b714f736
--- /dev/null
+++ b/Base/res/cursor-themes/Default/resize-horizontal.png
Binary files differ
diff --git a/Base/res/cursor-themes/Default/resize-row-2x.png b/Base/res/cursor-themes/Default/resize-row-2x.png
new file mode 100644
index 0000000000..0fa4c2ece9
--- /dev/null
+++ b/Base/res/cursor-themes/Default/resize-row-2x.png
Binary files differ
diff --git a/Base/res/cursor-themes/Default/resize-row.png b/Base/res/cursor-themes/Default/resize-row.png
new file mode 100644
index 0000000000..e73b9c62a0
--- /dev/null
+++ b/Base/res/cursor-themes/Default/resize-row.png
Binary files differ
diff --git a/Base/res/cursor-themes/Default/resize-vertical-2x.png b/Base/res/cursor-themes/Default/resize-vertical-2x.png
new file mode 100644
index 0000000000..2867f30404
--- /dev/null
+++ b/Base/res/cursor-themes/Default/resize-vertical-2x.png
Binary files differ
diff --git a/Base/res/cursor-themes/Default/resize-vertical.png b/Base/res/cursor-themes/Default/resize-vertical.png
new file mode 100644
index 0000000000..a0b493ce8c
--- /dev/null
+++ b/Base/res/cursor-themes/Default/resize-vertical.png
Binary files differ
diff --git a/Base/res/cursor-themes/Default/wait.f14t100.png b/Base/res/cursor-themes/Default/wait.f14t100.png
new file mode 100644
index 0000000000..00e29b9959
--- /dev/null
+++ b/Base/res/cursor-themes/Default/wait.f14t100.png
Binary files differ