mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 16:57: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:
parent
bf06f49417
commit
29665668b6
4 changed files with 33 additions and 1 deletions
|
@ -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;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue