diff options
author | Ken Moore <ken@ixsystems.com> | 2017-06-20 14:02:57 -0400 |
---|---|---|
committer | Ken Moore <ken@ixsystems.com> | 2017-06-20 14:02:57 -0400 |
commit | 5de0c9816f9bd93f13592c6c16e27396a5bcb8ea (patch) | |
tree | cc6dcbb970aec8701712a88b5ee8be12e2d3c82a /src-qt5/core/libLumina/LuminaRandR.h | |
parent | Add a new "formula" icon to the material-design icon themes. (diff) | |
download | lumina-5de0c9816f9bd93f13592c6c16e27396a5bcb8ea.tar.gz lumina-5de0c9816f9bd93f13592c6c16e27396a5bcb8ea.tar.bz2 lumina-5de0c9816f9bd93f13592c6c16e27396a5bcb8ea.zip |
Commit a bit more work on the LuminaRandR class - still not ready yet.
Diffstat (limited to 'src-qt5/core/libLumina/LuminaRandR.h')
-rw-r--r-- | src-qt5/core/libLumina/LuminaRandR.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src-qt5/core/libLumina/LuminaRandR.h b/src-qt5/core/libLumina/LuminaRandR.h index 86c713db..a061a261 100644 --- a/src-qt5/core/libLumina/LuminaRandR.h +++ b/src-qt5/core/libLumina/LuminaRandR.h @@ -38,7 +38,7 @@ struct p_objects{ primary = automatic = false; monitor_atom = 0; }*/ - + }; class OutputDevice{ @@ -61,14 +61,15 @@ public: //Information QString ID(); - + bool isEnabled(); bool isPrimary(); bool isAutomatic(); QList<QSize> availableResolutions(); QSize currentResolution(); //could be different from geometry.size() if things like panning/rotation are enabled QRect currentGeometry(); - + QSize physicalSizeMM(); + //Modification bool setAsPrimary(bool); bool disable(); @@ -78,7 +79,7 @@ public: void updateInfoCache(); //Run this after all modification functions to refresh the current info for this device - //Now define a simple public_objects class so that each implementation + //Now define a simple public_objects class so that each implementation // has a storage container for placing semi-private objects as needed //class p_objects; //forward declaration - defined in the .cpp file p_objects p_obj; @@ -92,7 +93,7 @@ public: //Simplification functions for dealing with multiple monitors void setPrimaryMonitor(QString id); void disableMonitor(QString id); - //void enableMonitor(QString id, + //void enableMonitor(QString id, QRect geom); }; #endif |