diff options
author | Hiltjo Posthuma <hiltjo@codemadness.org> | 2022-05-10 19:07:56 +0200 |
---|---|---|
committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2022-05-10 19:07:56 +0200 |
commit | d3f93c7c1a13a2a78f04fb41ad1935525df948db (patch) | |
tree | 71f8aef49ea9300abd1cd9204ca80cb828bcaf90 /drw.h | |
parent | cd0773cee9bad694dc9a6b1355a32bbe61abadff (diff) | |
download | dwm-d3f93c7c1a13a2a78f04fb41ad1935525df948db.tar.gz |
sync latest drw.{c,h} changes from dmenu
Diffstat (limited to 'drw.h')
-rw-r--r-- | drw.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drw.h b/drw.h index 4bcd5ad..6471431 100644 --- a/drw.h +++ b/drw.h @@ -35,6 +35,7 @@ void drw_free(Drw *drw); Fnt *drw_fontset_create(Drw* drw, const char *fonts[], size_t fontcount); void drw_fontset_free(Fnt* set); unsigned int drw_fontset_getwidth(Drw *drw, const char *text); +unsigned int drw_fontset_getwidth_clamp(Drw *drw, const char *text, unsigned int n); void drw_font_getexts(Fnt *font, const char *text, unsigned int len, unsigned int *w, unsigned int *h); /* Colorscheme abstraction */ |