refactor menustatr
This commit is contained in:
@ -32,7 +32,6 @@
|
||||
#include <sstream>
|
||||
#include <iomanip>
|
||||
|
||||
|
||||
using namespace std;
|
||||
|
||||
#include "drive.h"
|
||||
@ -46,7 +45,6 @@ template <typename T, typename I> T* iterator_to_pointer(I i)
|
||||
return (&(*i));
|
||||
}
|
||||
|
||||
|
||||
class reHDD
|
||||
{
|
||||
protected:
|
||||
|
@ -36,7 +36,7 @@ public:
|
||||
|
||||
static void initTUI();
|
||||
|
||||
void updateTUI(vector <Drive>* pvecDrives, int32_t i32SelectedEntry, struct MenuState menustate);
|
||||
void updateTUI(vector <Drive>* pvecDrives, int32_t i32SelectedEntry);
|
||||
|
||||
static enum UserInput readUserInput();
|
||||
|
||||
@ -45,9 +45,10 @@ private:
|
||||
static string sRamUsage;
|
||||
static string sLocalTime;
|
||||
|
||||
WINDOW* detailview;
|
||||
|
||||
WINDOW* overview;
|
||||
WINDOW* systemview;
|
||||
WINDOW* detailview;
|
||||
WINDOW* menuview;
|
||||
WINDOW* dialog;
|
||||
|
||||
@ -58,6 +59,8 @@ private:
|
||||
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);
|
||||
|
||||
void displaySelectedDrive(Drive drive, int stdscrX, int stdscrY);
|
||||
|
||||
};
|
||||
#endif // TUI_H_
|
Reference in New Issue
Block a user