summaryrefslogtreecommitdiff
path: root/drw.h
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2022-05-10 19:07:56 +0200
committerHiltjo Posthuma <hiltjo@codemadness.org>2022-05-10 19:07:56 +0200
commitd3f93c7c1a13a2a78f04fb41ad1935525df948db (patch)
tree71f8aef49ea9300abd1cd9204ca80cb828bcaf90 /drw.h
parentcd0773cee9bad694dc9a6b1355a32bbe61abadff (diff)
sync latest drw.{c,h} changes from dmenu
Diffstat (limited to 'drw.h')
-rw-r--r--drw.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drw.h b/drw.h
index 4bcd5add..64714316 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 */