Ejemplo n.º 1
0
/*
 * Draw some graphical characters.
 */
# ifdef USE_TRANSPARENCY
static errr Term_pict_xaw(int x, int y, int n, const byte *ap, const char *cp,
	const byte *tap, const char *tcp)
# else /* USE_TRANSPARENCY */
static errr Term_pict_xaw(int x, int y, int n, const byte *ap, const char *cp)
# endif /* USE_TRANSPARENCY */
{
	term_data *td = (term_data*)(Term->data);

	/* Draw the pictures */
# ifdef USE_TRANSPARENCY
	AngbandOutputPict(td->widget, x, y, n, ap, cp, tap, tcp);
# else /* USE_TRANSPARENCY */
	AngbandOutputPict(td->widget, x, y, n, ap, cp);
# endif /* USE_TRANSPARENCY */

	/* Success */
	return (0);
}
Ejemplo n.º 2
0
/*
 * Draw some graphical characters.
 */
static errr Term_pict_xaw(int x, int y, int n, const byte *ap, const char *cp,
	const byte *tap, const char *tcp)
{
	term_data *td = (term_data*)(Term->data);

	/* Draw the pictures */
	AngbandOutputPict(td->widget, x, y, n, ap, cp, tap, tcp);

	/* Success */
	return (0);
}