remove unused drwl func

This commit is contained in:
sewn 2024-08-30 17:49:39 +03:00
parent 3fd0c74377
commit 7aadba8ba4
No known key found for this signature in database

9
drwl.h
View file

@ -288,15 +288,6 @@ drwl_font_getwidth(Drwl *drwl, const char *text)
return drwl_text(drwl, 0, 0, 0, 0, 0, text, 0);
}
static unsigned int
drwl_font_getwidth_clamp(Drwl *drwl, const char *text, unsigned int n)
{
unsigned int tmp = 0;
if (drwl && drwl->font && text && n)
tmp = drwl_text(drwl, 0, 0, 0, 0, 0, text, n);
return tmp < n ? tmp : n;
}
static void
drwl_image_destroy(Img *image)
{