21
edits
Changes
→To Do
* CMenu
===To Do===
* Before starting R0CText:*: Modify '''Console::edit(char *str.6...)''' and add two argument to the argument list; ''IsTextEditor'', ''ReadOnly'':*: ''int Console::edit(char *str, int row, int col, int fieldLength, int maxStrLength, bool* insertMode, int* strOffset, int* curPosition,'' '''bool IsTextEditor = false, bool ReadOnly = false''''')''*:* '''IsTextEditor''': If IsTextEditor is true, then if offset is modified, stop editing and terminate the function returning the last key entered by the user. The easiest way to accomplish this, is as follows:*:*# Save the value of the '''offset''' in a local variable at the very beginning of the main processing loop in the '''edit()''' function.*:*# At the very end of the processing loop, If '''IsTextEditor''' is true, then compare the saved value with the value of offset. If the values are different, then set the termination flag (done) to true. * Before starting CCheckList:
*: Add the following methods to the CCheckMark class
*:: bool radio();
*:: void radio(bool isRadio);
*:: operator bool(); *:: (see class description)
===Due Dates===