From 7c59be2716b4bb771163a2d3e0b250b4b30d3d3c Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Mon, 13 Feb 2017 16:31:57 -0500 Subject: Another update to the LuminaRandR class - start writing up the non-active device detection routines. --- src-qt5/core/libLumina/LuminaRandR.h | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) (limited to 'src-qt5/core/libLumina/LuminaRandR.h') 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{ +public: + OutputDeviceList(); + ~OutputDeviceList(); + + //Simplification functions for dealing with multiple monitors + void setPrimaryMonitor(QString id); + void disableMonitor(QString id); + //void enableMonitor(QString id, + +private: + +}; #endif -- cgit