change align type

This commit is contained in:
Julien Danjou 2008-01-23 16:52:15 +01:00
parent aeee10ea18
commit 3e249cab4b
2 changed files with 3 additions and 3 deletions

4
draw.c
View File

@ -23,8 +23,8 @@
#include <cairo-ft.h>
#include <cairo-xlib.h>
#include <math.h>
#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)

2
draw.h
View File

@ -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);