app_server: Render cursors from vector icons based on the font size.
* Cursor bitmaps are now generated at runtime from vectors embedded in CursorData.cpp (replacing the old bitmaps). There is still a fallback bitmap pointer in case generation fails. All cursors should scale correctly, and hotspots are accounted for. * The Pointer vector in data/artwork/cursors was very slightly tweaked to look better at larger sizes - the white edge at the bottom was made rounder. * The new dynamically-generated cursor looks close to the old one, unless you're zoomed in and comparing them pixel-by-pixel. * The cursor shadow is generated with a gaussian blur to create a similar look to the old shadow, which was created in an image editor. Fixes #13171. Co-authored-by: Augustin Cavalier <[email protected]> Change-Id: Ifa881619354a42bc60d2b5c1d0443e8addf6e0f5 Reviewed-on: https://review.haiku-os.org/c/haiku/+/5200 Reviewed-by: nephele nephele <[email protected]> Reviewed-by: waddlesplash <[email protected]> Tested-by: Commit checker robot <[email protected]>
This commit is contained in:
committed by
waddlesplash
co-authored by
Augustin Cavalier
parent
f2a0f2a3e0
commit
f8e01ad15c
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user