diff options
Diffstat (limited to 'drw.h')
-rw-r--r-- | drw.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -13,6 +13,7 @@ typedef struct Fnt { } Fnt; enum { ColFg, ColBg }; /* Clr scheme index */ +enum { AlignL, AlignR }; typedef XftColor Clr; typedef struct { @@ -53,6 +54,7 @@ void drw_setscheme(Drw *drw, Clr *scm); /* Drawing functions */ void drw_rect(Drw *drw, int x, int y, unsigned int w, unsigned int h, int filled, int invert); int drw_text(Drw *drw, int x, int y, unsigned int w, unsigned int h, unsigned int lpad, const char *text, int invert); +int drw_text_align(Drw *drw, int x, int y, unsigned int w, unsigned int h, const char *text, int textlen, int align); /* Map functions */ void drw_map(Drw *drw, Window win, int x, int y, unsigned int w, unsigned int h); |