LibGUI: Add GWindow::move_to().

This commit is contained in:
Andreas Kling 2019-02-11 06:09:54 +01:00
commit 1511afc4e2
Notes: sideshowbarker 2024-07-19 15:47:52 +09:00
2 changed files with 5 additions and 0 deletions

View file

@ -32,6 +32,9 @@ public:
Point position() const { return rect().location(); }
void move_to(int x, int y) { move_to({ x, y }); }
void move_to(const Point& point) { set_rect({ point, size() }); }
virtual void event(GEvent&) override;
bool is_visible() const;