[Hdrflow-svn] SF.net SVN: hdrflow: [233] trunk/app/HDRFlow
Status: Pre-Alpha
Brought to you by:
glslang
From: <gl...@us...> - 2007-08-06 19:39:31
|
Revision: 233 http://hdrflow.svn.sourceforge.net/hdrflow/?rev=233&view=rev Author: glslang Date: 2007-08-06 12:38:42 -0700 (Mon, 06 Aug 2007) Log Message: ----------- + Adds bindings to lut popup button Modified Paths: -------------- trunk/app/HDRFlow/English.lproj/MainMenu.nib/info.nib trunk/app/HDRFlow/English.lproj/MainMenu.nib/keyedobjects.nib trunk/app/HDRFlow/HDRFlowController.h trunk/app/HDRFlow/HDRFlowController.mm Modified: trunk/app/HDRFlow/English.lproj/MainMenu.nib/info.nib =================================================================== --- trunk/app/HDRFlow/English.lproj/MainMenu.nib/info.nib 2007-08-05 20:08:01 UTC (rev 232) +++ trunk/app/HDRFlow/English.lproj/MainMenu.nib/info.nib 2007-08-06 19:38:42 UTC (rev 233) @@ -15,9 +15,9 @@ <string>446.1</string> <key>IBOpenObjects</key> <array> - <integer>266</integer> <integer>21</integer> <integer>29</integer> + <integer>266</integer> </array> <key>IBSystem Version</key> <string>8R2218</string> Modified: trunk/app/HDRFlow/English.lproj/MainMenu.nib/keyedobjects.nib =================================================================== (Binary files differ) Modified: trunk/app/HDRFlow/HDRFlowController.h =================================================================== --- trunk/app/HDRFlow/HDRFlowController.h 2007-08-05 20:08:01 UTC (rev 232) +++ trunk/app/HDRFlow/HDRFlowController.h 2007-08-06 19:38:42 UTC (rev 233) @@ -19,6 +19,7 @@ { NSMutableArray* channels; NSMutableArray* alpha; + NSMutableArray* lut; ScriptEditorController* scriptEditor; PreferencesController* preferences; @@ -30,7 +31,7 @@ - ( id ) init; - ( void ) initScriptEngine; -- ( void ) initChannelsAndAlpha; +- ( void ) initDrawer; - ( BOOL ) acceptsFirstResponder; - ( BOOL ) becomesFirstResponder; Modified: trunk/app/HDRFlow/HDRFlowController.mm =================================================================== --- trunk/app/HDRFlow/HDRFlowController.mm 2007-08-05 20:08:01 UTC (rev 232) +++ trunk/app/HDRFlow/HDRFlowController.mm 2007-08-06 19:38:42 UTC (rev 233) @@ -17,7 +17,7 @@ { [ super init ]; - [ self initChannelsAndAlpha ]; + [ self initDrawer ]; [ self initScriptEngine ]; return self; @@ -36,7 +36,7 @@ engine->eval( [ bootstrap UTF8String ] ); } -- ( void ) initChannelsAndAlpha +- ( void ) initDrawer { channels = [ [ NSMutableArray alloc ] init ]; [ channels addObject: [ [ NSString alloc ] initWithString: @"RGBA" ] ]; @@ -50,6 +50,10 @@ [ alpha addObject: [ [ NSString alloc ] initWithString: @"Red" ] ]; [ alpha addObject: [ [ NSString alloc ] initWithString: @"Green" ] ]; [ alpha addObject: [ [ NSString alloc ] initWithString: @"Blue" ] ]; + + lut = [ [ NSMutableArray alloc ] init ]; + [ lut addObject: [ [ NSString alloc ] initWithString: @"sRGB" ] ]; + [ lut addObject: [ [ NSString alloc ] initWithString: @"Linear" ] ]; } - ( void ) dealloc This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |