diff options
author | Ken Moore <ken@ixsystems.com> | 2016-10-27 08:26:22 -0400 |
---|---|---|
committer | Ken Moore <ken@ixsystems.com> | 2016-10-27 08:26:22 -0400 |
commit | f29b8dadbf51ed7eac584f524f3bf05a6a66de16 (patch) | |
tree | 48e3e7675c7d0af1326ef6c79a8d0379d223e0b2 /src-qt5/core/libLumina/LuminaRandR.h | |
parent | Add PulseAudio support into the FreeBSD backend if a PICO session is detected. (diff) | |
download | lumina-f29b8dadbf51ed7eac584f524f3bf05a6a66de16.tar.gz lumina-f29b8dadbf51ed7eac584f524f3bf05a6a66de16.tar.bz2 lumina-f29b8dadbf51ed7eac584f524f3bf05a6a66de16.zip |
Add the beginnings of the new RandR xcb backend to Lumina
Diffstat (limited to 'src-qt5/core/libLumina/LuminaRandR.h')
-rw-r--r-- | src-qt5/core/libLumina/LuminaRandR.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/src-qt5/core/libLumina/LuminaRandR.h b/src-qt5/core/libLumina/LuminaRandR.h new file mode 100644 index 00000000..3cdff651 --- /dev/null +++ b/src-qt5/core/libLumina/LuminaRandR.h @@ -0,0 +1,35 @@ +//=========================================== +// Lumina-DE source code +// Copyright (c) 2016, Ken Moore +// Available under the 3-clause BSD license +// See the LICENSE file for full details +//=========================================== +// This class governs all the xcb/randr interactions +// and provides simpler Qt-based functions for use elsewhere +//=========================================== + +//Qt includes +#include <QSize> + +#include "xcb/randr.h" + +class outputDevice{ +public: + QString id; //output ID + bool enabled; + //Monitor Geometry + QPoint geom; //geometry of monitor within session + //Monitor Resolution + QSize cRes; //current resolution of the monitor (could be different from geom.size() if panning is enabled) + QList<QSize> availRes; //available resolutions supported by the monitor + //Refresh Rate + int cHz; //current refresh rate + QList<int> availHz; //available refresh rates + //Expand this later to include: + // panning (current/possible) + // rotation (current/possible) + + //FUNCTIONS + + //Modification +}; |