commit | fc9d64ffcd94c1e22675830eae13956cc4fd822d | [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 | 009d75ccc11d27b9a083375a88bb93cb746b4800 [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>