Mercurial > pidgin
view console/libgnt/gntutils.h @ 14366:71666c137a07
[gaim-migrate @ 17072]
Apparently wcwidth isn't there everywhere. Thanks to Bleeter for this.
committer: Tailor Script <tailor@pidgin.im>
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Mon, 28 Aug 2006 23:31:12 +0000 |
parents | fda9dc44807d |
children | 70f52ff1caec |
line wrap: on
line source
#include <glib.h> #include "gnt.h" #include "gntwidget.h" void gnt_util_get_text_bound(const char *text, int *width, int *height); int gnt_util_onscreen_width(const char *start, const char *end); char *gnt_util_onscreen_width_to_pointer(const char *str, int len, int *w);