MCPcopy Create free account
hub / github.com/TeamWin/Team-Win-Recovery-Project / get_menu_selection

Function get_menu_selection

recovery.cpp:627–672  ·  view source on GitHub ↗

Display a menu with the specified 'headers' and 'items'. Device specific HandleMenuKey() may return a positive number beyond the given range. Caller sets 'menu_only' to true to ensure only a menu item gets selected. 'initial_selection' controls the initial cursor location. Returns the (non-negative) chosen item number, or -1 if timed out waiting for input.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 5

browse_directoryFunction · 0.85
yes_noFunction · 0.85
prompt_and_wipe_dataFunction · 0.85
choose_recovery_fileFunction · 0.85
prompt_and_waitFunction · 0.85

Calls 8

FlushKeysMethod · 0.80
WaitKeyMethod · 0.80
HandleMenuKeyMethod · 0.80
StartMenuMethod · 0.45
WasTextEverVisibleMethod · 0.45
EndMenuMethod · 0.45
IsTextVisibleMethod · 0.45
SelectMenuMethod · 0.45

Tested by

no test coverage detected