mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 18:47:34 +00:00
Meta+Userland: Pass Gfx::IntSize by value
Just two ints like Gfx::IntPoint.
This commit is contained in:
parent
e011eafd37
commit
27fae78335
63 changed files with 142 additions and 142 deletions
|
@ -253,7 +253,7 @@ public:
|
|||
|
||||
void move_to(Gfx::IntPoint point) { set_relative_rect({ point, relative_rect().size() }); }
|
||||
void move_to(int x, int y) { move_to({ x, y }); }
|
||||
void resize(Gfx::IntSize const& size) { set_relative_rect({ relative_rect().location(), size }); }
|
||||
void resize(Gfx::IntSize size) { set_relative_rect({ relative_rect().location(), size }); }
|
||||
void resize(int width, int height) { resize({ width, height }); }
|
||||
|
||||
void move_by(int x, int y) { move_by({ x, y }); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue