Open main menu

CDOT Wiki β

Changes

OOP344 Assignment Two

432 bytes added, 13:13, 7 November 2009
IO_Menu
*'''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)
 
<big><pre>
void display()const;
</pre></big>
<big><pre>
int edit(void);
</pre></big>
<big><pre>
int selectedIndex(void);
</pre></big>
<big><pre>
void selectedIndex(int);
</pre></big>
<big><pre>
bool editable()const;
</pre></big>
<big><pre>
void set(const void *flags);
</pre></big>
<big><pre>
void set(int index);
</pre></big>
<big><pre>
bool operator[](unsigned int index);
</pre></big>
<big><pre>
int length(void);
</pre></big>
---incomplete---