diff options
author | Weblate <noreply@weblate.org> | 2016-12-14 21:54:31 +0000 |
---|---|---|
committer | Weblate <noreply@weblate.org> | 2016-12-14 21:54:31 +0000 |
commit | b965af1625a4296f8ff6d3a1663cae23b73d334f (patch) | |
tree | 459685dd1da8c75f67772762aa062d80dfc148f0 /src-qt5/core/libLumina/LuminaRandR.h | |
parent | Translated using Weblate (lumina_DESKTOP@fr (generated)) (diff) | |
parent | Merge branch 'master' of github.com:trueos/lumina (diff) | |
download | lumina-b965af1625a4296f8ff6d3a1663cae23b73d334f.tar.gz lumina-b965af1625a4296f8ff6d3a1663cae23b73d334f.tar.bz2 lumina-b965af1625a4296f8ff6d3a1663cae23b73d334f.zip |
Merge branch 'master' of github.com:trueos/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 +}; |