diff options
author | Ken Moore <ken@ixsystems.com> | 2017-08-16 12:55:34 -0400 |
---|---|---|
committer | Ken Moore <ken@ixsystems.com> | 2017-08-16 12:55:34 -0400 |
commit | da9c5fa59b4f90b0041548962c61877379654a89 (patch) | |
tree | 658cef15ec443cf87c7f169c4d473a3444477eef /src-qt5/core-utils/lumina-xconfig/ScreenSettings.h | |
parent | Add the option to save settings as the user's defaults. (diff) | |
download | lumina-da9c5fa59b4f90b0041548962c61877379654a89.tar.gz lumina-da9c5fa59b4f90b0041548962c61877379654a89.tar.bz2 lumina-da9c5fa59b4f90b0041548962c61877379654a89.zip |
More updates for lumina-xconfig:
1) Unify the enable/disable routines.
Diffstat (limited to 'src-qt5/core-utils/lumina-xconfig/ScreenSettings.h')
-rw-r--r-- | src-qt5/core-utils/lumina-xconfig/ScreenSettings.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src-qt5/core-utils/lumina-xconfig/ScreenSettings.h b/src-qt5/core-utils/lumina-xconfig/ScreenSettings.h index 0532cf72..9371e361 100644 --- a/src-qt5/core-utils/lumina-xconfig/ScreenSettings.h +++ b/src-qt5/core-utils/lumina-xconfig/ScreenSettings.h @@ -19,13 +19,14 @@ class ScreenInfo{ bool isprimary; bool isactive; bool isavailable; - int order; //left to right + int applyChange; //[<=0: do nothing, 1: deactivate] 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; |