[Hdrflow-svn] SF.net SVN: hdrflow: [179] trunk/app/HDRFlow
Status: Pre-Alpha
Brought to you by:
glslang
|
From: <gl...@us...> - 2007-07-10 22:19:17
|
Revision: 179
http://hdrflow.svn.sourceforge.net/hdrflow/?rev=179&view=rev
Author: glslang
Date: 2007-07-10 15:19:16 -0700 (Tue, 10 Jul 2007)
Log Message:
-----------
+Script Editor actions
Modified Paths:
--------------
trunk/app/HDRFlow/English.lproj/MainMenu.nib/info.nib
trunk/app/HDRFlow/English.lproj/MainMenu.nib/keyedobjects.nib
trunk/app/HDRFlow/English.lproj/ScriptEditor.nib/classes.nib
trunk/app/HDRFlow/English.lproj/ScriptEditor.nib/keyedobjects.nib
trunk/app/HDRFlow/HDRFlowController.m
trunk/app/HDRFlow/ScriptEditorController.h
trunk/app/HDRFlow/ScriptEditorController.mm
Modified: trunk/app/HDRFlow/English.lproj/MainMenu.nib/info.nib
===================================================================
--- trunk/app/HDRFlow/English.lproj/MainMenu.nib/info.nib 2007-07-08 20:52:19 UTC (rev 178)
+++ trunk/app/HDRFlow/English.lproj/MainMenu.nib/info.nib 2007-07-10 22:19:16 UTC (rev 179)
@@ -13,8 +13,8 @@
<string>446.1</string>
<key>IBOpenObjects</key>
<array>
+ <integer>21</integer>
<integer>29</integer>
- <integer>21</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/English.lproj/ScriptEditor.nib/classes.nib
===================================================================
--- trunk/app/HDRFlow/English.lproj/ScriptEditor.nib/classes.nib 2007-07-08 20:52:19 UTC (rev 178)
+++ trunk/app/HDRFlow/English.lproj/ScriptEditor.nib/classes.nib 2007-07-10 22:19:16 UTC (rev 179)
@@ -2,8 +2,10 @@
IBClasses = (
{CLASS = FirstResponder; LANGUAGE = ObjC; SUPERCLASS = NSObject; },
{
+ ACTIONS = {clearScript = id; executeScript = id; };
CLASS = ScriptEditorController;
LANGUAGE = ObjC;
+ OUTLETS = {"scriptEdit_" = id; };
SUPERCLASS = NSWindowController;
}
);
Modified: trunk/app/HDRFlow/English.lproj/ScriptEditor.nib/keyedobjects.nib
===================================================================
(Binary files differ)
Modified: trunk/app/HDRFlow/HDRFlowController.m
===================================================================
--- trunk/app/HDRFlow/HDRFlowController.m 2007-07-08 20:52:19 UTC (rev 178)
+++ trunk/app/HDRFlow/HDRFlowController.m 2007-07-10 22:19:16 UTC (rev 179)
@@ -11,6 +11,13 @@
#pragma mark ---- IB actions ----
+- ( void ) openPanelDidEnd: ( NSOpenPanel* ) panel returnCode: ( int ) rc contextInfo: ( void* ) ctx
+{
+ if( rc == NSOKButton )
+ {
+ }
+}
+
- ( IBAction ) fileOpen: ( id ) sender
{
NSOpenPanel* openPanel = [ NSOpenPanel openPanel ];
@@ -30,13 +37,6 @@
contextInfo: nil ];
}
-- ( void ) openPanelDidEnd: ( NSOpenPanel* ) panel returnCode: ( int ) rc contextInfo: ( void* ) ctx
-{
- if( rc == NSOKButton )
- {
- }
-}
-
- ( IBAction ) scriptEditor: ( id ) sender
{
if( scriptEditor == nil )
Modified: trunk/app/HDRFlow/ScriptEditorController.h
===================================================================
--- trunk/app/HDRFlow/ScriptEditorController.h 2007-07-08 20:52:19 UTC (rev 178)
+++ trunk/app/HDRFlow/ScriptEditorController.h 2007-07-10 22:19:16 UTC (rev 179)
@@ -9,6 +9,10 @@
@interface ScriptEditorController : NSWindowController
{
+ IBOutlet NSTextView* scriptEdit_;
}
+- ( IBAction ) executeScript: ( id ) sender;
+- ( IBAction ) clearScript: ( id ) sender;
+
@end
Modified: trunk/app/HDRFlow/ScriptEditorController.mm
===================================================================
--- trunk/app/HDRFlow/ScriptEditorController.mm 2007-07-08 20:52:19 UTC (rev 178)
+++ trunk/app/HDRFlow/ScriptEditorController.mm 2007-07-10 22:19:16 UTC (rev 179)
@@ -9,4 +9,14 @@
@implementation ScriptEditorController
+- ( IBAction ) executeScript: ( id ) sender
+{
+}
+
+- ( IBAction ) clearScript: ( id ) sender
+{
+ [ scriptEdit_ setString: @""];
+ [ scriptEdit_ setNeedsDisplay: YES];
+}
+
@end
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|