]> Dogcows Code - chaz/openbox/blobdiff - render/font.h
put the render theme into a struct
[chaz/openbox] / render / font.h
index 393ac88ee996ece0a784b5075785619c67263a9c..7b483d8931c295c87871d6ba2075b91ca5d3e7df 100644 (file)
@@ -6,12 +6,13 @@
 #include "kernel/geom.h"
 
 struct _RrFont {
+    const RrInstance *inst;
     XftFont *xftfont;
     gint elipses_length;
 };
 
 void font_startup(void);
-RrFont *font_open(char *fontstring);
+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);
This page took 0.021992 seconds and 4 git commands to generate.