summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-05-18 22:06:32 +0200
committerAndreas Kling <kling@serenityos.org>2021-05-20 00:03:30 +0200
commit83f43b6464ef16d0d4c6a8d6d0c3d227d2eca5c8 (patch)
tree0669e8bad6ae25f5918fbc2ec49d539d4fd0e446
parenta57f152ec74750142d07e8dc804f3f3f6c925710 (diff)
downloadserenity-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.pngbin1282 -> 916 bytes
-rw-r--r--Userland/Applications/DisplaySettings/DisplaySettingsWindow.gml2
-rw-r--r--Userland/Applications/DisplaySettings/MonitorWidget.cpp3
3 files changed, 2 insertions, 3 deletions
diff --git a/Base/res/graphics/monitor.png b/Base/res/graphics/monitor.png
index f9cf1cef68..0d8c3c6a40 100644
--- a/Base/res/graphics/monitor.png
+++ b/Base/res/graphics/monitor.png
Binary files differ
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)