Changes

Jump to: navigation, search

Console Framework Classes 20103 - OOP344

231 bytes added, 17:25, 19 November 2010
Protected
*int absCol()const;
*:it returns the sum of '''col()''' of this border plus all the '''col()'''s of the '''_containter'''s
 
The following are the pseudo code to get absRow( ) and as well as absCol( ):
<pre>
r = _row
Cnt = container
while(Cnt is not null)begin
add Cnt.row to r
set Cnt to Cnt.container
end
return r
</pre>
These two methods return the absolute coordinates of the FWBorder instance. (the row an column with respect to left top corner of the screen). These two functions are used to '''draw''' the border on the screen.
9
edits

Navigation menu