mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 12:28:12 +00:00
LibGUI: Widget updates should invalidate their window-relative rect.
This commit is contained in:
parent
6a3ff7efc5
commit
5bd363c4bb
2 changed files with 12 additions and 1 deletions
|
@ -31,6 +31,8 @@ public:
|
|||
Rect relative_rect() const { return m_relative_rect; }
|
||||
Point relative_position() const { return m_relative_rect.location(); }
|
||||
|
||||
Rect window_relative_rect() const;
|
||||
|
||||
int x() const { return m_relative_rect.x(); }
|
||||
int y() const { return m_relative_rect.y(); }
|
||||
int width() const { return m_relative_rect.width(); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue