commit | d0d8d3b4cb4dbb6ad84897ac8997c2e9129fc124 | [log] [tgz] |
---|---|---|
author | Pali Rohár <pali.rohar@gmail.com> | Sat Mar 23 14:50:40 2013 +0000 |
committer | Anatolij Gustschin <agust@denx.de> | Fri Mar 29 09:35:33 2013 +0100 |
tree | f14a977c82a3fb1ee3f606d71f8c1ff5306ee1f1 | |
parent | 32adc23684382619bf28c8abd3c8b819550f9394 [diff] |
menu: Add support for user defined item choice function Selecting menu items is currently done in menu_interactive_choice() by reading the user input strings from standard input. Extend menu_interactive_choice() to support user defined function for selecting menu items. This function and its argument can be specified when creating the menu. Signed-off-by: Pali Rohár <pali.rohar@gmail.com> Signed-off-by: Anatolij Gustschin <agust@denx.de>