mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-14 15:13:07 +00:00
LibGUI: Use GUI::Window::set_main_widget<WidgetType>() in clients
This commit is contained in:
parent
4697195645
commit
0f3e57a6fb
Notes:
sideshowbarker
2024-07-19 08:54:48 +09:00
Author: https://github.com/awesomekling
Commit: 0f3e57a6fb
37 changed files with 203 additions and 246 deletions
|
@ -48,9 +48,7 @@ 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();
|
||||
m_documentation_tooltip_window->set_main_widget(m_documentation_html_view);
|
||||
m_documentation_html_view = m_documentation_tooltip_window->set_main_widget<HtmlView>();
|
||||
}
|
||||
|
||||
Editor::~Editor()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue