summaryrefslogtreecommitdiff
path: root/src/ui/gradient.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/gradient.h')
-rw-r--r--src/ui/gradient.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/ui/gradient.h b/src/ui/gradient.h
index e40ba8eb..8da20485 100644
--- a/src/ui/gradient.h
+++ b/src/ui/gradient.h
@@ -27,6 +27,14 @@
#include <gdk-pixbuf/gdk-pixbuf.h>
#include <gdk/gdk.h>
+/**
+ * MetaGradientType:
+ * @META_GRADIENT_VERTICAL: Vertical gradient
+ * @META_GRADIENT_HORIZONTAL: Horizontal gradient
+ * @META_GRADIENT_DIAGONAL: Diagonal gradient
+ * @META_GRADIENT_LAST: Marks the end of the #MetaGradientType enumeration
+ *
+ */
typedef enum
{
META_GRADIENT_VERTICAL,
@@ -52,6 +60,7 @@ GdkPixbuf* meta_gradient_create_interwoven (int width,
const GdkRGBA colors2[2],
int thickness2);
+
/* Generate an alpha gradient and multiply it with the existing alpha
* channel of the given pixbuf
*/