mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 02:07:35 +00: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
3 changed files with 2 additions and 3 deletions
Binary file not shown.
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 916 B |
|
@ -7,8 +7,6 @@
|
||||||
|
|
||||||
@DisplaySettings::MonitorWidget {
|
@DisplaySettings::MonitorWidget {
|
||||||
name: "monitor_widget"
|
name: "monitor_widget"
|
||||||
fixed_width: 338
|
|
||||||
fixed_height: 248
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@GUI::Widget {
|
@GUI::Widget {
|
||||||
|
|
|
@ -14,7 +14,8 @@ namespace DisplaySettings {
|
||||||
MonitorWidget::MonitorWidget()
|
MonitorWidget::MonitorWidget()
|
||||||
{
|
{
|
||||||
m_monitor_bitmap = Gfx::Bitmap::load_from_file("/res/graphics/monitor.png");
|
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)
|
bool MonitorWidget::set_wallpaper(String path)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue