From ecd71a9af7f74d1cd73ef015b767aa63dc0605d9 Mon Sep 17 00:00:00 2001 From: toni Date: Tue, 17 Nov 2015 09:53:47 +0100 Subject: - atmout/pthread_cond_timedwait bug (still not fixed) - txtwindow update callback added - better update funcs --- src/ui_statusbar.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ui_statusbar.h') diff --git a/src/ui_statusbar.h b/src/ui_statusbar.h index 5139c14..65e9e12 100644 --- a/src/ui_statusbar.h +++ b/src/ui_statusbar.h @@ -8,11 +8,11 @@ struct statusbar { unsigned int y; unsigned int width; char *text; - int (*status_func)(WINDOW *, struct statusbar *); + int (*status_func)(WINDOW *, struct statusbar *, bool); chtype attrs; }; -typedef int (*status_func)(WINDOW *, struct statusbar *); +typedef int (*status_func)(WINDOW *, struct statusbar *, bool); struct statusbar * init_statusbar(unsigned int y, unsigned int width, chtype attrs, status_func cb_update); -- cgit v1.2.3