mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-01 03:57:15 +02:00
PixelPaint: Support using a bitmap as a tool's cursor
This commit is contained in:
committed by
Andreas Kling
parent
116bb4888f
commit
0f24678eaf
Notes:
sideshowbarker
2024-07-18 01:42:04 +09:00
Author: https://github.com/mrkct Commit: https://github.com/SerenityOS/serenity/commit/0f24678eafe Pull-request: https://github.com/SerenityOS/serenity/pull/10381 Reviewed-by: https://github.com/BenWiederhake ✅ Reviewed-by: https://github.com/TobyAsE Reviewed-by: https://github.com/awesomekling Reviewed-by: https://github.com/kleinesfilmroellchen
@@ -26,7 +26,7 @@ public:
|
||||
virtual void on_keyup(GUI::KeyEvent&) override;
|
||||
virtual void on_second_paint(Layer const*, GUI::PaintEvent&) override;
|
||||
virtual GUI::Widget* get_properties_widget() override;
|
||||
virtual Gfx::StandardCursor cursor() override { return Gfx::StandardCursor::Crosshair; }
|
||||
virtual Variant<Gfx::StandardCursor, NonnullRefPtr<Gfx::Bitmap>> cursor() override { return Gfx::StandardCursor::Crosshair; }
|
||||
|
||||
private:
|
||||
enum class MovingMode {
|
||||
|
||||
Reference in New Issue
Block a user