diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-03-03 02:53:41 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-03-03 02:53:41 +0000 |
| commit | 037fc862b0dd4535accf7b69a8c0112355bd04b1 (patch) | |
| tree | 768c502ef4cd3fb826d2d9466eac672fd614688a /render/instance.h | |
| parent | c5b551b25a1d89a3f20599adeec6c6c6a31946e5 (diff) | |
pango is now mandatory..
lots of cleanups to the pango code, which was a very nice base to start from. thanks to whomever wrote that for us.. put some of the pango variables into the various render structs so that they don't need to be created all the time. put the pango context inside our RrInstance so that it can be properly freed at shutdown. removed xft dependencies all through the code and the build system also. who knows if this will break compiling for some poor souls. i guess we'll find out, won't we!
Diffstat (limited to 'render/instance.h')
| -rw-r--r-- | render/instance.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/render/instance.h b/render/instance.h index 21bd535f..8a15f423 100644 --- a/render/instance.h +++ b/render/instance.h @@ -21,6 +21,7 @@ #include <X11/Xlib.h> #include <glib.h> +#include <pango/pangoxft.h> struct _RrInstance { Display *display; @@ -29,6 +30,7 @@ struct _RrInstance { Visual *visual; gint depth; Colormap colormap; + PangoContext *pango; gint red_offset; gint green_offset; |
