From f3671d418a098f1fd7aa530b2ef6c975193fce1f Mon Sep 17 00:00:00 2001 From: Syndamia Date: Sat, 28 May 2022 20:20:03 +0300 Subject: Autocommit at 28.05.2022 @ 20:20 --- src/Generic/ConsoleInterface/Toolbox.hpp | 22 ---------------------- 1 file changed, 22 deletions(-) (limited to 'src/Generic/ConsoleInterface/Toolbox.hpp') diff --git a/src/Generic/ConsoleInterface/Toolbox.hpp b/src/Generic/ConsoleInterface/Toolbox.hpp index 4c9544e..4fb8214 100644 --- a/src/Generic/ConsoleInterface/Toolbox.hpp +++ b/src/Generic/ConsoleInterface/Toolbox.hpp @@ -15,28 +15,15 @@ //! Clears the console screen void clear(); -//! Prints a title box -void titleBox(const char* title); -//! Prints a title sub box -void subTitleBox(const char* title); //! Prints label, gets a whole line of input and stores it to output void inputLineBox(const char* label, char* output, unsigned maxWidth, bool ignore = true); -//! Waits for user to press enter -void pressEnterToContinue(bool ignore = true); - -//! Resets the ordered list starting number -void resetOrderedList(int starter = 1); //! Prints a string as a table void table(unsigned startNumber, unsigned columns, const char* items); -//! Semi-internal function that prints the spacing for sub boxes -void _printSubBoxSpacing(); //! Semi-internal function that prints the label of an input box void _printInputBoxLabel(const char* label); -//! Semi-internal function that prints the latest ordered list index -void _printOrderedListBeginning(); //! Reads user input and stores it template @@ -81,13 +68,4 @@ void inputBox(const char* label, T* output) { std::cin >> *output; } -//! Prints a label with sub box spacing and then reads user input and stores it -//! \sa _printSubBoxSpacing() -template -void inputSubBox(const char* label, T* output) { - _printSubBoxSpacing(); - _printInputBoxLabel(label); - std::cin >> *output; -} - #endif -- cgit v1.3.1-26-gb76a