mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 09:27:35 +00:00
DisplaySettings: Show display's manufacturer and size instead of device
Rather than displaying the path of the framebuffer, try and display the manufacturer name and the size of the display. If no EDID data is available, fall back to showing the device path.
This commit is contained in:
parent
869c20b05d
commit
6565ec59fa
3 changed files with 41 additions and 12 deletions
|
@ -8,6 +8,7 @@
|
|||
|
||||
#include "MonitorWidget.h"
|
||||
#include <LibCore/Timer.h>
|
||||
#include <LibEDID/EDID.h>
|
||||
#include <LibGUI/ColorInput.h>
|
||||
#include <LibGUI/ComboBox.h>
|
||||
#include <LibGUI/RadioButton.h>
|
||||
|
@ -45,6 +46,7 @@ private:
|
|||
|
||||
WindowServer::ScreenLayout m_screen_layout;
|
||||
Vector<String> m_screens;
|
||||
Vector<Optional<EDID::Parser>> m_screen_edids;
|
||||
Vector<Gfx::IntSize> m_resolutions;
|
||||
|
||||
RefPtr<DisplaySettings::MonitorWidget> m_monitor_widget;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue