mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 12:17:35 +00:00
PixelPaint: Tool properties panel
Each tool can have its own set of properties that can be modified through a panel on the right side. The tools I've added properties for are: Pen: Thickness Brush: Size Hardness Spray: Thickness Density Bucket: Threshold
This commit is contained in:
parent
544f2f3c96
commit
afd52e2576
13 changed files with 324 additions and 12 deletions
|
@ -48,6 +48,7 @@ public:
|
|||
virtual void on_second_paint(const Layer&, GUI::PaintEvent&) { }
|
||||
virtual void on_keydown(GUI::KeyEvent&) { }
|
||||
virtual void on_keyup(GUI::KeyEvent&) { }
|
||||
virtual GUI::Widget* get_properties_widget() { return nullptr; }
|
||||
|
||||
virtual bool is_move_tool() const { return false; }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue