Commit f3292a42 authored by deuce's avatar deuce
Browse files

API export the uprintf(x, y, attr, fmt, ...) function.

parent f46589d0
......@@ -437,6 +437,10 @@ typedef struct {
/****************************************************************************/
int (*getstrxy)(int left, int top, int width, char *outstr, int max, long mode, int *lastkey);
/****************************************************************************/
/* Formatted print with attribute */
/****************************************************************************/
int (*printf)(int x, int y, unsigned char attr, char *fmat, ...);
} uifcapi_t;
/****************************************************************************/
......
......@@ -169,6 +169,7 @@ int uifcini32(uifcapi_t* uifcapi)
api->showbuf=showbuf;
api->timedisplay=timedisplay;
api->getstrxy=ugetstr;
api->printf=uprintf;
/* A esc_delay of less than 10 is stupid... silently override */
if(api->esc_delay < 10)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment