diff options
Diffstat (limited to 'dw/platform.hh')
-rw-r--r-- | dw/platform.hh | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/dw/platform.hh b/dw/platform.hh index 1e16dcfe..532f4cf9 100644 --- a/dw/platform.hh +++ b/dw/platform.hh @@ -146,12 +146,14 @@ public: */ virtual void cancelTooltip () = 0; - /* - * -------------------- - * Image Buffers - * -------------------- + /** + * \brief Create a (platform speficic) image buffer. + * + * "gamma" is the value by which the image data is already + * corrected. */ - virtual Imgbuf *createImgbuf (Imgbuf::Type type, int width, int height) = 0; + virtual Imgbuf *createImgbuf (Imgbuf::Type type, int width, int height, + double gamma) = 0; /** * \brief Copy selected text (0-terminated). |