summaryrefslogtreecommitdiff
path: root/drw.h
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2023-02-21 14:30:34 -0600
committerzachir <zachir@librem.one>2023-02-21 14:30:34 -0600
commitee4eee0e05b567fe72f94eabcec9656a096625bc (patch)
treeaf857dbbee2fae2f7ff2674750c0871b24c753b5 /drw.h
parent0e8723fdc24c099954f6356f22d1a1df47eddb20 (diff)
parent96e4a549ce8b3da7d5d339a94487bb2849520ae7 (diff)
merge master to version 5.25.2
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 */