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:
parent
01ccbdb017
commit
8df1f6951e
6 changed files with 146 additions and 87 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue