18 lines
No EOL
448 B
C++
18 lines
No EOL
448 B
C++
#include "Interface.h"
|
|
|
|
Interface::Interface() {
|
|
// TODO Auto-generated constructor stub
|
|
|
|
}
|
|
|
|
Interface::~Interface() {
|
|
// TODO Auto-generated destructor stub
|
|
}
|
|
|
|
void Interface::TextBorder(const std::string& title, const std::string& text)
|
|
{
|
|
auto element = ftxui::window(ftxui::text(title), ftxui::paragraphAlignLeft(text));
|
|
auto screen = ftxui::Screen::Create(ftxui::Dimension::Fit(element));
|
|
ftxui::Render(screen, element);
|
|
screen.Print();
|
|
} |