mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-17 16:28:06 +03:00
DisplaySettings: Replace the monitor image with something more thematic
This is a drawing of my own monitor in a familiar style. :^)
This commit is contained in:
parent
a57f152ec7
commit
83f43b6464
Notes:
sideshowbarker
2024-07-18 17:44:42 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/83f43b6464e
Binary file not shown.
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 916 B |
@ -7,8 +7,6 @@
|
||||
|
||||
@DisplaySettings::MonitorWidget {
|
||||
name: "monitor_widget"
|
||||
fixed_width: 338
|
||||
fixed_height: 248
|
||||
}
|
||||
|
||||
@GUI::Widget {
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user