Changes

Jump to: navigation, search

Console UI Core Classes - OOP344 20121

2,347 bytes added, 16:01, 15 February 2012
R0.2
this tester is already in your trunk:<br />
[svn://zenit.senecac.on.ca/oop344/trunk/cioTesters/Test1Frame.cpp Test1Frame.cpp]
==R0.2==
Dialog and Labels
===To Do===
Complete the coding of CField, CLabel and CDialog and then test the project using Test2DialogAndLabel.cpp.<br/>
Workload estimate out of 100:
* CLabel 20%
* CDialog 80%
# First start with creating mockup classes (create the classes with empty methods that do nothing but compiles), you should have 6 files for headers and cpp code, and add them to trunk.
# considering the percentage of the workload, assign tasks to each team member.
# Each team member branch the trunk to start their work.
# communicate with your team members and keep updating your code with their additions, (remember that you have access to their branches)
# keep regular IRC meetings ( you can invite me to your meetings too for advice and help)
# When all done, merge back the additions to trunk.
# Do final test and tag it to R0.2
 
===Due Date===
Friday Feb 24th. 23:59
===Tester===
*[svn://zenit.senecac.on.ca/oop344/trunk/cioTesters/Test2DialogAndLabel.cpp Test2DialogAndLabel.cpp ]
*: on OSX, you can emulate XTerm keyboard settings using [http://iterm.sourceforge.net/ iTerm]/[http://www.iterm2.com/#/section/home ITerm 2]
*: on Matrix, $~fardad.soleimanloo/t2 runs the demo for the test
====Makefile for test 2 on matrix====
*create a file in the root of cio call it '''"makefile"''' and copy the content below:
*: make sure the lines starting with c++ are tabbed once.
*: then at command line issue the command '''"make"''' to complie; the name of the executable will be '''prjexe'''
<big><pre>
t2: console.o cframe.o cfield.o cdialog.o clabel.o Test2DialogAndLabel.o
c++ bconsole.o console.o cframe.o cfield.o cdialog.o clabel.o \
Test2DialogAndLabel.o -lncurses -oprjexe
 
bconsole.o :bconsole.h bconsole.cpp
c++ -c bconsole.cpp
 
console.o: console.cpp console.h bconsole.h
c++ -c console.cpp
 
cframe.o: cframe.cpp cframe.h cuigh.h console.h bconsole.h
c++ -c cframe.cpp
 
cfield.o: cfield.cpp cfield.h cuigh.h cframe.h console.h bconsole.h
c++ -c cfield.cpp
 
cdialog.o: cdialog.cpp cdialog.h cfield.h cuigh.h cframe.h console.h bconsole.h
c++ -c cdialog.cpp
 
clabel.o: clabel.cpp clabel.h cfield.h cframe.h cuigh.h console.h bconsole.h
c++ -c clabel.cpp
 
Test2DialogAndLabel.o: Test2DialogAndLabel.cpp clabel.h cdialog.h cframe.h cuigh.h cfield.h console.h bconsole.h
c++ -c Test2DialogAndLabel.cpp
</pre></big>
 
==CField==
Note: The code for this class is provided. You must understand and use it to develop your core classes.

Navigation menu