mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 05:17:34 +00:00
LibGfx: Unpublish Gfx::Size from the global namespace
This commit is contained in:
parent
9b87843af1
commit
f8b00aa290
29 changed files with 41 additions and 43 deletions
|
@ -69,7 +69,7 @@ void DisplayPropertiesWidget::create_resolution_list()
|
|||
m_resolutions.append({ 1920, 1080 });
|
||||
m_resolutions.append({ 2560, 1080 });
|
||||
|
||||
Size find_size;
|
||||
Gfx::Size find_size;
|
||||
|
||||
bool okay = false;
|
||||
// Let's attempt to find the current resolution and select it!
|
||||
|
@ -165,7 +165,7 @@ void DisplayPropertiesWidget::create_frame()
|
|||
|
||||
auto resolution_list = GUI::ListView::construct(settings_content);
|
||||
resolution_list->set_background_color(Color::White);
|
||||
resolution_list->set_model(*ItemListModel<Size>::create(m_resolutions));
|
||||
resolution_list->set_model(*ItemListModel<Gfx::Size>::create(m_resolutions));
|
||||
|
||||
auto resolution_model = resolution_list->model();
|
||||
auto find_first_resolution_index = m_resolutions.find_first_index(m_selected_resolution);
|
||||
|
|
|
@ -67,7 +67,7 @@ private:
|
|||
String m_wallpaper_path;
|
||||
RefPtr<Core::ConfigFile> m_wm_config;
|
||||
RefPtr<GUI::Widget> m_root_widget;
|
||||
Vector<Size> m_resolutions;
|
||||
Vector<Gfx::Size> m_resolutions;
|
||||
Vector<String> m_wallpapers;
|
||||
RefPtr<GUI::Label> m_wallpaper_preview;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue