all repos — openbox @ 4672adbfa0384fdb8c102271dad64ad0bf3fb8da

openbox fork - make it a bit more like ryudo

font changes
Derek Foreman manmower@gmail.com
commit

4672adbfa0384fdb8c102271dad64ad0bf3fb8da

parent

99b226f39df2d7df0349c576012e97f5d662a9a6

1 files changed, 8 insertions(+), 4 deletions(-)

jump to
M render/render.hrender/render.h

@@ -6,7 +6,6 @@ #define _XFT_NO_COMPAT_ /* no Xft 1 API */

#include <X11/Xft/Xft.h> #include <glib.h> #include "color.h" -#include "font.h" #ifdef HAVE_STDINT_H # include <stdint.h>

@@ -98,13 +97,18 @@ SurfaceColorType colortype;

SurfaceData data; } Surface; +typedef struct { + XftFont *xftfont; +} ObFont; + typedef struct TextureText { ObFont *font; - int shadow; - int offset; + int shadow; + unsigned char tint; + unsigned char offset; color_rgb *color; char *string; -} TextureText; +} TextureText; typedef struct TextureMask { color_rgb *color;