mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 23:27:35 +00:00
PixelPaint: Support using a bitmap as a tool's cursor
This commit is contained in:
parent
116bb4888f
commit
0f24678eaf
14 changed files with 16 additions and 14 deletions
|
@ -11,6 +11,7 @@
|
|||
#include "Guide.h"
|
||||
#include "Image.h"
|
||||
#include "Selection.h"
|
||||
#include <AK/Variant.h>
|
||||
#include <LibGUI/Frame.h>
|
||||
#include <LibGUI/UndoStack.h>
|
||||
#include <LibGfx/Point.h>
|
||||
|
@ -163,7 +164,7 @@ private:
|
|||
|
||||
float m_pixel_grid_threshold { 15.0f };
|
||||
|
||||
Gfx::StandardCursor m_active_cursor { Gfx::StandardCursor::None };
|
||||
Variant<Gfx::StandardCursor, NonnullRefPtr<Gfx::Bitmap>> m_active_cursor { Gfx::StandardCursor::None };
|
||||
|
||||
Selection m_selection;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue