Changes

Jump to: navigation, search

OOP344 Assignment Two

550 bytes added, 20:41, 1 November 2009
m
IO_Form
'''IO_Form''' should be able to hold unlimited number of '''IO_Fields'''. (Use either a dynamic array, or linked list structure of '''IO_Fields''' to implement this)
====Constructor====
 
'''IO_Form''' is constructed as follows:
 
<big>
<pre>
IO_Form(bool framed = false,
int row = 0, int col = 0 , int width = 0 , int height = 0,
const char* frameChars = (const char*)0);
 
framed: if true, IO_Form will use its parent to draw a frame around itself when
 
display()ed
row, col, width and height are passed to the parent under following conditions:
if framed is true and width or height are 0 (zero) then the full size of the
terminal is used for dimensions of the IO_Frame.
 
</pre>
</big>
the '''IO_Form''' must be able to add the IO_Field classes to itself one at a time and then provide the user, the means of editing them in order they were added.

Navigation menu