diff options
Diffstat (limited to 'krandr/libkrandr.h')
-rw-r--r-- | krandr/libkrandr.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/krandr/libkrandr.h b/krandr/libkrandr.h index a56f46daa..6ef7a4b8d 100644 --- a/krandr/libkrandr.h +++ b/krandr/libkrandr.h @@ -84,10 +84,16 @@ class KRANDR_EXPORT KRandrSimpleAPI : public RandRDisplay /** * Reads current screen information. + * NOTE: The caller is responsible for calling freeScreenInfoStructure() when done */ ScreenInfo* read_screen_info(Display *display); /** + * Frees the ScreenInfo structure + */ + void freeScreenInfoStructure(ScreenInfo* screen_info); + + /** * Sets the screen size. */ int set_screen_size (ScreenInfo *screen_info); @@ -191,6 +197,11 @@ class KRANDR_EXPORT KRandrSimpleAPI : public RandRDisplay bool applySystemwideDisplayConfiguration(TQPtrList<SingleScreenData> screenInfoArray, bool test=TRUE); /** + * Applies the gamma contained within the systemwide display configuration screenInfoArray to the hardware + */ + void applySystemwideDisplayGamma(TQPtrList<SingleScreenData> screenInfoArray); + + /** * Destroys a screen information object */ void destroyScreenInformationObject(TQPtrList<SingleScreenData> screenInfoArray); |