Thursday, December 10, 2009

Destructors for IO_Form class

In class IO_Form destructor specified:
when it is going out of scope all dynamic IO_Fields are deleted. (the rest will not be deallocated).
First we tried to deallocate all dynamic IO_Field from IO_Form destructor, but actually it should be done in IO_Node, and in IO_Form destructor all fields should be deleted. It makes sense and a lot easier to do :)

Wednesday, December 9, 2009

My blog

Apparently if Blog is inactive for a while the owner is not able to access it.
I tried to find a solution how to fix this problem but I could not, so I just created a new blog...
My old blog is here.

IO_Menu and IO_Checklist

I know that some teams including us had some troubles with IO_Menu and O_Checklist. Two functions(getOwnerTop() and getOwnerLeft()) from this classes gave compile error because they never were created in other classes. We spend some time trying to figure out where to create that, then we gave up and asked Fardad.
These functions are a part of IO_Field class, they should return _owner->left and _owner->top()
I hope it helps...