Open main menu

CDOT Wiki β

Changes

Project A2 20141 - OOP344

371 bytes added, 18:09, 7 March 2014
CField: Added contract functions
=== Contract ===
CField's contract consists of functions that could be used to query the capabilities of an object derived from CField and to perform the basic actions typically required from a window component. These functions are all '''pure virtual'''. The functions are as follows:
* void draw(int)
* int edit() '''[mentioned above]'''
* bool editable() const
* void set(const void*)