From e01cfaee4cf5f07095be58bd33ab879377811f93 Mon Sep 17 00:00:00 2001 From: Victor Kareh Date: Thu, 30 May 2019 16:27:59 -0400 Subject: gradient: sync code with mutter before it was removed upstream commits: https://gitlab.gnome.org/GNOME/metacity/commit/3932dca0 https://gitlab.gnome.org/GNOME/metacity/commit/10240013 https://gitlab.gnome.org/GNOME/metacity/commit/3fa97193 --- src/ui/gradient.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/ui/gradient.h') 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 #include +/** + * 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 */ -- cgit v1.2.1