Open main menu

CDOT Wiki β

Changes

OOP344 Assignment Two

No change in size, 21:23, 17 November 2009
Public Methods
<big><pre>
void display()const;
</pre></big>
This function displays menu items horizontally or vertically.For vertical menu,
the menu items will be framed.
</pre></big>
<big><pre>
int edit(void);
</pre></big>
This function allows users to navigate through menu items by pressing page down
& up keys for vertical menu and right & left keys for horizontal menu. By
menu item would be displayed then deselected.Other keys just terminates the
function and returns the key.
</pre></big>
<big><pre>
int selectedIndex(void);
1
edit