Homework 1, CSE 481b, Winter 2006
Due Tuesday, January 10, 6:00 pm
You may do this assignment on a desktop machine (with the Tablet SDK installed), or on
a tablet. It is recommended that you do atleast part of the assignment in the Tablet PC lab
(AC 003D). The instructor and the TA will schedule some lab hours.
Hello World, Part A
Hello world is that standard first application to write in a new environment.
For the tablet pc version, I would like you to create a program with an inkCollector
that allows the user to write Hello World (or anything else!). Provide controls
to allow changing the color of the ink. Here is a screen shot of my version.
Hello World, Part B
Extend Hello World, with the following enhancements:
- Separate the control area from the ink area with a splitters, so that you can
change the relative sizes of control and ink areas.
- Convert the ink collector to an ink overlay to allow editting and selection, with buttons
to switch between ink, select, and erase modes.
- Have the color button change the color of the selected text. (I had some trouble on this
one until I realized it was necessary to invalidate the ink panel after changing colors)
- Add a track bar to control width of all of the lines. Each time the trackbar changes,
update all the line widths.
Feel free to alter the feature set as you see fit. There is no requirement to reproduce
the sample solution exactly.
Submission By the deadline, post a screenshot of your application to your project portal. With the other members of your team, create an area on your portal for homework submissions (HW1-4), and then individually post your screenshots. Make sure that there is some identifying information (e.g., use your name in the file name). Save the screenshot as a JPG (not a BMP). (Alt-Print Screen to capture the screenshop, open up Paint, paste the screenshop,
and then Save As, setting the format to JPG).
Although we are not that interested in seeing your source code for this assignment - you should use the VSTS version control for your homework - just to start getting experience with the tools.
When you have completed the assignment, send mail to the valentin@cs informing him that the assignment is complete.