diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-06-21 01:53:26 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-06-21 01:53:26 +0000 |
| commit | b1f5555218ecaa3827450125dc47b4bf0d404ee4 (patch) | |
| tree | 693db64d34df6381b1c434178ba3ccd062d5e8f6 /render/font.h | |
| parent | a4a0cb78294bb1809b836ea1e86e9d7294bb2929 (diff) | |
put the render theme into a struct
Diffstat (limited to 'render/font.h')
| -rw-r--r-- | render/font.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/render/font.h b/render/font.h index 393ac88e..7b483d89 100644 --- a/render/font.h +++ b/render/font.h @@ -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); |
