aboutsummaryrefslogtreecommitdiff
path: root/src/ui_statusbar.h
diff options
context:
space:
mode:
authortoni <toni@devlap.local>2015-11-17 09:53:47 +0100
committertoni <toni@devlap.local>2015-11-17 09:53:47 +0100
commitecd71a9af7f74d1cd73ef015b767aa63dc0605d9 (patch)
tree868229934b70413e2e77aa365358289d922868a9 /src/ui_statusbar.h
parentcb8ac81c8c538f4a02edb5c2762cfbc5f5adef88 (diff)
- atmout/pthread_cond_timedwait bug (still not fixed)
- txtwindow update callback added - better update funcs
Diffstat (limited to 'src/ui_statusbar.h')
-rw-r--r--src/ui_statusbar.h4
1 files changed, 2 insertions, 2 deletions
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);