From edcbed448ef2d341edbca47e938b4e86673a99a0 Mon Sep 17 00:00:00 2001 From: Derek Foreman Date: Sat, 25 Jan 2003 03:40:13 +0000 Subject: Added diagonal and crossdiagonal gradients --- otk/truerendercontrol.hh | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'otk/truerendercontrol.hh') diff --git a/otk/truerendercontrol.hh b/otk/truerendercontrol.hh index 7da6f8be..64559d12 100644 --- a/otk/truerendercontrol.hh +++ b/otk/truerendercontrol.hh @@ -51,6 +51,12 @@ public: inline void highlight(pixel32 *x, pixel32 *y, bool raised) const; void reduceDepth(XImage *im, pixel32 *data) const; + void verticalGradient(Surface &sf, const RenderTexture &texture, + pixel32 *data) const; + void diagonalGradient(Surface &sf, const RenderTexture &texture, + pixel32 *data) const; + void crossDiagonalGradient(Surface &sf, const RenderTexture &texture, + pixel32 *data) const; }; } -- cgit v1.2.3