Dodaj pliki projektów.

This commit is contained in:
yanczi 2025-09-23 01:31:59 +02:00
parent 4912ed6774
commit f6150b0d17
18 changed files with 9210 additions and 0 deletions

18
Interface.cpp Normal file
View 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();
}