diff options
author | Andreas Kling <kling@serenityos.org> | 2021-05-18 22:06:32 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-05-20 00:03:30 +0200 |
commit | 83f43b6464ef16d0d4c6a8d6d0c3d227d2eca5c8 (patch) | |
tree | 0669e8bad6ae25f5918fbc2ec49d539d4fd0e446 | |
parent | a57f152ec74750142d07e8dc804f3f3f6c925710 (diff) | |
download | serenity-83f43b6464ef16d0d4c6a8d6d0c3d227d2eca5c8.zip |
DisplaySettings: Replace the monitor image with something more thematic
This is a drawing of my own monitor in a familiar style. :^)
-rw-r--r-- | Base/res/graphics/monitor.png | bin | 1282 -> 916 bytes | |||
-rw-r--r-- | Userland/Applications/DisplaySettings/DisplaySettingsWindow.gml | 2 | ||||
-rw-r--r-- | Userland/Applications/DisplaySettings/MonitorWidget.cpp | 3 |
3 files changed, 2 insertions, 3 deletions
diff --git a/Base/res/graphics/monitor.png b/Base/res/graphics/monitor.png Binary files differindex f9cf1cef68..0d8c3c6a40 100644 --- a/Base/res/graphics/monitor.png +++ b/Base/res/graphics/monitor.png diff --git a/Userland/Applications/DisplaySettings/DisplaySettingsWindow.gml b/Userland/Applications/DisplaySettings/DisplaySettingsWindow.gml index da5d399bd4..d80a2df9cd 100644 --- a/Userland/Applications/DisplaySettings/DisplaySettingsWindow.gml +++ b/Userland/Applications/DisplaySettings/DisplaySettingsWindow.gml @@ -7,8 +7,6 @@ @DisplaySettings::MonitorWidget { name: "monitor_widget" - fixed_width: 338 - fixed_height: 248 } @GUI::Widget { diff --git a/Userland/Applications/DisplaySettings/MonitorWidget.cpp b/Userland/Applications/DisplaySettings/MonitorWidget.cpp index 3ba1c89ff9..9111bf9b8f 100644 --- a/Userland/Applications/DisplaySettings/MonitorWidget.cpp +++ b/Userland/Applications/DisplaySettings/MonitorWidget.cpp @@ -14,7 +14,8 @@ namespace DisplaySettings { MonitorWidget::MonitorWidget() { m_monitor_bitmap = Gfx::Bitmap::load_from_file("/res/graphics/monitor.png"); - m_monitor_rect = { 8, 9, 320, 180 }; + m_monitor_rect = { 12, 13, 280, 158 }; + set_fixed_size(304, 201); } bool MonitorWidget::set_wallpaper(String path) |