diff options
Autocommit at 06.05.2022 @ 11:51
1 files changed, 7 insertions, 1 deletions
| -rw-r--r-- | src/ConsoleInterface/Toolbox.hpp | 8 |
diff --git a/src/ConsoleInterface/Toolbox.hpp b/src/ConsoleInterface/Toolbox.hpp index daf8db4..2844682 100644 --- a/src/ConsoleInterface/Toolbox.hpp +++ b/src/ConsoleInterface/Toolbox.hpp @@ -20,7 +20,7 @@ void inputLineBox(const char* label, char* output, unsigned maxWidth); void resetOrderedList(int starter = 1); void _printInputBoxLabel(const char* label); -void _printAltInputBoxLabel(const char* label); +void _printInputBoxSubLabel(const char* label); void _printOrderedListBeginning(); template <class T> @@ -66,4 +66,10 @@ void inputBox(const char* label, T* output) { std::cin >> *output; } +template <typename T> +void inputSubBox(const char* label, T* output) { + _printInputSubBoxLabel(label); + std::cin >> *output; +} + #endif |
