From 8fd86d77f1a2f15c6fa95bc390bcbe646374873a Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Mon, 13 Apr 2015 14:36:02 -0700 Subject: Move the menu header out of the menu. This makes it easier for us to deal with arbitrary information at the top, and means that headers added by specific commands don't overwrite the default ones. Add the fingerprint back, but broken up so it fits even on sprout's display. Change-Id: Id71da79ab1aa455a611d72756a3100a97ceb4c1c --- device.cpp | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'device.cpp') diff --git a/device.cpp b/device.cpp index 024fc3465..fd1a9875b 100644 --- a/device.cpp +++ b/device.cpp @@ -16,20 +16,6 @@ #include "device.h" -static const char* REGULAR_HEADERS[] = { - "Volume up/down move highlight.", - "Power button activates.", - "", - NULL -}; - -static const char* LONG_PRESS_HEADERS[] = { - "Any button cycles highlight.", - "Long-press activates.", - "", - NULL -}; - static const char* MENU_ITEMS[] = { "Reboot system now", "Reboot to bootloader", @@ -43,10 +29,6 @@ static const char* MENU_ITEMS[] = { NULL }; -const char* const* Device::GetMenuHeaders() { - return ui_->HasThreeButtons() ? REGULAR_HEADERS : LONG_PRESS_HEADERS; -} - const char* const* Device::GetMenuItems() { return MENU_ITEMS; } -- cgit v1.2.3