mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 17:27:35 +00:00
LibWeb: Add pair of methods to apply/reset scroll offset of paintable
Separate scroll application from before_children_paint and after_children_paint.
This commit is contained in:
parent
8eacb81eba
commit
2952f01e84
4 changed files with 9 additions and 4 deletions
|
@ -117,6 +117,9 @@ public:
|
|||
virtual void before_children_paint(PaintContext&, PaintPhase) const { }
|
||||
virtual void after_children_paint(PaintContext&, PaintPhase) const { }
|
||||
|
||||
virtual void apply_scroll_offset(PaintContext&, PaintPhase) const { }
|
||||
virtual void reset_scroll_offset(PaintContext&, PaintPhase) const { }
|
||||
|
||||
virtual void apply_clip_overflow_rect(PaintContext&, PaintPhase) const { }
|
||||
virtual void clear_clip_overflow_rect(PaintContext&, PaintPhase) const { }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue