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/etc | |
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/etc')
-rw-r--r-- | Base/etc/WindowServer.ini | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/Base/etc/WindowServer.ini b/Base/etc/WindowServer.ini index 6e846905e4..8963788f99 100644 --- a/Base/etc/WindowServer.ini +++ b/Base/etc/WindowServer.ini @@ -19,24 +19,7 @@ Name=Default [Mouse] AccelerationFactor=1.0 ScrollStepSize=4 - -[Cursor] -Hidden=/res/cursors/hidden.png -Arrow=/res/cursors/arrow.x2y2.png -ResizeH=/res/cursors/resize-horizontal.png -ResizeV=/res/cursors/resize-vertical.png -ResizeDTLBR=/res/cursors/resize-diagonal-tlbr.png -ResizeDBLTR=/res/cursors/resize-diagonal-bltr.png -ResizeColumn=/res/cursors/resize-column.png -ResizeRow=/res/cursors/resize-row.png -IBeam=/res/cursors/i-beam.png -Disallowed=/res/cursors/disallowed.png -Move=/res/cursors/move.png -Hand=/res/cursors/hand.x8y4.png -Help=/res/cursors/help.x1y1.png -Drag=/res/cursors/drag.png -Wait=/res/cursors/wait.f14t100.png -Crosshair=/res/cursors/crosshair.png +CursorTheme=Default [Graphics] OverlayRectShadow=/res/graphics/overlay-rect-shadow.png |