mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-08 12:12:53 +00:00
Userspace: Use Core::Object::add() when building interfaces
This commit is contained in:
parent
7ec758773c
commit
3d20da9ee4
Notes:
sideshowbarker
2024-07-19 09:08:47 +09:00
Author: https://github.com/awesomekling
Commit: 3d20da9ee4
87 changed files with 403 additions and 438 deletions
|
@ -46,9 +46,8 @@
|
|||
#include <LibHTML/ResourceLoader.h>
|
||||
#include <stdio.h>
|
||||
|
||||
HtmlView::HtmlView(GUI::Widget* parent)
|
||||
: GUI::ScrollableWidget(parent)
|
||||
, m_main_frame(::Frame::create(*this))
|
||||
HtmlView::HtmlView()
|
||||
: m_main_frame(::Frame::create(*this))
|
||||
{
|
||||
main_frame().on_set_needs_display = [this](auto& content_rect) {
|
||||
if (content_rect.is_empty()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue