Open main menu

CDOT Wiki β

Changes

OOP344 Assignment Two

439 bytes added, 08:19, 17 November 2009
Public Methods
void display()const;
</pre></big>
*display every item in one line. It first call the IO_Frame's display(), using _owner->getTop() and _owner->getLeft() as its topOffset and leftOffset arguments. Then display the checkbox and check item.
 
<big><pre>
int edit(void);
</pre></big>
*This function can change the status for each check item. Use UPKEY and DOWNKEY to select the individual check item, SPACE key to toggle the check status, and other keys to exit the edit mode. This function return the last key value.
 
<big><pre>
int selectedIndex(void);
1
edit