diff options
author | Sven Eden <sven.eden@gmx.de> | 2013-02-03 15:30:38 +0100 |
---|---|---|
committer | Sven Eden <sven.eden@gmx.de> | 2013-02-03 15:30:38 +0100 |
commit | 62111738bc22335ae72037c2eac5dc9c38e682d3 (patch) | |
tree | cac387f7007edd41e56c8e5b5262155d6889e58c /ufed-curses.h | |
parent | Moved function key detection and handling to flags callback() function. It is... (diff) | |
download | ufed-62111738bc22335ae72037c2eac5dc9c38e682d3.tar.gz ufed-62111738bc22335ae72037c2eac5dc9c38e682d3.tar.bz2 ufed-62111738bc22335ae72037c2eac5dc9c38e682d3.zip |
Added inclusion of globals, added missing and re-ordered existing prototypes for better readability.
Diffstat (limited to 'ufed-curses.h')
-rw-r--r-- | ufed-curses.h | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/ufed-curses.h b/ufed-curses.h index f996d7c..117500f 100644 --- a/ufed-curses.h +++ b/ufed-curses.h @@ -1,12 +1,14 @@ -#include "ufed-curses-types.h" - -/* global members */ -extern sWindow window[wCount]; +#include "ufed-curses-globals.h" /* global prototypes */ void cursesdone(void); void initcurses(void); +void draw(bool withSep); +void drawBottom(bool withSep); +void drawFlags(void); +void drawStatus(bool withSep); +void drawTop(bool withSep); int maineventloop( const char *subtitle, int (*callback)(sFlag** curr, int key), @@ -14,11 +16,10 @@ int maineventloop( sFlag* flags, const sKey* keys, bool withSep); -void drawBottom(bool withSep); -void drawFlags(void); -void drawStatus(bool withSep); -void drawTop(bool withSep); +void resetDisplay(bool withSep); bool scrollcurrent(void); +bool setNextItem(int count, bool strict); +bool setPrevItem(int count, bool strict); bool yesno(const char *); |