mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 06:47:34 +00:00
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.
This commit is contained in:
parent
7d579b04c5
commit
040a723f1f
30 changed files with 71 additions and 53 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue