diff options
author | toni <toni@devlap.local> | 2015-11-17 09:53:47 +0100 |
---|---|---|
committer | toni <toni@devlap.local> | 2015-11-17 09:53:47 +0100 |
commit | ecd71a9af7f74d1cd73ef015b767aa63dc0605d9 (patch) | |
tree | 868229934b70413e2e77aa365358289d922868a9 /src/ui_statusbar.h | |
parent | cb8ac81c8c538f4a02edb5c2762cfbc5f5adef88 (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.h | 4 |
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); |