Changeset 395

Show
Ignore:
Timestamp:
04/14/07 21:01:58 (1 year ago)
Author:
kcathey2
Message:

Added MainController implementation to DarkKitApp. Also included an example of creating a 'DarkSheet'.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/UI_Elements/DarkKitApp/DarkKitApp.xcodeproj/project.pbxproj

    r294 r395  
    9090                C4C0225E0BA1865800B17D07 /* Quartz.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C4C0225C0BA1865800B17D07 /* Quartz.framework */; }; 
    9191                D2F8CE830BA193C000C463D4 /* Build.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = D2F8CE820BA193C000C463D4 /* Build.xcconfig */; }; 
     92                DED5D1A50BD1B8120021BC21 /* MainController.m in Sources */ = {isa = PBXBuildFile; fileRef = DED5D1A40BD1B8120021BC21 /* MainController.m */; }; 
    9293/* End PBXBuildFile section */ 
     94 
     95/* Begin PBXBuildStyle section */ 
     96                DED5D16C0BD1B65F0021BC21 /* Development */ = { 
     97                        isa = PBXBuildStyle; 
     98                        buildSettings = { 
     99                                COPY_PHASE_STRIP = NO; 
     100                        }; 
     101                        name = Development; 
     102                }; 
     103                DED5D16D0BD1B65F0021BC21 /* Deployment */ = { 
     104                        isa = PBXBuildStyle; 
     105                        buildSettings = { 
     106                                COPY_PHASE_STRIP = YES; 
     107                        }; 
     108                        name = Deployment; 
     109                }; 
     110/* End PBXBuildStyle section */ 
    93111 
    94112/* Begin PBXContainerItemProxy section */ 
     
    162180                C4C0225C0BA1865800B17D07 /* Quartz.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Quartz.framework; path = /System/Library/Frameworks/Quartz.framework; sourceTree = "<absolute>"; }; 
    163181                D2F8CE820BA193C000C463D4 /* Build.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = Build.xcconfig; sourceTree = "<group>"; }; 
     182                DED5D1A30BD1B8120021BC21 /* MainController.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = MainController.h; sourceTree = "<group>"; }; 
     183                DED5D1A40BD1B8120021BC21 /* MainController.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; path = MainController.m; sourceTree = "<group>"; }; 
    164184/* End PBXFileReference section */ 
    165185 
     
    225245                                C4971DA80B9A2C3C00E57A56 /* DarkKit-Info.plist */, 
    226246                                D2F8CE820BA193C000C463D4 /* Build.xcconfig */, 
     247                                DED5D1A30BD1B8120021BC21 /* MainController.h */, 
     248                                DED5D1A40BD1B8120021BC21 /* MainController.m */, 
    227249                        ); 
    228250                        name = DarkKitApp; 
     
    414436                        isa = PBXProject; 
    415437                        buildConfigurationList = C01FCF4E08A954540054247B /* Build configuration list for PBXProject "DarkKitApp" */; 
     438                        buildSettings = { 
     439                        }; 
     440                        buildStyles = ( 
     441                                DED5D16C0BD1B65F0021BC21 /* Development */, 
     442                                DED5D16D0BD1B65F0021BC21 /* Deployment */, 
     443                        ); 
    416444                        hasScannedForEncodings = 1; 
    417445                        mainGroup = 29B97314FDCFA39411CA2CEA /* DarkKitApp */; 
     
    495523                                C4C021FD0BA1856200B17D07 /* DKThemeFrame.m in Sources */, 
    496524                                C4C021FE0BA1856200B17D07 /* DKWindow.m in Sources */, 
     525                                DED5D1A50BD1B8120021BC21 /* MainController.m in Sources */, 
    497526                        ); 
    498527                        runOnlyForDeploymentPostprocessing = 0; 
  • trunk/UI_Elements/DarkKitApp/English.lproj/MainMenu.nib/classes.nib

    r195 r395  
    66        {CLASS = FirstResponder; LANGUAGE = ObjC; SUPERCLASS = NSObject; },  
    77        { 
     8            ACTIONS = {endSheet = id; testSheet = id; };  
    89            CLASS = MainController;  
    910            LANGUAGE = ObjC;  
    10             OUTLETS = {slider = DKSlider; };  
     11            OUTLETS = {contentView = NSView; mainWindow = DKWindow; slider = DKSlider; };  
    1112            SUPERCLASS = NSObject;  
    1213        },  
  • trunk/UI_Elements/DarkKitApp/English.lproj/MainMenu.nib/info.nib

    r195 r395  
    44<dict> 
    55        <key>IBDocumentLocation</key> 
    6         <string>320 103 356 240 0 0 1280 778 </string> 
     6        <string>542 180 356 240 0 0 1920 1178 </string> 
    77        <key>IBEditorPositions</key> 
    88        <dict> 
     9                <key>226</key> 
     10                <string>482 816 318 185 0 0 1920 1178 </string> 
    911                <key>29</key> 
    10                 <string>93 263 338 44 0 0 1280 778 </string> 
     12                <string>156 406 338 44 0 0 1920 1178 </string> 
    1113        </dict> 
    1214        <key>IBFramework Version</key> 
    13         <string>446.1</string> 
     15        <string>443.0</string> 
    1416        <key>IBOpenObjects</key> 
    1517        <array> 
    1618                <integer>21</integer> 
     19                <integer>226</integer> 
    1720                <integer>29</integer> 
    1821        </array> 
    1922        <key>IBSystem Version</key> 
    20         <string>8L2127</string> 
     23        <string>8P135</string> 
    2124</dict> 
    2225</plist>