return w->par;
}
+void tui_invalidate(struct tui_widget *w)
+{
+ w->dirty = 1;
+}
+
int tui_isdirty(struct tui_widget *w)
{
return w->dirty;
void tui_vstatus(int type, const char *fmt, va_list ap)
{
/* TODO */
- tg_color(15);
- tg_bgcolor(0);
- tg_vtext(0, 25, fmt, ap);
}
void tui_msgbox(int type, const char *title, const char *msg, ...)
void tui_vmsgbox(int type, const char *title, const char *msg, va_list ap)
{
/* TODO */
- tg_color(15);
- tg_bgcolor(0);
- tg_vtext(0, 25, msg, ap);
}