mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 13:27:35 +00:00
PixelPaint: Draw the current editor selection as marching ants
This patch moves the marching ants painting code to Selection and unifies the timer mechanism so that all marching ants are synchronized which looks neat. :^)
This commit is contained in:
parent
1b897ec561
commit
4cecd79000
5 changed files with 51 additions and 46 deletions
|
@ -20,6 +20,7 @@ namespace PixelPaint {
|
|||
|
||||
ImageEditor::ImageEditor()
|
||||
: m_undo_stack(make<GUI::UndoStack>())
|
||||
, m_selection(*this)
|
||||
{
|
||||
set_focus_policy(GUI::FocusPolicy::StrongFocus);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue