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

Meta+Userland: Pass Gfx::IntSize by value

Just two ints like Gfx::IntPoint.
This commit is contained in:
MacDue 2022-12-06 21:35:32 +00:00 committed by Andreas Kling
parent e011eafd37
commit 27fae78335
63 changed files with 142 additions and 142 deletions

View file

@ -85,7 +85,7 @@ public:
const StringView color_scheme_name() const { return m_color_scheme_name; }
Function<void(StringView)> on_title_change;
Function<void(Gfx::IntSize const&)> on_terminal_size_change;
Function<void(Gfx::IntSize)> on_terminal_size_change;
Function<void()> on_command_exit;
GUI::Menu& context_menu() { return *m_context_menu; }
@ -148,7 +148,7 @@ private:
void update_cursor();
void invalidate_cursor();
void relayout(Gfx::IntSize const&);
void relayout(Gfx::IntSize);
void update_copy_action();
void update_paste_action();