view console/libgnt/gntutils.h @ 14415:76d345643ba4

[gaim-migrate @ 17123] Reverse the colors of the borders of a window when resizing or moving. committer: Tailor Script <tailor@pidgin.im>
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Sat, 02 Sep 2006 04:40:27 +0000
parents 70f52ff1caec
children c4a32405af68
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);

/* excluding *end */
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);