From 9c8bc4e708647be16b6c69a28603c3542db9c100 Mon Sep 17 00:00:00 2001 From: Joe Date: Thu, 26 Dec 2024 16:04:49 +0100 Subject: 5.3 --- drw.h | 1 + 1 file changed, 1 insertion(+) (limited to 'drw.h') 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 */ -- cgit v1.2.3