Changes

Jump to: navigation, search

BIOF 20101 (AS1) - OOP344

2 bytes added, 22:02, 11 February 2010
m
int bio_menuItem(..........)
<big>int bio_menuItem(const char '''*format''', const char '''*menuItem''', int '''row''', int '''col''', int '''len''', int '''*status''');</big>
io_menuItembio_menuItem() allows the user to make a single item selection. '''"*status"''' points to the status of the selection, that can be zero or non-zero. If '''"*status"''' is initially set to anything but zero, bio_menuItem() corrects value to one. '''"*format"''' holds the shape of the selection indicator as bio_displayMenuItem() function.
io_menuItembio_menuItem() begins the selection by displaying the menu item according to its '''“*status”'''using [[#void io displayMenuItem.28...........29|io_displayMenuItem()]]. (Remember that the value of '''"*status"''' is corrected before the editing begins). Then the function waits for the user input.
* If the user input is any of the printable keys (' ' < key <= '~') excluding space, it should be ignored (no action taken), and wait the user to input again.
1
edit

Navigation menu