Open main menu

CDOT Wiki β

Changes

Console UI Core Classes - OOP344 20111

100 bytes added, 09:03, 20 March 2011
CField
==CField==
The code for this class is provided. You must understand and use it to develop your core classes.
 
CField is an abstract base class that encapsulates the commonalities of all Input Outputs Console Fields which are placeable on a CDialog. All Fields could be Framed, therefore a CField is int
<big><syntaxhighlight lang="cpp">
</syntaxhighlight></big>
Sets and Gets the _frame attribute of CFrame by calling CFrame::frame() method. Make sure to cast The CDialog to CFrame when setting and cast CFrame to CDialog when getting
 
==CLabel==
A readonly Field that encapsulates bio_display() function. (i.e it is responsible to display a short character string on the display) CLable although, by inheritance is Frame, but it is never '''bordered'''.