From 1a24b8b50e1c6956be96cd6f0337c963728ebc9b Mon Sep 17 00:00:00 2001 From: Syndamia Date: Thu, 5 May 2022 21:24:11 +0300 Subject: Autocommit at 05.05.2022 @ 21:24 --- src/ConsoleInterface/Toolbox.cpp | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'src/ConsoleInterface/Toolbox.cpp') diff --git a/src/ConsoleInterface/Toolbox.cpp b/src/ConsoleInterface/Toolbox.cpp index d42c16e..ea291bd 100644 --- a/src/ConsoleInterface/Toolbox.cpp +++ b/src/ConsoleInterface/Toolbox.cpp @@ -30,19 +30,23 @@ void inputLineBox(const char* label, char* output, unsigned maxWidth) { std::cin.getline(output, maxWidth); } -void printTitle(const char* title) { +void title(const char* title) { std::cout << std::endl << "### " << title << " ###" << std::endl; } -void printSuccess(const char* message) { +void printSubTitle(const char* title) { + std::cout << std::endl << "+#+ " << title << " +#+" << std::endl; +} + +void success(const char* message) { std::cout << " " << message << std::endl; } -void printWarning(const char* message) { +void warning(const char* message) { std::cout << " " << message << std::endl; } -void printError(const char* message) { +void error(const char* message) { std::cout << " " << message << std::endl; } -- cgit v1.3.1-23-gd82d