Przeglądaj źródła

PixelPaint: Use Zoom and Eyedropper cursors

Use the newly added cursors for ZoomTool and PickerTool
Mustafa Quraish 3 lat temu
rodzic
commit
92df9d464a

+ 1 - 1
Userland/Applications/PixelPaint/PickerTool.h

@@ -16,7 +16,7 @@ public:
     virtual ~PickerTool() override;
     virtual ~PickerTool() override;
 
 
     virtual void on_mousedown(Layer*, MouseEvent&) 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; }
 };
 };
 
 
 }
 }

+ 1 - 0
Userland/Applications/PixelPaint/ZoomTool.h

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