Commit graph

8 commits

Author SHA1 Message Date
Karol Kosek 1282ef5d9e Base: Remove an upscaled version of a Hidden cursor
It was the same as the normal Hidden cursor (a transparent image).
2022-09-01 14:27:07 +01:00
Karol Kosek e5674d9666 Base+WindowServer+LibGfx: Add new DragCopy Cursor
The purpose of this cursor is to indicate if a current dragged object
(file, Spreadsheet cell) can be dropped onto a widget.
2022-08-31 17:29:44 +01:00
Karol Kosek 06102ff9af Base: Add 2x version of Drag cursor in Dark theme
Failing to load 2x cursor resulted in using the default arrow cursor
instead of scaling the 1x one.
2022-08-31 17:29:44 +01:00
Maciej 3451673ac8 Base: Add missing HiDPI versions of cursors
Note: The "hidden" cursor must be 2x upscaled because LibGfx would
fail loading HiDPI images with size not divisible by scale.
2022-02-05 23:28:06 +02:00
Mustafa Quraish 30e91ecff6 Cursors: Add new Magnifying glass cursor
There are a few places in the system where this could be useful,
such as PixelPaint and the MandelBrot demo. It seems general enough
that it is probably useful to have it as a system-wide cursor rather
than loading it manually each time.
2021-09-04 03:35:23 +02:00
Mustafa Quraish 30ce1d8562 Cursors: Add new Eyedropper cursor
This can be used immediately in PixelPaint (separate commit), but
I am adding this as a system-wide cursor since it may also be useful
for other applications that want to use it.
2021-09-04 03:35:23 +02:00
Maciej Zygmanowski f2a77f0c2c Base: Add "Dark" cursor theme 2021-08-23 01:41:53 +02:00
Maciej Zygmanowski 040a723f1f 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.
2021-08-23 01:41:53 +02:00