]> Dogcows Code - chaz/openbox/blobdiff - render/font.h
read fonts and titlebar layout from theme files
[chaz/openbox] / render / font.h
index 7b483d8931c295c87871d6ba2075b91ca5d3e7df..85aa9f3efb3e8afadb7099d190c624123b3e0437 100644 (file)
@@ -9,13 +9,12 @@ struct _RrFont {
     const RrInstance *inst;
     XftFont *xftfont;
     gint elipses_length;
+    gint shadow;
+    gchar tint;
+    gint offset;
 };
 
-void font_startup(void);
-RrFont *font_open(const RrInstance *inst, char *fontstring);
-void font_close(RrFont *f);
-int font_measure_string(RrFont *f, char *str, int shadow, int offset);
-int font_height(RrFont *f, int shadow, int offset);
-int font_max_char_width(RrFont *f);
-void font_draw(XftDraw *d, RrTextureText *t, Rect *position);
+RrFont *RrFontOpen(const RrInstance *inst, char *fontstring);
+void RrFontClose(RrFont *f);
+void RrFontDraw(XftDraw *d, RrTextureText *t, Rect *position);
 #endif /* __font_h */
This page took 0.027394 seconds and 4 git commands to generate.