diff --git a/header/common/texts/common.h b/header/common/texts/common.h index a956ce3..f39ee55 100644 --- a/header/common/texts/common.h +++ b/header/common/texts/common.h @@ -15,6 +15,7 @@ static const std::map texts = { { "program_author", L"\u0410\u0432\u0442\u043e\u0440: \u0422\u0430\u0442\u0430\u0440\u0438\u043d\u0446\u0435\u0432 \u0410\u043b\u0435\u043a\u0441\u0430\u043d\u0434\u0440" }, // Автор: Татаринцев Александр // Common text + { "last_input", L"- Last Input (LI" }, { "first_input", L"- First Input (FI" }, { "first_output", L"- First Output FO)" }, { "max_elements", L"\u041c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432 \u0432 \u0440\u0430\u043c\u043a\u0430\u0445 \u0434\u0435\u043c\u043e: 10" }, // Максимальное количество элементов в рамках демо: 10 diff --git a/source/task/forms/defaults/cui/screens/menu/structure/stack/fill.cpp b/source/task/forms/defaults/cui/screens/menu/structure/stack/fill.cpp index 816411f..62863a9 100644 --- a/source/task/forms/defaults/cui/screens/menu/structure/stack/fill.cpp +++ b/source/task/forms/defaults/cui/screens/menu/structure/stack/fill.cpp @@ -5,8 +5,8 @@ MenuItem StackFillMenu() { MenuItem stack, q[2]; - q[0].SetCommand(new Label("menu_operations_randomized"), StackRandomized); - q[1].SetCommand(new Label("menu_operations_reset"), StackReset); + q[0].SetCommand(new Label("menu_fill_randomized"), StackRandomized); + q[1].SetCommand(new Label("menu_fill_reset"), StackReset); stack.SetItems(new Label("menu_stack"))->Vertical(true); for (char i = 0; i < 2; i++) stack.Add(&q[i]); diff --git a/source/task/structure/process/structures/menu/stack.cpp b/source/task/structure/process/structures/menu/stack.cpp index 0e586e9..4ade113 100644 --- a/source/task/structure/process/structures/menu/stack.cpp +++ b/source/task/structure/process/structures/menu/stack.cpp @@ -5,6 +5,7 @@ Stack model; void StackRandomized() { + StackInfo(); model.Randomized(); model.Show(); } diff --git a/target.exe b/target.exe index baf8cbc..67eef1d 100644 Binary files a/target.exe and b/target.exe differ