PixelPaint: Use Zoom and Eyedropper cursors

Use the newly added cursors for ZoomTool and PickerTool
This commit is contained in:
Mustafa Quraish 2021-08-31 22:21:39 -04:00 committed by Andreas Kling
parent 30e91ecff6
commit 92df9d464a
2 changed files with 2 additions and 1 deletions

View file

@ -16,7 +16,7 @@ public:
virtual ~PickerTool() override;
virtual void on_mousedown(Layer*, MouseEvent&) override;
virtual Gfx::StandardCursor cursor() override { return Gfx::StandardCursor::Crosshair; }
virtual Gfx::StandardCursor cursor() override { return Gfx::StandardCursor::Eyedropper; }
};
}

View file

@ -19,6 +19,7 @@ public:
virtual void on_mousedown(Layer*, MouseEvent&) override;
virtual GUI::Widget* get_properties_widget() override;
virtual Gfx::StandardCursor cursor() override { return Gfx::StandardCursor::Zoom; }
private:
RefPtr<GUI::Widget> m_properties_widget;