LibGfx: Add ImageCursor type and Cursor variant

Besides standard cursors, we also need to support custom images. For
now, everything still uses StandardCursor.
This commit is contained in:
Sam Atkins 2025-02-17 15:49:05 +00:00 committed by Andreas Kling
commit 1990b2fc52
Notes: github-actions[bot] 2025-02-28 12:52:16 +00:00
8 changed files with 104 additions and 39 deletions

View file

@ -16,13 +16,13 @@
#include <AK/Weakable.h>
#include <LibGC/Heap.h>
#include <LibGC/Root.h>
#include <LibGfx/Cursor.h>
#include <LibGfx/Forward.h>
#include <LibGfx/Palette.h>
#include <LibGfx/Point.h>
#include <LibGfx/Rect.h>
#include <LibGfx/ShareableBitmap.h>
#include <LibGfx/Size.h>
#include <LibGfx/StandardCursor.h>
#include <LibIPC/Forward.h>
#include <LibURL/URL.h>
#include <LibWeb/CSS/PreferredColorScheme.h>