Changes

Jump to: navigation, search

OOP344 Assignment Two

19 bytes added, 14:22, 15 November 2009
IO_Menu OOP344 northWind87: Fixed up some sentencing.
==IO_Menu==
IO_Menu is a child of IO_Field and IO_Frame and is responsible to create for creating a menu in which use the user can select one item and submit the selection.
IO_Menu can be organized in two ways, Vertical and Horizontal.
const char* frameChars = _FRAME_MENUS);
</pre></big>
*'''row''' and '''col''' are the top, left of where the menu will be displayed.
*'''items''' is a "newline" separated list of menu items.
*'''selIndex''' is the selected index of the menu, when it is initially displayed.
*'''dir''' is the one of the <big><code>enum MenuDir{Vertical, Horizontal}</code></pre> values defined in io_def.h.*'''format''' is a 2 char, string, holding the surrounding chars of a selected menu item.*'''frameChars''' are the characters building the frame (if the object is framed).
===Public Methods===

Navigation menu