diff options
author | Elliott Hughes <enh@google.com> | 2015-04-10 12:47:46 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2015-04-10 12:47:46 -0700 |
commit | 642aaa7a3e11b2de719fc9decc45174bcc235c0c (patch) | |
tree | 7e8d33676678e2240d5368fca8465712b24285cd /screen_ui.h | |
parent | 6b0dd1d7e1e1f3645230f880db95cad1279a826b (diff) | |
download | bootable_recovery-642aaa7a3e11b2de719fc9decc45174bcc235c0c.zip bootable_recovery-642aaa7a3e11b2de719fc9decc45174bcc235c0c.tar.gz bootable_recovery-642aaa7a3e11b2de719fc9decc45174bcc235c0c.tar.bz2 |
Fix ScreenRecoveryUI to handle devices without power/up/down.
Currently fugu has a custom subclass to handle this. The default code
supports devices with trackballs but not all shipping Nexus devices?
That's just silly.
Change-Id: Id2779c91284899a26b4bb1af41e7033aa889df10
Diffstat (limited to 'screen_ui.h')
-rw-r--r-- | screen_ui.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/screen_ui.h b/screen_ui.h index 41ff4af..ea1a95b 100644 --- a/screen_ui.h +++ b/screen_ui.h @@ -56,10 +56,12 @@ class ScreenRecoveryUI : public RecoveryUI { int SelectMenu(int sel); void EndMenu(); + void KeyLongPress(int); + void Redraw(); - enum UIElement { HEADER, MENU, MENU_SEL_BG, MENU_SEL_FG, LOG, TEXT_FILL }; - virtual void SetColor(UIElement e); + enum UIElement { HEADER, MENU, MENU_SEL_BG, MENU_SEL_BG_ACTIVE, MENU_SEL_FG, LOG, TEXT_FILL }; + void SetColor(UIElement e); private: Icon currentIcon; |