mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 22:48:11 +00:00
DisplaySettings: Remove root_widget()
from DisplaySettings
This fixes a weird dependency graph in DisplaySettings. The widget itself (which is described in `gml` now), no longer contains `root_widget()`. The widget itself has been moved into a tabbed pane, to get it ready to add some more features and bring it more up to date with the current UI code.
This commit is contained in:
parent
865f524d5b
commit
ef5e9af6d3
3 changed files with 19 additions and 20 deletions
|
@ -36,8 +36,6 @@ class DisplaySettingsWidget : public GUI::Widget {
|
|||
public:
|
||||
DisplaySettingsWidget();
|
||||
|
||||
GUI::Widget* root_widget() { return m_root_widget; }
|
||||
|
||||
private:
|
||||
void create_frame();
|
||||
void create_wallpaper_list();
|
||||
|
@ -49,7 +47,6 @@ private:
|
|||
Vector<String> m_modes;
|
||||
Vector<Gfx::IntSize> m_resolutions;
|
||||
|
||||
RefPtr<GUI::Widget> m_root_widget;
|
||||
RefPtr<DisplaySettings::MonitorWidget> m_monitor_widget;
|
||||
RefPtr<GUI::ComboBox> m_wallpaper_combo;
|
||||
RefPtr<GUI::ComboBox> m_mode_combo;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue