diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-24 03:09:50 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-24 03:09:50 +0000 |
commit | 46a29a2798e273aeed727eaa0b1dfa48e21436a7 (patch) | |
tree | cdd95bc965f4a6977c48c111feb9084f6f52e4ff /krandr/libkrandr.h | |
parent | af3a602ab34a4d1c0d146f6fe4696b1acdbd9f0d (diff) | |
download | tdelibs-46a29a2798e273aeed727eaa0b1dfa48e21436a7.tar.gz tdelibs-46a29a2798e273aeed727eaa0b1dfa48e21436a7.zip |
Enhance libkrandr further
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1249200 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'krandr/libkrandr.h')
-rw-r--r-- | krandr/libkrandr.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/krandr/libkrandr.h b/krandr/libkrandr.h index 352d821c0..a56f46daa 100644 --- a/krandr/libkrandr.h +++ b/krandr/libkrandr.h @@ -179,8 +179,9 @@ class KRANDR_EXPORT KRandrSimpleAPI : public RandRDisplay /** * Applies the systemwide display configuration screenInfoArray from the specified profile * If profilename is empty, the default profile is utilized + * Returns the offset of the primary screen's top left corner */ - void applySystemwideDisplayConfiguration(TQString profilename, TQString kde_confdir); + TQPoint applySystemwideDisplayConfiguration(TQString profilename, TQString kde_confdir); /** * Applies the systemwide display configuration screenInfoArray to the hardware @@ -195,6 +196,11 @@ class KRANDR_EXPORT KRandrSimpleAPI : public RandRDisplay void destroyScreenInformationObject(TQPtrList<SingleScreenData> screenInfoArray); /** + * Returns the offset of the primary screen's Top Left Corner + */ + TQPoint primaryScreenOffsetFromTLC(TQPtrList<SingleScreenData> screenInfoArray); + + /** * Ensures that the data contained within screenInfoArray is self consistent */ void ensureMonitorDataConsistency(TQPtrList<SingleScreenData> screenInfoArray); |