aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/libLumina/LuminaRandR.h
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2017-06-23 08:14:44 -0400
committerKen Moore <ken@ixsystems.com>2017-06-23 08:14:44 -0400
commit930d5388c8c7b354fd172ea70a5739e52938adcd (patch)
tree72f5e4aa18ce55a9ea5c3227cae0942d033ad345 /src-qt5/core/libLumina/LuminaRandR.h
parentMerge branch 'master' of github.com:trueos/lumina (diff)
downloadlumina-930d5388c8c7b354fd172ea70a5739e52938adcd.tar.gz
lumina-930d5388c8c7b354fd172ea70a5739e52938adcd.tar.bz2
lumina-930d5388c8c7b354fd172ea70a5739e52938adcd.zip
A few more changes to LuminaRandR.
Diffstat (limited to 'src-qt5/core/libLumina/LuminaRandR.h')
-rw-r--r--src-qt5/core/libLumina/LuminaRandR.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src-qt5/core/libLumina/LuminaRandR.h b/src-qt5/core/libLumina/LuminaRandR.h
index fa2db63e..18c2ab23 100644
--- a/src-qt5/core/libLumina/LuminaRandR.h
+++ b/src-qt5/core/libLumina/LuminaRandR.h
@@ -74,9 +74,10 @@ public:
//Modification
bool setAsPrimary(bool);
bool disable();
- bool enable(QRect geom = QRect()); //if no geom provided, will add as the right-most screen at optimal resolution
- void changeResolution(QSize);
- void changeGeometry(QRect); //move a currently-enabled screen to another place
+ bool enable(QRect geom); //if empty resolution is supplied (QSize(0,0)) it will use the highest-available resolution
+ bool changeResolution(QSize); //change the resolution (but not position) of a currently-enabled screen
+ bool move(QPoint); //move a currently-enabled screen to another place
+ bool setGeometry(QRect); //move/resize a currently-enabled screen
void updateInfoCache(); //Run this after all modification functions to refresh the current info for this device
bgstack15