1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-28 02:35:09 +00:00

DisplaySettings: Convert the GUI to GML :^)

This commit is contained in:
Andreas Kling 2020-12-30 02:44:03 +01:00
parent 01ccbdb017
commit 8df1f6951e
6 changed files with 146 additions and 87 deletions

View file

@ -26,6 +26,9 @@
#include "MonitorWidget.h"
#include <LibGUI/Painter.h>
#include <LibGfx/Bitmap.h>
namespace DisplaySettings {
MonitorWidget::MonitorWidget()
{
@ -111,3 +114,5 @@ void MonitorWidget::paint_event(GUI::PaintEvent& event)
painter.draw_text(m_monitor_rect, m_desktop_resolution.to_string(), Gfx::TextAlignment::Center, Color::White);
}
}
}