mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-09 17:44:56 +09: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
|
@ -43,14 +43,13 @@
|
|||
|
||||
//#define EDITOR_DEBUG
|
||||
|
||||
Editor::Editor(GUI::Widget* parent)
|
||||
: TextEditor(GUI::TextEditor::MultiLine, parent)
|
||||
Editor::Editor()
|
||||
{
|
||||
m_documentation_tooltip_window = GUI::Window::construct();
|
||||
m_documentation_tooltip_window->set_rect(0, 0, 500, 400);
|
||||
m_documentation_tooltip_window->set_window_type(GUI::WindowType::Tooltip);
|
||||
|
||||
m_documentation_html_view = HtmlView::construct(nullptr);
|
||||
m_documentation_html_view = HtmlView::construct();
|
||||
m_documentation_tooltip_window->set_main_widget(m_documentation_html_view);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue