From 5eb6112aaabebe5338e65f16cf4f18acc38ddf4d Mon Sep 17 00:00:00 2001 From: Syndamia Date: Thu, 5 May 2022 21:29:12 +0300 Subject: Autocommit at 05.05.2022 @ 21:29 --- src/ConsoleInterface/Menu.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/ConsoleInterface/Menu.h') diff --git a/src/ConsoleInterface/Menu.h b/src/ConsoleInterface/Menu.h index bdfb602..2501871 100644 --- a/src/ConsoleInterface/Menu.h +++ b/src/ConsoleInterface/Menu.h @@ -8,10 +8,13 @@ class Menu { char title[256]; List menuOptions; + bool backExistsApp; + bool isSubMenu; + public: Menu(); - Menu(const char* title); - Menu(const char* title, const Command* commands, unsigned commandCount); + Menu(const char* title, bool backExistsApp, bool isSubMenu); + Menu(const char* title, bool backExistsApp, bool isSubMenu, const Command* commands, unsigned commandCount); void addCommand(const Command& command); -- cgit v1.3.1-23-gd82d