Course list http://www.c-jump.com/bcc/
Your assignment is to add a status line to the Scratch Pad application you developed in Home work project 5. (If you don't have a usable project, try Lab 21 as a prototype for this home work.)
The status line should have two items:
a label showing the file name picked by the user;
a progress bar animating loading and saving files:
Add File/New menu item to the window. The New menu should delete existing drawing primitives and clear the drawing box. Warn the user if the previous drawing is unsaved:
Use FLTK Fl_Output widget to display the name of the file on the status line.
Use FLTK Fl_Progress to show the progress bar next to the file name.
Position the file name box and the progress bar at bottom of the window, known as a status line. Display file name on the status line. Switch to "unknown.txt" when the application starts or when the user clicks the New menu.
Use timer events to animate the progress bar. The animation begins when the user is loading or saving a drawing. (The animation isn't tied to the time required to load or save a file; rather, it is as purely a cosmetic feature at this stage.)
You must submit the entire project in a single ZIP file.
Importtant! Before creating your ZIP archive:
Delete Debug, Release, and ipch subfolders.
Delete the .SDF file.
Log on to CIS-255 online
On the Main Menu, follow the link to Submit Homework, click Project 6: Scratch Pad status line, and upload your file.
Note: the system will display an 8-digit confirmation number once the file is successfully uploaded. You can save the confirmation number for your own records, but this is not a required step and no further action is needed on your part.