Changes

Jump to: navigation, search

OOP344 Assignment Two

223 bytes added, 02:48, 2 November 2009
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);
</pre></big>
'''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:<br />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.
framed: if true, IO_Form will use its parent to draw a frame around itself when<hr width="50%" />====Destructor====
display<big><pre>virtual ~IO_Form()ed;row</pre></big>When '''IO_Form''' is going out of scope, colis being destroyed, width and height all '''dynamic''' IO_Fields are passed to deleted. (the parent under following conditions: if framed is true and width or height are 0 (zerorest will not be deallocated) then the full size of the terminal is used for dimensions of the IO_Frame.
</pre>
</big>
<hr width="50%" />
 
====Privete Methods====

Navigation menu