Changeset 389

Show
Ignore:
Timestamp:
04/14/07 17:19:19 (1 year ago)
Author:
mronge2
Message:

Added TimelineController, it is a controller in the nib

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/LaserLine_2.0/English.lproj/MainMenu.nib/classes.nib

    r388 r389  
    3838                renderView = LZRenderedFrameView;  
    3939                splitViewBottom = LZSplitView;  
    40                 splitViewTop = LZSplitView;  
    41                 timelineView = TLView;  
     40                timelineController = TimelineController;  
    4241            };  
    4342            SUPERCLASS = NSObject;  
     
    5453            OUTLETS = {aSideMenu = TLSideMenu; };  
    5554            SUPERCLASS = NSView;  
     55        },  
     56        { 
     57            CLASS = TimelineController;  
     58            LANGUAGE = ObjC;  
     59            OUTLETS = {timelineView = TLView; };  
     60            SUPERCLASS = NSObject;  
    5661        } 
    5762    );  
  • trunk/LaserLine_2.0/English.lproj/MainMenu.nib/info.nib

    r388 r389  
    88        <dict> 
    99                <key>29</key> 
    10                 <string>197 692 355 44 0 0 1440 878 </string> 
     10                <string>241 816 355 44 0 0 1680 1028 </string> 
    1111        </dict> 
    1212        <key>IBFramework Version</key> 
     
    1818        <key>IBOpenObjects</key> 
    1919        <array> 
    20                 <integer>21</integer> 
     20                <integer>29</integer> 
    2121                <integer>333</integer> 
    22                 <integer>29</integer> 
    2322                <integer>312</integer> 
    2423        </array> 
  • trunk/LaserLine_2.0/LaserLine_2.0.xcodeproj/project.pbxproj

    r388 r389  
    8383                F8A6D5830B78592500652C81 /* ILDAtypes.c in Sources */ = {isa = PBXBuildFile; fileRef = F8A6D5800B78592500652C81 /* ILDAtypes.c */; }; 
    8484                F8BCE3870BA175A10027E9F6 /* LZRenderedFrameView.m in Sources */ = {isa = PBXBuildFile; fileRef = F8BCE3850BA175A10027E9F6 /* LZRenderedFrameView.m */; }; 
     85                FFFB32650BD1883F00A70269 /* TimelineController.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = FFFB32630BD1883F00A70269 /* TimelineController.h */; }; 
     86                FFFB32660BD1883F00A70269 /* TimelineController.m in Sources */ = {isa = PBXBuildFile; fileRef = FFFB32640BD1883F00A70269 /* TimelineController.m */; }; 
    8587/* End PBXBuildFile section */ 
    8688 
     
    153155                                A83D1CF20BAA1EA800E8271A /* LZFrameObject.h in CopyFiles */, 
    154156                                A8B721770BD0C07B004603BE /* LZRect.h in CopyFiles */, 
     157                                FFFB32650BD1883F00A70269 /* TimelineController.h in CopyFiles */, 
    155158                        ); 
    156159                        runOnlyForDeploymentPostprocessing = 0; 
     
    270273                F8BCE3850BA175A10027E9F6 /* LZRenderedFrameView.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; name = LZRenderedFrameView.m; path = Src/Interface/LZRenderedFrameView.m; sourceTree = SOURCE_ROOT; }; 
    271274                F8ED936B0B913A6D00FB453A /* easylase.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = easylase.h; path = ../ILDAInspector/easylase.h; sourceTree = SOURCE_ROOT; }; 
     275                FFFB32630BD1883F00A70269 /* TimelineController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TimelineController.h; sourceTree = "<group>"; }; 
     276                FFFB32640BD1883F00A70269 /* TimelineController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = TimelineController.m; sourceTree = "<group>"; }; 
    272277/* End PBXFileReference section */ 
    273278 
     
    293298                        isa = PBXGroup; 
    294299                        children = ( 
     300                                FFFB32630BD1883F00A70269 /* TimelineController.h */, 
     301                                FFFB32640BD1883F00A70269 /* TimelineController.m */, 
    295302                                F8A6D5790B784D9400652C81 /* MainController.h */, 
    296303                                F8A6D57A0B784D9400652C81 /* MainController.m */, 
     
    697704                                A83D1CF30BAA1EA800E8271A /* LZFrameObject.m in Sources */, 
    698705                                A8B721760BD0C07B004603BE /* LZRect.m in Sources */, 
     706                                FFFB32660BD1883F00A70269 /* TimelineController.m in Sources */, 
    699707                        ); 
    700708                        runOnlyForDeploymentPostprocessing = 0; 
  • trunk/LaserLine_2.0/Src/MainController.h

    r388 r389  
    44@class OutputController, TLView, LZTimeline, LZSplitView, LZControlView; 
    55@class LZRenderedFrameView, LZSequenceableElement, LZLayer; 
     6@class TimelineController; 
    67 
    78@interface MainController : NSObject { 
    8         IBOutlet TLView *timelineView; 
    99        IBOutlet LZSplitView *splitViewBottom; 
    1010        IBOutlet LZSplitView *splitViewTop; 
    1111        IBOutlet LZControlView *controlView; 
    12          
    1312        IBOutlet LZRenderedFrameView *renderView; 
    1413         
    15         LZTimeline *timeline; 
     14        IBOutlet TimelineController *timelineController; 
     15         
    1616        LZLayer *layer; 
    1717        OutputController *output; 
  • trunk/LaserLine_2.0/Src/MainController.m

    r388 r389  
    2525        self = [super init]; 
    2626        if(self) { 
    27                 timeline = [[LZTimeline alloc] init]; 
     27                LZTimeline *timeline = [timelineController timeline]; 
    2828                layer = [[LZLayer alloc] init]; 
    29                  
     29 
    3030                [timeline addTrack:[LZTrack track]]; 
    3131                [[[timeline tracks] objectAtIndex:0] addLayer:layer]; 
     
    6464- (void)dealloc { 
    6565        [output release]; 
    66         [timeline release]; 
    6766        [super dealloc]; 
    6867}