View this PageEdit this PageAttachments to this PageHistory of this PageHomeRecent ChangesSearch the SwikiHelp Guide
Hotspots: Admin Pages | Turn-in Site |
Current Links: Case Final Project Summer 2007

Sum2003-M2: Buttons for Slides and Minimal Photo Manipulation

Now we'll expand the SlideShow class. During a slide show, if the user clicks on the Escape key, she should be put in slide edit mode at the given slide. You should also be able to enter slide edit mode directly using the instance message slideEdit.

In slide edit mode, you are to display the current slide, and buttons with the following functions:

Hints

The below code decreases the amount of redness in each pixel of the picture by 10%.
form := Form fromFileNamed: 'C:\Documents and Settings\Barb Ericson\My Documents\mediasources\mark.jpg'.
1 to: (form width) do: [:x |
  1 to: (form height) do: [:y |
    color := form colorAt: x@y.
    newcolor := Color r: (0.90*color red) g: (color green) b: (color blue).
    form colorAt: x@y put: newcolor]].
(SketchMorph withForm: form) openInWorld.


Ask Questions on Summer 2003 M2 Milestone



In class, please turn-in:

Before class time, turn-in your code using the Summer 2003 Turnin Information with the code 'M2'.



Grading:

Links to this Page