fully implemented user menu

This commit is contained in:
2020-08-09 23:05:32 +02:00
parent c2ab7c1c7f
commit cf2bb664d7
3 changed files with 84 additions and 25 deletions

View File

@ -28,7 +28,6 @@ public:
bool bAbort;
bool bShred;
bool bDelete;
bool bConfirmAbort;
bool bConfirmShred;
bool bConfirmDelete;
};
@ -50,6 +49,7 @@ private:
WINDOW* overview;
WINDOW* systemview;
WINDOW* menuview;
WINDOW* dialog;
static void centerTitle(WINDOW *pwin, const char * title);
static WINDOW *createOverViewWindow( int iXSize, int iYSize);
@ -57,6 +57,7 @@ private:
static WINDOW *createEntryWindow(int iXSize, int iYSize, int iXStart, int iYStart,string sModelFamily, string sModelName, string sCapacity, bool bSelected);
static WINDOW *createSystemStats(int iXSize, int iYSize, int iYStart);
static WINDOW *createMenuView(int iXSize, int iYSize, int iXStart, int iYStart, struct MenuState menustate);
};
static WINDOW *createDialog(int iXSize, int iYSize, int iXStart, int iYStart, string selectedTask, string optionA, string optionB);
};
#endif // TUI_H_