1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 05:48:12 +00:00

LibGfx: Unpublish Gfx::Size from the global namespace

This commit is contained in:
Andreas Kling 2020-02-06 13:32:14 +01:00
parent 9b87843af1
commit f8b00aa290
29 changed files with 41 additions and 43 deletions

View file

@ -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);