diff options
author | Maciej Zygmanowski <sppmacd@pm.me> | 2021-08-01 17:22:44 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-08-23 01:41:53 +0200 |
commit | 040a723f1f75de0220abffa5aff085d3d2a45cd2 (patch) | |
tree | f8111dc2a281212898c6f2fc44091e36105b562a /Base/res/cursor-themes/Default | |
parent | 7d579b04c511e7333ddbf72da16bd347a3886854 (diff) | |
download | serenity-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')
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 Binary files differnew file mode 100644 index 0000000000..1874fee0c9 --- /dev/null +++ b/Base/res/cursor-themes/Default/arrow.x2y2-2x.png diff --git a/Base/res/cursor-themes/Default/arrow.x2y2.png b/Base/res/cursor-themes/Default/arrow.x2y2.png Binary files differnew file mode 100644 index 0000000000..8e124cc583 --- /dev/null +++ b/Base/res/cursor-themes/Default/arrow.x2y2.png diff --git a/Base/res/cursor-themes/Default/crosshair-2x.png b/Base/res/cursor-themes/Default/crosshair-2x.png Binary files differnew file mode 100644 index 0000000000..f1abec7a34 --- /dev/null +++ b/Base/res/cursor-themes/Default/crosshair-2x.png diff --git a/Base/res/cursor-themes/Default/crosshair.png b/Base/res/cursor-themes/Default/crosshair.png Binary files differnew file mode 100644 index 0000000000..7f1d12a4c9 --- /dev/null +++ b/Base/res/cursor-themes/Default/crosshair.png diff --git a/Base/res/cursor-themes/Default/disallowed.png b/Base/res/cursor-themes/Default/disallowed.png Binary files differnew file mode 100644 index 0000000000..5d7d5f26cd --- /dev/null +++ b/Base/res/cursor-themes/Default/disallowed.png diff --git a/Base/res/cursor-themes/Default/drag.png b/Base/res/cursor-themes/Default/drag.png Binary files differnew file mode 100644 index 0000000000..b89032b473 --- /dev/null +++ b/Base/res/cursor-themes/Default/drag.png diff --git a/Base/res/cursor-themes/Default/hand.x8y4.png b/Base/res/cursor-themes/Default/hand.x8y4.png Binary files differnew file mode 100644 index 0000000000..924386ef67 --- /dev/null +++ b/Base/res/cursor-themes/Default/hand.x8y4.png diff --git a/Base/res/cursor-themes/Default/help.x1y1.png b/Base/res/cursor-themes/Default/help.x1y1.png Binary files differnew file mode 100644 index 0000000000..c14c29d453 --- /dev/null +++ b/Base/res/cursor-themes/Default/help.x1y1.png diff --git a/Base/res/cursor-themes/Default/hidden.png b/Base/res/cursor-themes/Default/hidden.png Binary files differnew file mode 100644 index 0000000000..96382d8740 --- /dev/null +++ b/Base/res/cursor-themes/Default/hidden.png diff --git a/Base/res/cursor-themes/Default/i-beam.png b/Base/res/cursor-themes/Default/i-beam.png Binary files differnew file mode 100644 index 0000000000..a0b420d97d --- /dev/null +++ b/Base/res/cursor-themes/Default/i-beam.png diff --git a/Base/res/cursor-themes/Default/move-2x.png b/Base/res/cursor-themes/Default/move-2x.png Binary files differnew file mode 100644 index 0000000000..867ad89ff1 --- /dev/null +++ b/Base/res/cursor-themes/Default/move-2x.png diff --git a/Base/res/cursor-themes/Default/move.png b/Base/res/cursor-themes/Default/move.png Binary files differnew file mode 100644 index 0000000000..68c8f7c694 --- /dev/null +++ b/Base/res/cursor-themes/Default/move.png diff --git a/Base/res/cursor-themes/Default/resize-column-2x.png b/Base/res/cursor-themes/Default/resize-column-2x.png Binary files differnew file mode 100644 index 0000000000..96b2f3ccb3 --- /dev/null +++ b/Base/res/cursor-themes/Default/resize-column-2x.png diff --git a/Base/res/cursor-themes/Default/resize-column.png b/Base/res/cursor-themes/Default/resize-column.png Binary files differnew file mode 100644 index 0000000000..6316a07893 --- /dev/null +++ b/Base/res/cursor-themes/Default/resize-column.png diff --git a/Base/res/cursor-themes/Default/resize-diagonal-bltr-2x.png b/Base/res/cursor-themes/Default/resize-diagonal-bltr-2x.png Binary files differnew file mode 100644 index 0000000000..977a92bb7e --- /dev/null +++ b/Base/res/cursor-themes/Default/resize-diagonal-bltr-2x.png diff --git a/Base/res/cursor-themes/Default/resize-diagonal-bltr.png b/Base/res/cursor-themes/Default/resize-diagonal-bltr.png Binary files differnew file mode 100644 index 0000000000..9a6fc76681 --- /dev/null +++ b/Base/res/cursor-themes/Default/resize-diagonal-bltr.png diff --git a/Base/res/cursor-themes/Default/resize-diagonal-tlbr-2x.png b/Base/res/cursor-themes/Default/resize-diagonal-tlbr-2x.png Binary files differnew file mode 100644 index 0000000000..06eebf8ca4 --- /dev/null +++ b/Base/res/cursor-themes/Default/resize-diagonal-tlbr-2x.png diff --git a/Base/res/cursor-themes/Default/resize-diagonal-tlbr.png b/Base/res/cursor-themes/Default/resize-diagonal-tlbr.png Binary files differnew file mode 100644 index 0000000000..2c51df5bfb --- /dev/null +++ b/Base/res/cursor-themes/Default/resize-diagonal-tlbr.png diff --git a/Base/res/cursor-themes/Default/resize-horizontal-2x.png b/Base/res/cursor-themes/Default/resize-horizontal-2x.png Binary files differnew file mode 100644 index 0000000000..39df590736 --- /dev/null +++ b/Base/res/cursor-themes/Default/resize-horizontal-2x.png diff --git a/Base/res/cursor-themes/Default/resize-horizontal.png b/Base/res/cursor-themes/Default/resize-horizontal.png Binary files differnew file mode 100644 index 0000000000..e6b714f736 --- /dev/null +++ b/Base/res/cursor-themes/Default/resize-horizontal.png diff --git a/Base/res/cursor-themes/Default/resize-row-2x.png b/Base/res/cursor-themes/Default/resize-row-2x.png Binary files differnew file mode 100644 index 0000000000..0fa4c2ece9 --- /dev/null +++ b/Base/res/cursor-themes/Default/resize-row-2x.png diff --git a/Base/res/cursor-themes/Default/resize-row.png b/Base/res/cursor-themes/Default/resize-row.png Binary files differnew file mode 100644 index 0000000000..e73b9c62a0 --- /dev/null +++ b/Base/res/cursor-themes/Default/resize-row.png diff --git a/Base/res/cursor-themes/Default/resize-vertical-2x.png b/Base/res/cursor-themes/Default/resize-vertical-2x.png Binary files differnew file mode 100644 index 0000000000..2867f30404 --- /dev/null +++ b/Base/res/cursor-themes/Default/resize-vertical-2x.png diff --git a/Base/res/cursor-themes/Default/resize-vertical.png b/Base/res/cursor-themes/Default/resize-vertical.png Binary files differnew file mode 100644 index 0000000000..a0b493ce8c --- /dev/null +++ b/Base/res/cursor-themes/Default/resize-vertical.png diff --git a/Base/res/cursor-themes/Default/wait.f14t100.png b/Base/res/cursor-themes/Default/wait.f14t100.png Binary files differnew file mode 100644 index 0000000000..00e29b9959 --- /dev/null +++ b/Base/res/cursor-themes/Default/wait.f14t100.png |