X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=render%2Frender.h;h=7b81e2ffb163c4ed71571e3129518c4f7b6f2177;hb=2924adb9b1addab67983a5276ec6932b7b7933d6;hp=33c9c0e9a8fc0b88fdefd6049858fd5e938747c4;hpb=89ade7a8c1a5f825f61657cb185246cefbd4e96e;p=chaz%2Fopenbox diff --git a/render/render.h b/render/render.h index 33c9c0e9..7b81e2ff 100644 --- a/render/render.h +++ b/render/render.h @@ -114,7 +114,7 @@ struct _RrSurface { RrColor *primary; RrColor *secondary; RrColor *border_color; - RrColor *bevel_dark; + RrColor *bevel_dark; RrColor *bevel_light; RrColor *interlace_color; gboolean interlaced; @@ -165,6 +165,11 @@ struct _RrTextureRGBA { gint cwidth; gint cheight; RrPixel32 *cache; +/* size and position to draw at */ + gint tx; + gint ty; + gint twidth; + gint theight; }; struct _RrTextureLineArt { @@ -246,8 +251,8 @@ 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); +RrFont *RrFontOpen (const RrInstance *inst, const gchar *name, + gint size, RrFontWeight weight, RrFontSlant slant); RrFont *RrFontOpenDefault (const RrInstance *inst); void RrFontClose (RrFont *f); RrSize *RrFontMeasureString (const RrFont *f, const gchar *str,