mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 01:07:36 +00:00
PixelPaint: Remove context menu for SprayTool
Remove the context menu for SprayTool and just use the tool properties widget for options.
This commit is contained in:
parent
b257d8d284
commit
15e9d0b4d8
2 changed files with 0 additions and 24 deletions
|
@ -21,7 +21,6 @@ public:
|
|||
virtual void on_mousedown(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_mousemove(Layer&, GUI::MouseEvent& layer_event, GUI::MouseEvent& image_event) override;
|
||||
virtual void on_tool_button_contextmenu(GUI::ContextMenuEvent&) override;
|
||||
virtual GUI::Widget* get_properties_widget() override;
|
||||
|
||||
private:
|
||||
|
@ -31,8 +30,6 @@ private:
|
|||
RefPtr<Core::Timer> m_timer;
|
||||
Gfx::IntPoint m_last_pos;
|
||||
Color m_color;
|
||||
RefPtr<GUI::Menu> m_context_menu;
|
||||
GUI::ActionGroup m_thickness_actions;
|
||||
int m_thickness { 10 };
|
||||
int m_density { 40 };
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue