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.
17
Base/res/cursor-themes/Default/Config.ini
Normal file
|
@ -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
|
BIN
Base/res/cursor-themes/Default/arrow.x2y2-2x.png
Normal file
After Width: | Height: | Size: 8.2 KiB |
BIN
Base/res/cursor-themes/Default/arrow.x2y2.png
Normal file
After Width: | Height: | Size: 415 B |
BIN
Base/res/cursor-themes/Default/crosshair-2x.png
Normal file
After Width: | Height: | Size: 6.5 KiB |
BIN
Base/res/cursor-themes/Default/crosshair.png
Normal file
After Width: | Height: | Size: 6.4 KiB |
BIN
Base/res/cursor-themes/Default/disallowed.png
Normal file
After Width: | Height: | Size: 500 B |
BIN
Base/res/cursor-themes/Default/drag.png
Normal file
After Width: | Height: | Size: 205 B |
BIN
Base/res/cursor-themes/Default/hand.x8y4.png
Normal file
After Width: | Height: | Size: 241 B |
BIN
Base/res/cursor-themes/Default/help.x1y1.png
Normal file
After Width: | Height: | Size: 3.8 KiB |
BIN
Base/res/cursor-themes/Default/hidden.png
Normal file
After Width: | Height: | Size: 128 B |
BIN
Base/res/cursor-themes/Default/i-beam.png
Normal file
After Width: | Height: | Size: 3 KiB |
BIN
Base/res/cursor-themes/Default/move-2x.png
Normal file
After Width: | Height: | Size: 10 KiB |
BIN
Base/res/cursor-themes/Default/move.png
Normal file
After Width: | Height: | Size: 711 B |
BIN
Base/res/cursor-themes/Default/resize-column-2x.png
Normal file
After Width: | Height: | Size: 8.7 KiB |
BIN
Base/res/cursor-themes/Default/resize-column.png
Normal file
After Width: | Height: | Size: 5.6 KiB |
BIN
Base/res/cursor-themes/Default/resize-diagonal-bltr-2x.png
Normal file
After Width: | Height: | Size: 9.1 KiB |
BIN
Base/res/cursor-themes/Default/resize-diagonal-bltr.png
Normal file
After Width: | Height: | Size: 463 B |
BIN
Base/res/cursor-themes/Default/resize-diagonal-tlbr-2x.png
Normal file
After Width: | Height: | Size: 9.1 KiB |
BIN
Base/res/cursor-themes/Default/resize-diagonal-tlbr.png
Normal file
After Width: | Height: | Size: 456 B |
BIN
Base/res/cursor-themes/Default/resize-horizontal-2x.png
Normal file
After Width: | Height: | Size: 8.8 KiB |
BIN
Base/res/cursor-themes/Default/resize-horizontal.png
Normal file
After Width: | Height: | Size: 7.3 KiB |
BIN
Base/res/cursor-themes/Default/resize-row-2x.png
Normal file
After Width: | Height: | Size: 8.5 KiB |
BIN
Base/res/cursor-themes/Default/resize-row.png
Normal file
After Width: | Height: | Size: 4 KiB |
BIN
Base/res/cursor-themes/Default/resize-vertical-2x.png
Normal file
After Width: | Height: | Size: 8.5 KiB |
BIN
Base/res/cursor-themes/Default/resize-vertical.png
Normal file
After Width: | Height: | Size: 7.3 KiB |
BIN
Base/res/cursor-themes/Default/wait.f14t100.png
Normal file
After Width: | Height: | Size: 2.7 KiB |