change align type
This commit is contained in:
parent
aeee10ea18
commit
3e249cab4b
4
draw.c
4
draw.c
|
@ -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
2
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);
|
||||
|
|
Loading…
Reference in New Issue