mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-02 04:20:28 +00:00
LibWeb: Make PaintableBox private members private
These are all `m_` prefixed and only used by PaintableBox itself.
This commit is contained in:
parent
032646b6c3
commit
01a3f72d39
Notes:
sideshowbarker
2024-07-17 11:34:34 +09:00
Author: https://github.com/AtkinsSJ Commit: https://github.com/SerenityOS/serenity/commit/01a3f72d39 Pull-request: https://github.com/SerenityOS/serenity/pull/14627 Reviewed-by: https://github.com/FireFox317 Reviewed-by: https://github.com/linusg ✅
1 changed files with 8 additions and 7 deletions
|
@ -30,13 +30,6 @@ public:
|
|||
Gfx::FloatRect scrollable_overflow_rect;
|
||||
Gfx::FloatPoint scroll_offset;
|
||||
};
|
||||
Optional<OverflowData> m_overflow_data;
|
||||
|
||||
Gfx::FloatPoint m_offset;
|
||||
Gfx::FloatSize m_content_size;
|
||||
|
||||
// Some boxes hang off of line box fragments. (inline-block, inline-table, replaced, etc)
|
||||
Optional<Layout::LineBoxFragmentCoordinate> m_containing_line_box_fragment;
|
||||
|
||||
Gfx::FloatRect absolute_rect() const;
|
||||
Gfx::FloatPoint effective_offset() const;
|
||||
|
@ -133,6 +126,14 @@ protected:
|
|||
Painting::BorderRadiiData normalized_border_radii_data() const;
|
||||
|
||||
private:
|
||||
Optional<OverflowData> m_overflow_data;
|
||||
|
||||
Gfx::FloatPoint m_offset;
|
||||
Gfx::FloatSize m_content_size;
|
||||
|
||||
// Some boxes hang off of line box fragments. (inline-block, inline-table, replaced, etc)
|
||||
Optional<Layout::LineBoxFragmentCoordinate> m_containing_line_box_fragment;
|
||||
|
||||
OwnPtr<Painting::StackingContext> m_stacking_context;
|
||||
|
||||
Optional<Gfx::FloatRect> mutable m_absolute_rect;
|
||||
|
|
Loading…
Reference in a new issue