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

PixelPaint: Allow ImageEditor event to append info to the statusbar

This provides an event on ImageEditor for other functions to
activate functions when appended_status_info is updated
This commit is contained in:
Cody Hein 2022-12-13 22:22:03 -07:00 committed by Andrew Kaster
parent bf06f49417
commit 29665668b6
4 changed files with 33 additions and 1 deletions

View file

@ -60,6 +60,7 @@ private:
virtual void drop_event(GUI::DropEvent&) override;
void update_window_modified();
void update_status_bar(DeprecatedString appended_text = DeprecatedString::empty());
ProjectLoader m_loader;
@ -107,6 +108,8 @@ private:
RefPtr<GUI::Action> m_layer_via_copy;
RefPtr<GUI::Action> m_layer_via_cut;
Gfx::IntPoint m_last_image_editor_mouse_position;
};
}