Lets try to remove any of the superfluous code that came from the copy/paste (including if reasonable, extra includes). http://codereview.appspot.com/4527092/diff/1/samplecode/SampleAnimatedGradien... File samplecode/SampleAnimatedGradient.cpp (right): http://codereview.appspot.com/4527092/diff/1/samplecode/SampleAnimatedGradien... samplecode/SampleAnimatedGradient.cpp:35: Can you safely remove the SK_BUILD_FOR_WIN lines above, and the text below? http://codereview.appspot.com/4527092/diff/1/samplecode/SampleBox.cpp File samplecode/SampleBox.cpp (right): http://codereview.appspot.com/4527092/diff/1/samplecode/SampleBox.cpp#newcode54 samplecode/SampleBox.cpp:54: SkString str("Simple"); Got a better name for the title/subclass? http://codereview.appspot.com/4527092/diff/1/samplecode/SampleSpiral.cpp File samplecode/SampleSpiral.cpp (right): http://codereview.appspot.com/4527092/diff/1/samplecode/SampleSpiral.cpp#newc... samplecode/SampleSpiral.cpp:36: #ifdef SK_BUILD_FOR_WIN kill this WIN code?
http://codereview.appspot.com/4527092/diff/1/samplecode/SampleAnimatedGradien... File samplecode/SampleAnimatedGradient.cpp (right): http://codereview.appspot.com/4527092/diff/1/samplecode/SampleAnimatedGradien... samplecode/SampleAnimatedGradient.cpp:35: On 2011/06/01 14:45:47, reed1 wrote: > Can you safely remove the SK_BUILD_FOR_WIN lines above, and the text below? Done. http://codereview.appspot.com/4527092/diff/1/samplecode/SampleBox.cpp File samplecode/SampleBox.cpp (right): http://codereview.appspot.com/4527092/diff/1/samplecode/SampleBox.cpp#newcode54 samplecode/SampleBox.cpp:54: SkString str("Simple"); On 2011/06/01 14:45:47, reed1 wrote: > Got a better name for the title/subclass? Done. http://codereview.appspot.com/4527092/diff/1/samplecode/SampleSpiral.cpp File samplecode/SampleSpiral.cpp (right): http://codereview.appspot.com/4527092/diff/1/samplecode/SampleSpiral.cpp#newc... samplecode/SampleSpiral.cpp:36: #ifdef SK_BUILD_FOR_WIN On 2011/06/01 14:45:47, reed1 wrote: > kill this WIN code? Done.