]> Dogcows Code - chaz/openbox/blobdiff - render/render.h
add keyboard shortcuts to the menus. you can specify the shortcut key with & even...
[chaz/openbox] / render / render.h
index 979bc9331043ec0da2f7d50a7f002d642ee853f4..26de9e481dc621839cb8cf404fef22a60144cc4f 100644 (file)
@@ -121,11 +121,12 @@ 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;
+    gunichar shortcut; /*!< Underline this character */
 };
 
 struct _RrPixmapMask {
@@ -229,7 +230,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);
This page took 0.026249 seconds and 4 git commands to generate.