39 lines
591 B
C++
39 lines
591 B
C++
/**
|
|
* @file tui.cpp
|
|
* @brief display user interface
|
|
* @author hendrik schutter
|
|
* @date 03.08.2020
|
|
*/
|
|
/*
|
|
#include "../include/reHDD.h"
|
|
*/
|
|
|
|
/**
|
|
* \brief wipe drive with shred
|
|
* \param pointer of Drive instance
|
|
* \return void
|
|
*/
|
|
/*
|
|
void TUI::initTUI()
|
|
{
|
|
initscr();
|
|
raw();
|
|
keypad(stdscr,TRUE);
|
|
if(has_colors() == TRUE) {
|
|
start_color();
|
|
} else {
|
|
printf("Your terminal does not support color\n");
|
|
exit(1);
|
|
}
|
|
clear();
|
|
curs_set(0);
|
|
init_color(COLOR_GRAY, 173, 170, 173);
|
|
}
|
|
|
|
void TUI::updateTUI(TUI_DATA data){
|
|
|
|
|
|
|
|
|
|
|
|
}*/ |