Dodaj pliki projektów.
This commit is contained in:
parent
4912ed6774
commit
f6150b0d17
18 changed files with 9210 additions and 0 deletions
18
Interface.cpp
Normal file
18
Interface.cpp
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
#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();
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue