move scanline/blur around.

git-svn-id: svn://qnap.local/TwoTerm/trunk@2016 5590a31f-7b70-45f8-8c82-aa3a8e5f4507
This commit is contained in:
Kelvin Sherlock 2011-02-03 02:42:03 +00:00
parent da35fe1112
commit d035f5e693

View File

@ -118,7 +118,12 @@
//add the scanlines
filter = [[ScanLineFilter new] autorelease];
[filter setValue: [NSNumber numberWithFloat: 1.0] forKey: @"inputDarken"];
[filter setValue: [NSNumber numberWithFloat: 0.025] forKey: @"inputLighten"];
[filters addObject: filter];
//blur it a bit...
@ -127,13 +132,9 @@
[filter setValue: [NSNumber numberWithFloat: 0.33] forKey: @"inputRadius"];
[filters addObject: filter];
//add the scanlines
filter = [[ScanLineFilter new] autorelease];
[filter setValue: [NSNumber numberWithFloat: 0.1] forKey: @"inputStrength"];
[filters addObject: filter];
[self setContentFilters: filters];
}