From 3e249cab4b9181b3da1c7792aecb924adba42e32 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Wed, 23 Jan 2008 16:52:15 +0100 Subject: [PATCH] change align type --- draw.c | 4 ++-- draw.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/draw.c b/draw.c index db9623c54..5912861c9 100644 --- a/draw.c +++ b/draw.c @@ -23,8 +23,8 @@ #include #include #include +#include "structs.h" #include "common/util.h" -#include "config.h" extern AwesomeConf globalconf; @@ -76,7 +76,7 @@ draw_free_context(DrawCtx *ctx) void draw_text(DrawCtx *ctx, Area area, - int align, + Alignment align, int padding, XftFont *font, const char *text, XColor fg, XColor bg) diff --git a/draw.h b/draw.h index f120f08b1..0b7256483 100644 --- a/draw.h +++ b/draw.h @@ -54,7 +54,7 @@ typedef struct DrawCtx *draw_get_context(int, int, int); void draw_free_context(DrawCtx *); -void draw_text(DrawCtx *, Area, int, int, XftFont *, const char *, XColor fg, XColor bg); +void draw_text(DrawCtx *, Area, Alignment, int, XftFont *, const char *, XColor fg, XColor bg); void draw_rectangle(DrawCtx *, Area, Bool, XColor); void draw_graph(DrawCtx *, int, int, int, int *, int, XColor); void draw_circle(DrawCtx *, int, int, int, Bool, XColor);