diff --git a/examples/Basic/setup.cpp b/examples/Basic/setup.cpp index c134285..e2014c9 100644 --- a/examples/Basic/setup.cpp +++ b/examples/Basic/setup.cpp @@ -143,7 +143,8 @@ bool SetupSerialUI() { } SUI::Menu * submen1 = topMenu->subMenu( SUI_STR("Manage"), - SUI_STR("Manage the counter")); + SUI_STR("Manage the counter"), + 2); if (! submen1 ) { DIE_HORRIBLY(CouldntCreateMenuErr); } diff --git a/examples/Sanctuary/setup.cpp b/examples/Sanctuary/setup.cpp index 844812a..3f03325 100644 --- a/examples/Sanctuary/setup.cpp +++ b/examples/Sanctuary/setup.cpp @@ -159,27 +159,28 @@ bool SetupSerialUI() { // create all our sub-menus SUI::Menu * submen1 = topMenu->subMenu( SUI_STR("Tigers"), - SUI_STR("Rarrr")); + SUI_STR("Rarrr"), + 2); if (! submen1 ) { DIE_HORRIBLY(CouldntCreateMenuErr); } SUI::Menu * submen2 = topMenu->subMenu( - SUI_STR("Monkeys")); + SUI_STR("Monkeys"), NULL, 2); if (! submen2 ) { DIE_HORRIBLY(CouldntCreateMenuErr); } SUI::Menu * submen3 = topMenu->subMenu( SUI_STR("Fishes"), - SUI_STR("Fishies")); + SUI_STR("Fishies"), 3); if (! submen3 ) { DIE_HORRIBLY(CouldntCreateMenuErr); } SUI::Menu * submen4 = topMenu->subMenu( SUI_STR("Reptiles"), - SUI_STR("Lizards and such...")); + SUI_STR("Lizards and such..."), 4); if (! submen4 ) { DIE_HORRIBLY(CouldntCreateMenuErr); } @@ -315,4 +316,3 @@ bool SetupSerialUI() { } -