diff options
author | Sebastian Geerken <devnull@localhost> | 2013-06-17 10:56:43 +0200 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2013-06-17 10:56:43 +0200 |
commit | 126ae913efb3829c980a2151db5bbcfd68c5b39c (patch) | |
tree | 8eb0e38bfc1fa28577a5cfabfb7ae93209a5b2f4 /dw/layout.hh | |
parent | 4e96d8f79ecb97994cf446386ce0dd1a1368da44 (diff) |
Added gamma correction value to dw::core::ImgBuf.
Diffstat (limited to 'dw/layout.hh')
-rw-r--r-- | dw/layout.hh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/dw/layout.hh b/dw/layout.hh index d3ace03a..51d764a4 100644 --- a/dw/layout.hh +++ b/dw/layout.hh @@ -358,9 +358,10 @@ public: return platform->cancelTooltip (); } - inline Imgbuf *createImgbuf (Imgbuf::Type type, int width, int height) + inline Imgbuf *createImgbuf (Imgbuf::Type type, int width, int height, + double gamma) { - return platform->createImgbuf (type, width, height); + return platform->createImgbuf (type, width, height, gamma); } inline void copySelection(const char *text) |