mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 14:37:45 +00:00
PixelPaint: Remove context menu for PenTool
Remove the context menu for PenTool and just use the tool properties widget.
This commit is contained in:
parent
e342bef854
commit
cb6e63e579
2 changed files with 0 additions and 24 deletions
|
@ -20,15 +20,12 @@ public:
|
|||
virtual void on_mousedown(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_mouseup(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:
|
||||
Gfx::IntPoint m_last_drawing_event_position { -1, -1 };
|
||||
RefPtr<GUI::Menu> m_context_menu;
|
||||
RefPtr<GUI::Widget> m_properties_widget;
|
||||
int m_thickness { 1 };
|
||||
GUI::ActionGroup m_thickness_actions;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue