aboutsummaryrefslogtreecommitdiff
path: root/dw/layout.hh
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2013-06-17 10:56:43 +0200
committerSebastian Geerken <devnull@localhost>2013-06-17 10:56:43 +0200
commit126ae913efb3829c980a2151db5bbcfd68c5b39c (patch)
tree8eb0e38bfc1fa28577a5cfabfb7ae93209a5b2f4 /dw/layout.hh
parent4e96d8f79ecb97994cf446386ce0dd1a1368da44 (diff)
Added gamma correction value to dw::core::ImgBuf.
Diffstat (limited to 'dw/layout.hh')
-rw-r--r--dw/layout.hh5
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)