1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 08:37:46 +00:00

PixelPaint: Add ImageEditor::update_tool_cursor() method

This just allows us to ask the image editor to update the tool's
current cursor. This is useful in cases where a tool may want to
change it's cursor for some operation, and wants to invalidate the
active cursor cached in the ImageEditor.
This commit is contained in:
Mustafa Quraish 2021-09-12 16:55:55 -04:00 committed by Andreas Kling
parent 0472063b96
commit 11263beaca
2 changed files with 9 additions and 0 deletions

View file

@ -36,6 +36,7 @@ public:
Tool* active_tool() { return m_active_tool; }
void set_active_tool(Tool*);
void update_tool_cursor();
void did_complete_action();
bool undo();