#ifndef DISPLAY_H #define DISPLAY_H #include #include #include #include "curse.h" #include "listname.h" #include "global.h" struct messageLine{ short messageNo; short helpCode; short width; char holdLine[MAXMSGSTRNG]; }; void DisplayMessage(void); void CommandLineInterface(char inputString[], int maxInpStrLen, char displayString[] = NULL); void WaitMessage(bool state); int Response(const char responses[], int numResponses, char displayString[]); int FormatWindow(char * string, stringline array[], int width); int FormatWindow(char * string, winMsgLine array[], int * width); void DrawMenu(cccmenuopts menuCode, int * length); void DrawMenu(int selection); void DrawMenu(cccmenuopts menuCode, int selection); void InitMenus(void); void MsgWinKeyOpts(int &key); struct menuitems; void List(int winsel); void ListMovie(DLnkNodePtr Category); void ListMovie(int winsel); DLnkNode* GetEntry(int index); void Execute(cccmenuopts menuCode,mode currentMode, int selection); void SetSelNode(DLnkNodePtr SomeNode); DLnkNodePtr GetSelNode(void); void SetReviewNum(int reviewnum); int GetReviewNum(void); void NYA(void); int MakeMessage(char * insertMessage, int insertWidth); void MakeMessage(void); #endif