summaryrefslogtreecommitdiff
path: root/drw.h
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2023-02-21 13:38:42 -0600
committerzachir <zachir@librem.one>2023-02-21 13:38:42 -0600
commit3e780ab7e8f5a6358c89813e2d2e430b90fe8a66 (patch)
tree7545c304a2416ad06dada49d0011c742529eaee0 /drw.h
parentd37bbc0c900aa6e42e9f2dac7500c468083bb69b (diff)
reset to vanilla dmenu-5.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 */