mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 04:39:06 +00:00
LibGUI: Widget updates should invalidate their window-relative rect.
This commit is contained in:
parent
6a3ff7efc5
commit
5bd363c4bb
Notes:
sideshowbarker
2024-07-19 15:48:51 +09:00
Author: https://github.com/awesomekling
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