forked from localhorst/reHDD
stated to implement threading
This commit is contained in:
39
src/TUI/tui.cpp
Normal file
39
src/TUI/tui.cpp
Normal file
@ -0,0 +1,39 @@
|
||||
/**
|
||||
* @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){
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}*/
|
Reference in New Issue
Block a user