Open main menu

CDOT Wiki β

Changes

The CIO Framework - OOP344 20123

215 bytes added, 18:36, 17 November 2012
Help/Questions
Hi people! Maybe someone can help me -- I am trying to do the copy constructor in CLabel which needs to copy cFrame but CFrame's attribute char_border[9] doesn't have a setter or a getter so far as I can see -- unless I'm misunderstanding something I need to add a getter/setter pair for char_border to CFrame or add a copy constructor that I could use. Does anyone have any suggestions? We can modify CFrame if we want to, right?
Alina - email: [mailto:ashtramwasser1@myseneca.ca ashtramwasser1]
 
I did the CLabel class, for the copy constructor, the base class is CField, the attribute is void* _data, which you can cast to char*. then do deep copy for this data member. Hope this is useful for your question.
===Blog Posts===
1
edit