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

Put the font test into its own Window.

This commit is contained in:
Andreas Kling 2018-10-12 10:06:50 +02:00
parent 6f6f9bd84d
commit 6637dec958
3 changed files with 20 additions and 10 deletions

View file

@ -24,6 +24,8 @@ public:
virtual void onMouseUp(MouseEvent&);
Rect rect() const { return m_rect; }
Point position() const { return m_rect.location(); }
int x() const { return rect().x(); }
int y() const { return rect().y(); }
int width() const { return rect().width(); }