aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core-utils/lumina-xconfig/ScreenSettings.h
diff options
context:
space:
mode:
authorWeblate <noreply@weblate.org>2017-08-17 16:02:53 +0000
committerWeblate <noreply@weblate.org>2017-08-17 16:02:53 +0000
commite22937e90e6be7820e11cc9eba47bd0fb1b394e9 (patch)
treebb65904fd9aeee5e6325d12675e10f58cee25b80 /src-qt5/core-utils/lumina-xconfig/ScreenSettings.h
parentTranslated using Weblate (Spanish) (diff)
parentMerge remote-tracking branch 'origin/master' (diff)
downloadlumina-e22937e90e6be7820e11cc9eba47bd0fb1b394e9.tar.gz
lumina-e22937e90e6be7820e11cc9eba47bd0fb1b394e9.tar.bz2
lumina-e22937e90e6be7820e11cc9eba47bd0fb1b394e9.zip
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'src-qt5/core-utils/lumina-xconfig/ScreenSettings.h')
-rw-r--r--src-qt5/core-utils/lumina-xconfig/ScreenSettings.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/src-qt5/core-utils/lumina-xconfig/ScreenSettings.h b/src-qt5/core-utils/lumina-xconfig/ScreenSettings.h
index 5826f804..b1b9cad9 100644
--- a/src-qt5/core-utils/lumina-xconfig/ScreenSettings.h
+++ b/src-qt5/core-utils/lumina-xconfig/ScreenSettings.h
@@ -13,21 +13,24 @@
#include <QStringList>
class ScreenInfo{
- public:
+ public:
QString ID;
QRect geom; //screen geometry
bool isprimary;
bool isactive;
bool isavailable;
- int order; //left to right
+ int applyChange; //[<=0: do nothing, 1: deactivate, 2: activate]
QStringList resList;
+ int rotation; //possible values: [-90, 0, 90, 180]
+
//Initial Defaults
ScreenInfo(){
- order = -1; //initial value is invalid
+ applyChange = -1; //initial value is invalid
isprimary = false;
isactive = false;
isavailable = false;
+ rotation = 0; //no rotation by default
}
~ScreenInfo(){}
};
@@ -42,9 +45,9 @@ public:
//Save the screen config for later
static bool SaveScreens(QList<ScreenInfo> screens);
-
+
//Apply screen configuration
static void Apply(QList<ScreenInfo> screens);
-};
+};
#endif
bgstack15