aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/libLumina/LuminaRandR.h
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2017-02-13 16:31:57 -0500
committerKen Moore <ken@ixsystems.com>2017-02-13 16:31:57 -0500
commit7c59be2716b4bb771163a2d3e0b250b4b30d3d3c (patch)
treef551a40e04f096bef33d223d4d998f300d127175 /src-qt5/core/libLumina/LuminaRandR.h
parentFinish removing all the last remnant of the old X11 mouse config page. (diff)
downloadlumina-7c59be2716b4bb771163a2d3e0b250b4b30d3d3c.tar.gz
lumina-7c59be2716b4bb771163a2d3e0b250b4b30d3d3c.tar.bz2
lumina-7c59be2716b4bb771163a2d3e0b250b4b30d3d3c.zip
Another update to the LuminaRandR class - start writing up the non-active device detection routines.
Diffstat (limited to 'src-qt5/core/libLumina/LuminaRandR.h')
-rw-r--r--src-qt5/core/libLumina/LuminaRandR.h20
1 files changed, 17 insertions, 3 deletions
diff --git a/src-qt5/core/libLumina/LuminaRandR.h b/src-qt5/core/libLumina/LuminaRandR.h
index bf2ba51a..448c676d 100644
--- a/src-qt5/core/libLumina/LuminaRandR.h
+++ b/src-qt5/core/libLumina/LuminaRandR.h
@@ -43,9 +43,10 @@ public:
~OutputDevice();
//Modification
- void setAsPrimary();
- void setEnabled(bool, QRect geom = QRect());
- void setResolution(QSize);
+ bool setAsPrimary();
+ bool disable();
+ void enable(QRect geom = QRect()); //if no geom provided, will add as the right-most screen at optimal resolution
+ void changeResolution(QSize);
//Now define a simple public_objects class so that each implementation
// has a storage container for placing private objects as needed
@@ -53,4 +54,17 @@ public:
p_objects* p_obj;
};
+class OutputDeviceList : public QList<OutputDevice>{
+public:
+ OutputDeviceList();
+ ~OutputDeviceList();
+
+ //Simplification functions for dealing with multiple monitors
+ void setPrimaryMonitor(QString id);
+ void disableMonitor(QString id);
+ //void enableMonitor(QString id,
+
+private:
+
+};
#endif
bgstack15