9
edits
Changes
→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.