aboutsummaryrefslogtreecommitdiffstats
path: root/drw.h
diff options
context:
space:
mode:
authorJoe <rbo@gmx.us>2024-12-26 16:04:49 +0100
committerJoe <rbo@gmx.us>2024-12-26 16:04:49 +0100
commit9c8bc4e708647be16b6c69a28603c3542db9c100 (patch)
tree18ef2626c9db480d5122b99d34c2b40fa1afcd01 /drw.h
parentup (diff)
downloaddmenu-9c8bc4e708647be16b6c69a28603c3542db9c100.tar.gz
dmenu-9c8bc4e708647be16b6c69a28603c3542db9c100.tar.bz2
dmenu-9c8bc4e708647be16b6c69a28603c3542db9c100.tar.xz
dmenu-9c8bc4e708647be16b6c69a28603c3542db9c100.tar.zst
dmenu-9c8bc4e708647be16b6c69a28603c3542db9c100.zip
5.3
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 4c67419..fd7631b 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 */