1 /* menu.h - show menu */ 2 3 #ifndef __SHOWMENU_H__ 4 #define __SHOWMENU_H__ 5 6 // init menuound viewer 7 void menuInit(int active); 8 9 // menu is the active window 10 void menuSetActive(); 11 12 // menu no more is the active window 13 void menuSetInactive(); 14 15 // draw menuound-window if needed 16 void menuDraw(); 17 18 // forced drawing of menuound-window 19 void menuForceDraw(); 20 21 // act on keypress 22 void menuProcessKey(int key); 23 24 // close menuound-viewer 25 void menuDone(); 26 27 extern WINDOW *inputWin; 28 29 #endif 30 31