Open main menu

CDOT Wiki β

Changes

The CIO Framework - OOP344 20123

4,614 bytes added, 13:03, 23 November 2012
no edit summary
</syntaxhighlight></big>
Casts the return value of CFrame::frame() to a CDialog pointer and returns it.
===CField Complied Object Files===* [http://matrix.senecac.on.ca/~fardad.soleimanloo/files/classObjs/linux/cfield.zip Linux]* [http://matrix.senecac.on.ca/~fardad.soleimanloo/files/classObjs/mac/cfield.zip Mac]* [http://matrix.senecac.on.ca/~fardad.soleimanloo/files/classObjs/borland/cfield.zip Borland C++ 5.5]* [http://matrix.senecac.on.ca/~fardad.soleimanloo/files/classObjs/vc/cfield.zip Visual C++ 10]
==CLabel==
A readonly Field that encapsulates console.display() function. (i.e it is responsible to display a short character string on the display) CLabel although, by inheritance is Frame, but it is never '''bordered'''.
if width() is greater than zero, it will copy the string pointed by str into the string pointed by _data upto width characters.
if width() is zero,<br /> It will delete the memory pointed by _data and reallocates enough memory for str and copies the string pointed by str into the newly allocated memory pointed by _data.
===CLabel Complied Object Files===* [http://matrix.senecac.on.ca/~fardad.soleimanloo/files/classObjs/linux/clabel.zip Linux]* [http://matrix.senecac.on.ca/~fardad.soleimanloo/files/classObjs/mac/clabel.zip Mac]* [http://matrix.senecac.on.ca/~fardad.soleimanloo/files/classObjs/borland/clabel.zip Borland C++ 5.5]* [http://matrix.senecac.on.ca/~fardad.soleimanloo/files/classObjs/vc/clabel.zip Visual C++ 10]
==CDialog==
Organizes CField objects on the screen, displays them and then lets the user edit them one by one.
</syntaxhighlight></big>
Returns the reference of the Field that was just being edited.
===CDialog Complied Object Files===
* [http://matrix.senecac.on.ca/~fardad.soleimanloo/files/classObjs/linux/cdialog.zip Linux]
* [http://matrix.senecac.on.ca/~fardad.soleimanloo/files/classObjs/mac/cdialog.zip Mac]
* [http://matrix.senecac.on.ca/~fardad.soleimanloo/files/classObjs/borland/cdialog.zip Borland C++ 5.5]
* [http://matrix.senecac.on.ca/~fardad.soleimanloo/files/classObjs/vc/cdialog.zip Visual C++ 10]
==CLineEdit==
'''ClineEdit''' encapsulates the console.edit() function of Console class.
</syntaxhighlight></big>
Copies the characters pointed by '''Str''' into the memory pointed by Field's '''_data''' up to '''_maxdatalen''' characters.
===CLineEdit Complied Object Files===* [http://matrix.senecac.on.ca/~fardad.soleimanloo/files/classObjs/linux/clineedit.zip Linux]* [http://matrix.senecac.on.ca/~fardad.soleimanloo/files/classObjs/mac/clineedit.zip Mac]* [http://matrix.senecac.on.ca/~fardad.soleimanloo/files/classObjs/borland/clineedit.zip Borland C++ 5.5]* [http://matrix.senecac.on.ca/~fardad.soleimanloo/files/classObjs/vc/clineedit.zip Visual C++ 10]
==CButton==
Button is a child of CField.
Always returns true
===CButton Complied Object Files===
* [http://matrix.senecac.on.ca/~fardad.soleimanloo/files/classObjs/linux/cbutton.zip Linux]
* [http://matrix.senecac.on.ca/~fardad.soleimanloo/files/classObjs/mac/cbutton.zip Mac]
* [http://matrix.senecac.on.ca/~fardad.soleimanloo/files/classObjs/borland/cbutton.zip Borland C++ 5.5]
* [http://matrix.senecac.on.ca/~fardad.soleimanloo/files/classObjs/vc/cbutton.zip Visual C++ 10]
==CValEdit==
<big><syntaxhighlight lang="cpp">
''Navigation keys are Up key, Down key, Tab key or Enter key.''<br />
''MessageStatus is enumerated in '''cuigh.h'''''
===CValEdit Complied Object Files===* [http://matrix.senecac.on.ca/~fardad.soleimanloo/files/classObjs/linux/cveditline.zip Linux]* [http://matrix.senecac.on.ca/~fardad.soleimanloo/files/classObjs/mac/cveditline.zip Mac]* [http://matrix.senecac.on.ca/~fardad.soleimanloo/files/classObjs/borland/cveditline.zip Borland C++ 5.5]* [http://matrix.senecac.on.ca/~fardad.soleimanloo/files/classObjs/vc/cveditline.zip Visual C++ 10]
==CCheckMark==
<big><syntaxhighlight lang="cpp">
* Overload the operator= and set the _flag to flag
===CCheckMark Complied Object Files===* [http://matrix.senecac.on.ca/~fardad.soleimanloo/files/classObjs/linux/ccheckmark.zip Linux]* [http://matrix.senecac.on.ca/~fardad.soleimanloo/files/classObjs/mac/ccheckmark.zip Mac]* [http://matrix.senecac.on.ca/~fardad.soleimanloo/files/classObjs/borland/ccheckmark.zip Borland C++ 5.5]* [http://matrix.senecac.on.ca/~fardad.soleimanloo/files/classObjs/vc/ccheckmark.zip Visual C++ 10]
==CMenuItem (optional)==
CMenuItem provides a Label that is can be marked as selected by pressing the space bar.
Returns the text of Label
===CMenuItem Complied Object Files===* [http://matrix.senecac.on.ca/~fardad.soleimanloo/files/classObjs/linux/cmenuitem.zip Linux]* [http://matrix.senecac.on.ca/~fardad.soleimanloo/files/classObjs/mac/cmenuitem.zip Mac]* [http://matrix.senecac.on.ca/~fardad.soleimanloo/files/classObjs/borland/cmenuitem.zip Borland C++ 5.5]* [http://matrix.senecac.on.ca/~fardad.soleimanloo/files/classObjs/vc/cmenuitem.zip Visual C++ 10]
==CText==
CText is a CField to edit a multiline text.<br />
===The Text Helper Class===
[https://github.com/Seneca-OOP344/OOP344-20123/tree/master/TextClass Text class]
===CText Complied Object Files===* [http://matrix.senecac.on.ca/~fardad.soleimanloo/files/classObjs/linux/ctext.zip Linux]* [http://matrix.senecac.on.ca/~fardad.soleimanloo/files/classObjs/mac/ctext.zip Mac]* [http://matrix.senecac.on.ca/~fardad.soleimanloo/files/classObjs/borland/ctext.zip Borland C++ 5.5]* [http://matrix.senecac.on.ca/~fardad.soleimanloo/files/classObjs/vc/ctext.zip Visual C++ 10]
==CCheckList==
<big><syntaxhighlight lang="cpp">
returns '''_cnt'''
===CCheckList Complied Object Files===* [http://matrix.senecac.on.ca/~fardad.soleimanloo/files/classObjs/linux/cchecklist.zip Linux]* [http://matrix.senecac.on.ca/~fardad.soleimanloo/files/classObjs/mac/cchecklist.zip Mac]* [http://matrix.senecac.on.ca/~fardad.soleimanloo/files/classObjs/borland/cchecklist.zip Borland C++ 5.5]* [http://matrix.senecac.on.ca/~fardad.soleimanloo/files/classObjs/vc/cchecklist.zip Visual C++ 10]
==CMenu and MNode (optional)==
CMenu is a linked list of MNodes. Providing menu selection for the user in two formats; Drop Down List, or a simple menu.
</syntaxhighlight></big>
returns true if '''_cnt''' is greater than zero
====CMenu Complied Object Files====
* [http://matrix.senecac.on.ca/~fardad.soleimanloo/files/classObjs/linux/cmenu.zip Linux]
* [http://matrix.senecac.on.ca/~fardad.soleimanloo/files/classObjs/mac/cmenu.zip Mac]
* [http://matrix.senecac.on.ca/~fardad.soleimanloo/files/classObjs/borland/cmenu.zip Borland C++ 5.5]
* [http://matrix.senecac.on.ca/~fardad.soleimanloo/files/classObjs/vc/cmenu.zip Visual C++ 10]