mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-01 15:18:06 +00:00
WebContent: Basic scrolling support! :^)
The WebContentView widget now inherits from GUI::ScrollableWidget and will pass its scroll offset over to the WebContent process as it's changing. This is not super efficient and can get a bit laggy, but it will do fine as an initial scrolling implementation. Just like the single-process Web::PageView widget, WebContentView also paints scrolled content by translating the Gfx::Painter.
This commit is contained in:
parent
ada3c9ca46
commit
e91871aed7
Notes:
sideshowbarker
2024-07-19 05:10:31 +09:00
Author: https://github.com/awesomekling
Commit: e91871aed7
7 changed files with 58 additions and 13 deletions
|
@ -4,4 +4,5 @@ endpoint WebContentClient = 90
|
|||
DidPaint(Gfx::IntRect content_rect, i32 shbuf_id) =|
|
||||
DidInvalidateContentRect(Gfx::IntRect content_rect) =|
|
||||
DidChangeSelection() =|
|
||||
DidLayout(Gfx::IntSize content_size) =|
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue