X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=render%2Frender.h;h=da2361cc805d7766ce0edec05183cf403e2cc0f8;hb=564b727966ef1a38309d45b2ab040c3deeb658a4;hp=979bc9331043ec0da2f7d50a7f002d642ee853f4;hpb=4e19d8411d5619aa2562160de309c47c6e482129;p=chaz%2Fopenbox diff --git a/render/render.h b/render/render.h index 979bc933..da2361cc 100644 --- a/render/render.h +++ b/render/render.h @@ -121,11 +121,13 @@ struct _RrTextureText { RrFont *font; RrJustify justify; RrColor *color; - gchar *string; + const gchar *string; gint shadow_offset_x; gint shadow_offset_y; RrColor *shadow_color; gchar shadow_alpha; + gboolean shortcut; /*!< Underline a character */ + guint shortcut_pos; /*!< Position in bytes of the character to underline */ }; struct _RrPixmapMask { @@ -229,7 +231,7 @@ RrAppearance *RrAppearanceNew (const RrInstance *inst, gint numtex); RrAppearance *RrAppearanceCopy (RrAppearance *a); void RrAppearanceFree (RrAppearance *a); -RrFont *RrFontOpen (const RrInstance *inst, gchar *name, gint size, +RrFont *RrFontOpen (const RrInstance *inst, const gchar *name, gint size, RrFontWeight weight, RrFontSlant slant); RrFont *RrFontOpenDefault (const RrInstance *inst); void RrFontClose (RrFont *f);