Tuesday, November 17, 2009

Assignment 2 progress

Just committed io_field (probably the easiest class for this assignment =P)- it's now done according to spec on wiki. The only kinks I ran into was trying to get the value of

_owner->getTop()
_owner->getLeft()

Since getTop() and getLeft() are functions of io_frame, _owner is an io_form pointer but inherits from io_frame I had to make sure that the inheritance is declared.

My next step is to look through io_checklist because Fardad said that there may be some extra functions that need to be added to io_field.

1 comment:

  1. do you know why you need to point _owner to '->' top? is it just like a 'this' function? I need to use it in IO_edit as well

    ReplyDelete