LibGfx+Userland: Remove dependency on GUI::TabWidget from StylePainter

Move TabPosition into its own file, and using it into the global
namespace the same way we do for Gfx::Orientation. This unbreaks the gn
build, and out of tree builds.
This commit is contained in:
Andrew Kaster 2023-10-27 14:24:15 -06:00 committed by Andrew Kaster
commit d8ab9ed87c
Notes: sideshowbarker 2024-07-17 11:30:54 +09:00
11 changed files with 38 additions and 24 deletions

View file

@ -76,7 +76,7 @@ DebugInfoWidget::DebugInfoWidget()
auto& splitter = bottom_box.add<GUI::HorizontalSplitter>();
m_backtrace_view = splitter.add<GUI::ListView>();
auto& variables_tab_widget = splitter.add<GUI::TabWidget>();
variables_tab_widget.set_tab_position(GUI::TabWidget::TabPosition::Bottom);
variables_tab_widget.set_tab_position(TabPosition::Bottom);
variables_tab_widget.add_widget(build_variables_tab());
variables_tab_widget.add_widget(build_registers_tab());