diff options
author | Nico Weber <thakis@chromium.org> | 2020-10-26 10:16:44 -0400 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-01-15 19:13:46 +0100 |
commit | 699ba84bea7c79abab30547f6ac4e97e8cb363a3 (patch) | |
tree | 95bb0479aebef5f9317363dea76f307cd51ffb27 | |
parent | 56cad36ef259332e603df8494cfaee4f34915beb (diff) | |
download | serenity-699ba84bea7c79abab30547f6ac4e97e8cb363a3.zip |
DisplaySettings: Rename wallpaper setting "scaled" to "stretch"
I want to add a scale factor for picking pixel density, and using
the same terminology for wallpaper handling would be confusing.
-rw-r--r-- | Base/etc/WindowServer/WindowServer.ini | 2 | ||||
-rw-r--r-- | Userland/Applications/DisplaySettings/DisplaySettings.cpp | 2 | ||||
-rw-r--r-- | Userland/Applications/DisplaySettings/MonitorWidget.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/Base/etc/WindowServer/WindowServer.ini b/Base/etc/WindowServer/WindowServer.ini index f1132609a3..f6fb3fd9b1 100644 --- a/Base/etc/WindowServer/WindowServer.ini +++ b/Base/etc/WindowServer/WindowServer.ini @@ -31,7 +31,7 @@ Crosshair=/res/cursors/crosshair.png DoubleClickSpeed=250 [Background] -Mode=scaled +Mode=stretch [Applet] Order=Clock,Network,ClipboardHistory,Audio,CPUGraph,MemoryGraph,UserName diff --git a/Userland/Applications/DisplaySettings/DisplaySettings.cpp b/Userland/Applications/DisplaySettings/DisplaySettings.cpp index ad68ebf827..548ee2f264 100644 --- a/Userland/Applications/DisplaySettings/DisplaySettings.cpp +++ b/Userland/Applications/DisplaySettings/DisplaySettings.cpp @@ -85,7 +85,7 @@ void DisplaySettingsWidget::create_wallpaper_list() m_modes.append("simple"); m_modes.append("tile"); m_modes.append("center"); - m_modes.append("scaled"); + m_modes.append("stretch"); } void DisplaySettingsWidget::create_frame() diff --git a/Userland/Applications/DisplaySettings/MonitorWidget.cpp b/Userland/Applications/DisplaySettings/MonitorWidget.cpp index d6b809d449..e998b1f228 100644 --- a/Userland/Applications/DisplaySettings/MonitorWidget.cpp +++ b/Userland/Applications/DisplaySettings/MonitorWidget.cpp @@ -96,7 +96,7 @@ void MonitorWidget::paint_event(GUI::PaintEvent& event) screen_painter.blit_offset(screen_rect.location(), *m_desktop_wallpaper_bitmap, screen_rect, offset); } else if (m_desktop_wallpaper_mode == "tile") { screen_painter.draw_tiled_bitmap(screen_bitmap->rect(), *m_desktop_wallpaper_bitmap); - } else if (m_desktop_wallpaper_mode == "scaled") { + } else if (m_desktop_wallpaper_mode == "stretch") { screen_painter.draw_scaled_bitmap(screen_bitmap->rect(), *m_desktop_wallpaper_bitmap, m_desktop_wallpaper_bitmap->rect()); } else { ASSERT_NOT_REACHED(); |