diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2010-09-17 15:45:54 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2010-09-20 08:58:53 +0200 |
commit | a47575911dfc360a95ae41585694c27aeb082f0a (patch) | |
tree | d23e59bc2ff53a3ff6a39964777ae75927fbb98c /Doxyfile | |
parent | 7923392c561136bd7ac3d9e28cc61c18be3a8b3f (diff) | |
download | barebox-a47575911dfc360a95ae41585694c27aeb082f0a.tar.gz barebox-a47575911dfc360a95ae41585694c27aeb082f0a.tar.xz |
Menu: add box style entry
this will allow you to create a box style entry
via C API by specifying the type as
struct menu_entry me = {
.display "test",
.type = MENU_ENTRY_BOX,
.box_state = 1,
.action = action_to_run,
}
and via shell
menu -e -a -m <menu> -c <command> [-R] [-b 0|1] -d <description>
menu -e -a -m <menu> -u submenu -d [-b 0|1] <description>
-b with 0 for not selected and 1 for selected
and -c for the command to run when changing state
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'Doxyfile')
0 files changed, 0 insertions, 0 deletions