X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;ds=sidebyside;f=render%2Frender.h;h=c13894aab9573f666b1185051cf9ecadcc2cc79e;hb=22a17d3a28603637cf9259d050c19e8090d7ab2f;hp=3b996375b7896023f67564860236b5239b35a189;hpb=66d6e1120ec4e66433ecec673258856def164070;p=chaz%2Fopenbox diff --git a/render/render.h b/render/render.h index 3b996375..c13894aa 100644 --- a/render/render.h +++ b/render/render.h @@ -125,7 +125,7 @@ struct _RrTextureText { gint shadow_offset_x; gint shadow_offset_y; RrColor *shadow_color; - gchar shadow_alpha; + guchar shadow_alpha; gboolean shortcut; /*!< Underline a character */ guint shortcut_pos; /*!< Position in bytes of the character to underline */ }; @@ -146,6 +146,7 @@ struct _RrTextureMask { struct _RrTextureRGBA { gint width; gint height; + gint alpha; RrPixel32 *data; /* cached scaled so we don't have to scale often */ gint cwidth; @@ -230,6 +231,7 @@ GC RrColorGC (RrColor *c); RrAppearance *RrAppearanceNew (const RrInstance *inst, gint numtex); RrAppearance *RrAppearanceCopy (RrAppearance *a); void RrAppearanceFree (RrAppearance *a); +void RrAppearanceAddTextures(RrAppearance *a, gint numtex); RrFont *RrFontOpen (const RrInstance *inst, const gchar *name, gint size, RrFontWeight weight, RrFontSlant slant);