1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 06:47:35 +00:00

PixelPaint: Convert to east-const style

This commit is contained in:
Andreas Kling 2021-06-11 13:27:47 +02:00
parent 242742b6c2
commit 29e80178a8
23 changed files with 72 additions and 72 deletions

View file

@ -21,7 +21,7 @@ public:
virtual void on_mousemove(Layer&, GUI::MouseEvent& layer_event, GUI::MouseEvent& image_event) override;
virtual void on_mouseup(Layer&, GUI::MouseEvent& layer_event, GUI::MouseEvent& image_event) override;
virtual void on_tool_button_contextmenu(GUI::ContextMenuEvent&) override;
virtual void on_second_paint(const Layer&, GUI::PaintEvent&) override;
virtual void on_second_paint(Layer const&, GUI::PaintEvent&) override;
virtual void on_keydown(GUI::KeyEvent&) override;
private:
@ -31,7 +31,7 @@ private:
Gradient,
};
void draw_using(GUI::Painter&, const Gfx::IntRect&);
void draw_using(GUI::Painter&, Gfx::IntRect const&);
GUI::MouseButton m_drawing_button { GUI::MouseButton::None };
Gfx::IntPoint m_rectangle_start_position;