Revision: 6343
          http://skim-app.svn.sourceforge.net/skim-app/?rev=6343&view=rev
Author:   hofman
Date:     2010-03-19 00:14:58 +0000 (Fri, 19 Mar 2010)

Log Message:
-----------
use some more array outlets

Modified Paths:
--------------
    trunk/DownloadsWindow.xib
    trunk/NotesPanel.xib
    trunk/SKDownloadController.h
    trunk/SKDownloadController.m
    trunk/SKNotesPanelController.h
    trunk/SKPresentationOptionsSheetController.h
    trunk/SKPresentationOptionsSheetController.m
    trunk/TransitionSheet.xib

Modified: trunk/DownloadsWindow.xib
===================================================================
--- trunk/DownloadsWindow.xib   2010-03-18 22:18:31 UTC (rev 6342)
+++ trunk/DownloadsWindow.xib   2010-03-19 00:14:58 UTC (rev 6343)
@@ -252,7 +252,6 @@
                                                                        
</object>
                                                                        <string 
key="NSFrameSize">{360, 292}</string>
                                                                        
<reference key="NSSuperview" ref="929537651"/>
-                                                                       
<reference key="NSNextKeyView" ref="540499767"/>
                                                                        
<reference key="NSDocView" ref="540499767"/>
                                                                        <object 
class="NSColor" key="NSBGColor">
                                                                                
<int key="NSColorSpace">6</int>
@@ -287,7 +286,6 @@
                                                        </object>
                                                        <string 
key="NSFrame">{{0, 24}, {360, 292}}</string>
                                                        <reference 
key="NSSuperview" ref="560536664"/>
-                                                       <reference 
key="NSNextKeyView" ref="725253566"/>
                                                        <int 
key="NSsFlags">528</int>
                                                        <reference 
key="NSVScroller" ref="769180550"/>
                                                        <reference 
key="NSHScroller" ref="271307095"/>
@@ -506,6 +504,9 @@
                                        <bool 
key="EncodedWithXMLCoder">YES</bool>
                                </object>
                        </object>
+                       <object class="NSCustomObject" id="20119181">
+                               <string key="NSClassName">SKIBArray</string>
+                       </object>
                </object>
                <object class="IBObjectContainer" key="IBDocument.Objects">
                        <object class="NSMutableArray" key="connectionRecords">
@@ -770,30 +771,6 @@
                                </object>
                                <object class="IBConnectionRecord">
                                        <object class="IBOutletConnection" 
key="connection">
-                                               <string 
key="label">showDownloadsCheckButton</string>
-                                               <reference key="source" 
ref="891612343"/>
-                                               <reference key="destination" 
ref="857678725"/>
-                                       </object>
-                                       <int key="connectionID">155</int>
-                               </object>
-                               <object class="IBConnectionRecord">
-                                       <object class="IBOutletConnection" 
key="connection">
-                                               <string 
key="label">hideDownloadsCheckButton</string>
-                                               <reference key="source" 
ref="891612343"/>
-                                               <reference key="destination" 
ref="193807132"/>
-                                       </object>
-                                       <int key="connectionID">156</int>
-                               </object>
-                               <object class="IBConnectionRecord">
-                                       <object class="IBOutletConnection" 
key="connection">
-                                               <string 
key="label">removeDownloadCheckButton</string>
-                                               <reference key="source" 
ref="891612343"/>
-                                               <reference key="destination" 
ref="888578511"/>
-                                       </object>
-                                       <int key="connectionID">157</int>
-                               </object>
-                               <object class="IBConnectionRecord">
-                                       <object class="IBOutletConnection" 
key="connection">
                                                <string 
key="label">doneButton</string>
                                                <reference key="source" 
ref="891612343"/>
                                                <reference key="destination" 
ref="163909938"/>
@@ -840,6 +817,38 @@
                                        </object>
                                        <int key="connectionID">167</int>
                                </object>
+                               <object class="IBConnectionRecord">
+                                       <object class="IBOutletConnection" 
key="connection">
+                                               <string 
key="label">downloadPrefsCheckButtons</string>
+                                               <reference key="source" 
ref="891612343"/>
+                                               <reference key="destination" 
ref="20119181"/>
+                                       </object>
+                                       <int key="connectionID">169</int>
+                               </object>
+                               <object class="IBConnectionRecord">
+                                       <object class="IBOutletConnection" 
key="connection">
+                                               <string 
key="label">object1</string>
+                                               <reference key="source" 
ref="20119181"/>
+                                               <reference key="destination" 
ref="857678725"/>
+                                       </object>
+                                       <int key="connectionID">171</int>
+                               </object>
+                               <object class="IBConnectionRecord">
+                                       <object class="IBOutletConnection" 
key="connection">
+                                               <string 
key="label">object2</string>
+                                               <reference key="source" 
ref="20119181"/>
+                                               <reference key="destination" 
ref="888578511"/>
+                                       </object>
+                                       <int key="connectionID">172</int>
+                               </object>
+                               <object class="IBConnectionRecord">
+                                       <object class="IBOutletConnection" 
key="connection">
+                                               <string 
key="label">object3</string>
+                                               <reference key="source" 
ref="20119181"/>
+                                               <reference key="destination" 
ref="193807132"/>
+                                       </object>
+                                       <int key="connectionID">173</int>
+                               </object>
                        </object>
                        <object class="IBMutableOrderedSet" key="objectRecords">
                                <object class="NSArray" key="orderedObjects">
@@ -1104,6 +1113,12 @@
                                                </object>
                                                <reference key="parent" 
ref="0"/>
                                        </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">168</int>
+                                               <reference key="object" 
ref="20119181"/>
+                                               <reference key="parent" 
ref="0"/>
+                                               <string key="objectName">Prefs 
Check Buttons</string>
+                                       </object>
                                </object>
                        </object>
                        <object class="NSMutableDictionary" 
key="flattenedProperties">
@@ -1140,6 +1155,7 @@
                                        <string>16.ImportedFromIB2</string>
                                        
<string>160.IBEditorWindowLastContentRect</string>
                                        <string>160.IBPluginDependency</string>
+                                       <string>168.IBPluginDependency</string>
                                        <string>17.IBPluginDependency</string>
                                        <string>17.ImportedFromIB2</string>
                                        <string>25.IBPluginDependency</string>
@@ -1214,6 +1230,7 @@
                                        <string>{{84, 714}, {64, 6}}</string>
                                        
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
                                        
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+                                       
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
                                        <boolean value="YES"/>
                                        
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
                                        <boolean value="YES"/>
@@ -1298,7 +1315,7 @@
                                </object>
                        </object>
                        <nil key="sourceID"/>
-                       <int key="maxID">167</int>
+                       <int key="maxID">173</int>
                </object>
                <object class="IBClassDescriber" key="IBDocument.Classes">
                        <object class="NSMutableArray" 
key="referencedPartialClassDescriptions">
@@ -1331,6 +1348,13 @@
                                        </object>
                                </object>
                                <object class="IBPartialClassDescription">
+                                       <string key="className">NSArray</string>
+                                       <object 
class="IBClassDescriptionSource" key="sourceIdentifier">
+                                               <string 
key="majorKey">IBProjectSource</string>
+                                               <string 
key="minorKey">NSArray_SKExtensions.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
                                        <string key="className">NSCell</string>
                                        <string 
key="superclassName">NSObject</string>
                                        <object 
class="IBClassDescriptionSource" key="sourceIdentifier">
@@ -1619,11 +1643,9 @@
                                                        
<string>arrayController</string>
                                                        
<string>clearButton</string>
                                                        
<string>doneButton</string>
-                                                       
<string>hideDownloadsCheckButton</string>
+                                                       
<string>downloadPrefsCheckButtons</string>
                                                        
<string>prefButton</string>
                                                        
<string>preferencesSheet</string>
-                                                       
<string>removeDownloadCheckButton</string>
-                                                       
<string>showDownloadsCheckButton</string>
                                                        
<string>tableView</string>
                                                </object>
                                                <object class="NSMutableArray" 
key="dict.values">
@@ -1631,11 +1653,9 @@
                                                        
<string>NSArrayController</string>
                                                        
<string>NSButton</string>
                                                        
<string>NSButton</string>
+                                                       
<string>SKIBArray</string>
                                                        
<string>NSButton</string>
-                                                       
<string>NSButton</string>
                                                        
<string>NSWindow</string>
-                                                       
<string>NSButton</string>
-                                                       
<string>NSButton</string>
                                                        
<string>SKTableView</string>
                                                </object>
                                        </object>
@@ -1653,6 +1673,33 @@
                                        </object>
                                </object>
                                <object class="IBPartialClassDescription">
+                                       <string 
key="className">SKIBArray</string>
+                                       <string 
key="superclassName">NSArray</string>
+                                       <object class="NSMutableDictionary" 
key="outlets">
+                                               <bool 
key="EncodedWithXMLCoder">YES</bool>
+                                               <object class="NSArray" 
key="dict.sortedKeys">
+                                                       <bool 
key="EncodedWithXMLCoder">YES</bool>
+                                                       <string>object1</string>
+                                                       <string>object2</string>
+                                                       <string>object3</string>
+                                                       <string>object4</string>
+                                                       <string>object5</string>
+                                               </object>
+                                               <object class="NSMutableArray" 
key="dict.values">
+                                                       <bool 
key="EncodedWithXMLCoder">YES</bool>
+                                                       <string>id</string>
+                                                       <string>id</string>
+                                                       <string>id</string>
+                                                       <string>id</string>
+                                                       <string>id</string>
+                                               </object>
+                                       </object>
+                                       <object 
class="IBClassDescriptionSource" key="sourceIdentifier">
+                                               <string 
key="majorKey">IBProjectSource</string>
+                                               <string 
key="minorKey">SKIBArray.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
                                        <string 
key="className">SKProgressCell</string>
                                        <string 
key="superclassName">NSTextFieldCell</string>
                                        <object 
class="IBClassDescriptionSource" key="sourceIdentifier">
@@ -1766,6 +1813,49 @@
                                        </object>
                                </object>
                                <object class="IBPartialClassDescription">
+                                       <string key="className">NSArray</string>
+                                       <string 
key="superclassName">NSObject</string>
+                                       <object 
class="IBClassDescriptionSource" key="sourceIdentifier">
+                                               <string 
key="majorKey">IBFrameworkSource</string>
+                                               <string 
key="minorKey">Foundation.framework/Headers/NSArray.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">NSArray</string>
+                                       <object 
class="IBClassDescriptionSource" key="sourceIdentifier" id="452339427">
+                                               <string 
key="majorKey">IBFrameworkSource</string>
+                                               <string 
key="minorKey">Foundation.framework/Headers/NSKeyValueCoding.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">NSArray</string>
+                                       <object 
class="IBClassDescriptionSource" key="sourceIdentifier" id="200342379">
+                                               <string 
key="majorKey">IBFrameworkSource</string>
+                                               <string 
key="minorKey">Foundation.framework/Headers/NSKeyValueObserving.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">NSArray</string>
+                                       <object 
class="IBClassDescriptionSource" key="sourceIdentifier">
+                                               <string 
key="majorKey">IBFrameworkSource</string>
+                                               <string 
key="minorKey">Foundation.framework/Headers/NSPathUtilities.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">NSArray</string>
+                                       <object 
class="IBClassDescriptionSource" key="sourceIdentifier">
+                                               <string 
key="majorKey">IBFrameworkSource</string>
+                                               <string 
key="minorKey">Foundation.framework/Headers/NSPredicate.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">NSArray</string>
+                                       <object 
class="IBClassDescriptionSource" key="sourceIdentifier">
+                                               <string 
key="majorKey">IBFrameworkSource</string>
+                                               <string 
key="minorKey">Foundation.framework/Headers/NSSortDescriptor.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
                                        <string 
key="className">NSArrayController</string>
                                        <string 
key="superclassName">NSObjectController</string>
                                        <object 
class="IBClassDescriptionSource" key="sourceIdentifier">
@@ -1978,17 +2068,11 @@
                                </object>
                                <object class="IBPartialClassDescription">
                                        <string 
key="className">NSObject</string>
-                                       <object 
class="IBClassDescriptionSource" key="sourceIdentifier">
-                                               <string 
key="majorKey">IBFrameworkSource</string>
-                                               <string 
key="minorKey">Foundation.framework/Headers/NSKeyValueCoding.h</string>
-                                       </object>
+                                       <reference key="sourceIdentifier" 
ref="452339427"/>
                                </object>
                                <object class="IBPartialClassDescription">
                                        <string 
key="className">NSObject</string>
-                                       <object 
class="IBClassDescriptionSource" key="sourceIdentifier">
-                                               <string 
key="majorKey">IBFrameworkSource</string>
-                                               <string 
key="minorKey">Foundation.framework/Headers/NSKeyValueObserving.h</string>
-                                       </object>
+                                       <reference key="sourceIdentifier" 
ref="200342379"/>
                                </object>
                                <object class="IBPartialClassDescription">
                                        <string 
key="className">NSObject</string>

Modified: trunk/NotesPanel.xib
===================================================================
--- trunk/NotesPanel.xib        2010-03-18 22:18:31 UTC (rev 6342)
+++ trunk/NotesPanel.xib        2010-03-19 00:14:58 UTC (rev 6343)
@@ -355,70 +355,6 @@
                                        </object>
                                        <int key="connectionID">30</int>
                                </object>
-                               <object class="IBConnectionRecord">
-                                       <object class="IBOutletConnection" 
key="connection">
-                                               <string 
key="label">textButton</string>
-                                               <reference key="source" 
ref="1057105765"/>
-                                               <reference key="destination" 
ref="703337131"/>
-                                       </object>
-                                       <int key="connectionID">40</int>
-                               </object>
-                               <object class="IBConnectionRecord">
-                                       <object class="IBOutletConnection" 
key="connection">
-                                               <string 
key="label">anchoredButton</string>
-                                               <reference key="source" 
ref="1057105765"/>
-                                               <reference key="destination" 
ref="133672285"/>
-                                       </object>
-                                       <int key="connectionID">41</int>
-                               </object>
-                               <object class="IBConnectionRecord">
-                                       <object class="IBOutletConnection" 
key="connection">
-                                               <string 
key="label">circleButton</string>
-                                               <reference key="source" 
ref="1057105765"/>
-                                               <reference key="destination" 
ref="443330303"/>
-                                       </object>
-                                       <int key="connectionID">42</int>
-                               </object>
-                               <object class="IBConnectionRecord">
-                                       <object class="IBOutletConnection" 
key="connection">
-                                               <string 
key="label">squareButton</string>
-                                               <reference key="source" 
ref="1057105765"/>
-                                               <reference key="destination" 
ref="902083235"/>
-                                       </object>
-                                       <int key="connectionID">43</int>
-                               </object>
-                               <object class="IBConnectionRecord">
-                                       <object class="IBOutletConnection" 
key="connection">
-                                               <string 
key="label">highlightButton</string>
-                                               <reference key="source" 
ref="1057105765"/>
-                                               <reference key="destination" 
ref="116804473"/>
-                                       </object>
-                                       <int key="connectionID">44</int>
-                               </object>
-                               <object class="IBConnectionRecord">
-                                       <object class="IBOutletConnection" 
key="connection">
-                                               <string 
key="label">underlineButton</string>
-                                               <reference key="source" 
ref="1057105765"/>
-                                               <reference key="destination" 
ref="405047916"/>
-                                       </object>
-                                       <int key="connectionID">45</int>
-                               </object>
-                               <object class="IBConnectionRecord">
-                                       <object class="IBOutletConnection" 
key="connection">
-                                               <string 
key="label">strikeOutButton</string>
-                                               <reference key="source" 
ref="1057105765"/>
-                                               <reference key="destination" 
ref="6358933"/>
-                                       </object>
-                                       <int key="connectionID">46</int>
-                               </object>
-                               <object class="IBConnectionRecord">
-                                       <object class="IBOutletConnection" 
key="connection">
-                                               <string 
key="label">lineButton</string>
-                                               <reference key="source" 
ref="1057105765"/>
-                                               <reference key="destination" 
ref="830185264"/>
-                                       </object>
-                                       <int key="connectionID">47</int>
-                               </object>
                        </object>
                        <object class="IBMutableOrderedSet" key="objectRecords">
                                <object class="NSArray" key="orderedObjects">
@@ -767,6 +703,13 @@
                                        <string 
key="className">NSObject</string>
                                        <object 
class="IBClassDescriptionSource" key="sourceIdentifier">
                                                <string 
key="majorKey">IBProjectSource</string>
+                                               <string 
key="minorKey">SKLocalization.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string 
key="className">NSObject</string>
+                                       <object 
class="IBClassDescriptionSource" key="sourceIdentifier">
+                                               <string 
key="majorKey">IBProjectSource</string>
                                                <string 
key="minorKey">SKPDFDocument.h</string>
                                        </object>
                                </object>
@@ -917,36 +860,11 @@
                                </object>
                                <object class="IBPartialClassDescription">
                                        <string 
key="className">SKNotesPanelController</string>
-                                       <string 
key="superclassName">NSWindowController</string>
+                                       <string 
key="superclassName">SKWindowController</string>
                                        <object class="NSMutableDictionary" 
key="actions">
                                                <string 
key="NS.key.0">addNote:</string>
                                                <string 
key="NS.object.0">id</string>
                                        </object>
-                                       <object class="NSMutableDictionary" 
key="outlets">
-                                               <bool 
key="EncodedWithXMLCoder">YES</bool>
-                                               <object class="NSArray" 
key="dict.sortedKeys">
-                                                       <bool 
key="EncodedWithXMLCoder">YES</bool>
-                                                       
<string>anchoredButton</string>
-                                                       
<string>circleButton</string>
-                                                       
<string>highlightButton</string>
-                                                       
<string>lineButton</string>
-                                                       
<string>squareButton</string>
-                                                       
<string>strikeOutButton</string>
-                                                       
<string>textButton</string>
-                                                       
<string>underlineButton</string>
-                                               </object>
-                                               <object class="NSMutableArray" 
key="dict.values">
-                                                       <bool 
key="EncodedWithXMLCoder">YES</bool>
-                                                       
<string>NSButton</string>
-                                                       
<string>NSButton</string>
-                                                       
<string>NSButton</string>
-                                                       
<string>NSButton</string>
-                                                       
<string>NSButton</string>
-                                                       
<string>NSButton</string>
-                                                       
<string>NSButton</string>
-                                                       
<string>NSButton</string>
-                                               </object>
-                                       </object>
                                        <object 
class="IBClassDescriptionSource" key="sourceIdentifier">
                                                <string 
key="majorKey">IBProjectSource</string>
                                                <string 
key="minorKey">SKNotesPanelController.h</string>
@@ -954,12 +872,20 @@
                                </object>
                                <object class="IBPartialClassDescription">
                                        <string 
key="className">SKNotesPanelController</string>
-                                       <string 
key="superclassName">NSWindowController</string>
+                                       <string 
key="superclassName">SKWindowController</string>
                                        <object 
class="IBClassDescriptionSource" key="sourceIdentifier">
                                                <string 
key="majorKey">IBUserSource</string>
                                                <string key="minorKey"/>
                                        </object>
                                </object>
+                               <object class="IBPartialClassDescription">
+                                       <string 
key="className">SKWindowController</string>
+                                       <string 
key="superclassName">NSWindowController</string>
+                                       <object 
class="IBClassDescriptionSource" key="sourceIdentifier">
+                                               <string 
key="majorKey">IBProjectSource</string>
+                                               <string 
key="minorKey">SKWindowController.h</string>
+                                       </object>
+                               </object>
                        </object>
                        <object class="NSMutableArray" 
key="referencedPartialClassDescriptionsV3.2+">
                                <bool key="EncodedWithXMLCoder">YES</bool>

Modified: trunk/SKDownloadController.h
===================================================================
--- trunk/SKDownloadController.h        2010-03-18 22:18:31 UTC (rev 6342)
+++ trunk/SKDownloadController.h        2010-03-19 00:14:58 UTC (rev 6343)
@@ -42,7 +42,7 @@
 #import "SKDownload.h"
 
 
-...@class SKTableView;
+...@class SKTableView, SKIBArray;
 
 @interface SKDownloadController : SKWindowController <SKTableViewDelegate, 
NSTableViewDataSource, SKDownloadDelegate> {
     IBOutlet NSArrayController *arrayController;
@@ -50,9 +50,7 @@
     IBOutlet NSButton *clearButton;
     IBOutlet NSButton *prefButton;
     IBOutlet NSWindow *preferencesSheet;
-    IBOutlet NSButton *showDownloadsCheckButton;
-    IBOutlet NSButton *removeDownloadCheckButton;
-    IBOutlet NSButton *hideDownloadsCheckButton;
+    IBOutlet SKIBArray *downloadPrefsCheckButtons;
     IBOutlet NSButton *doneButton;
     NSMutableArray *downloads;
 }

Modified: trunk/SKDownloadController.m
===================================================================
--- trunk/SKDownloadController.m        2010-03-18 22:18:31 UTC (rev 6342)
+++ trunk/SKDownloadController.m        2010-03-19 00:14:58 UTC (rev 6343)
@@ -46,6 +46,7 @@
 #import "NSString_SKExtensions.h"
 #import "NSMenu_SKExtensions.h"
 #import "NSGeometry_SKExtensions.h"
+#import "SKIBArray.h"
 
 #define PROGRESS_COLUMN 1
 #define RESUME_COLUMN   2
@@ -91,13 +92,15 @@
     [prefButton accessibilitySetOverrideValue:NSLocalizedString(@"Download 
preferences", @"Tool tip message") 
forAttribute:NSAccessibilityDescriptionAttribute];
     
     [clearButton sizeToFit];
-    [showDownloadsCheckButton sizeToFit];
-    [removeDownloadCheckButton sizeToFit];
-    [hideDownloadsCheckButton sizeToFit];
     SKAutoSizeRightButtons([NSArray arrayWithObjects:doneButton, nil]);
     
     NSRect frame = [preferencesSheet frame];
-    frame.size.width = 18.0 + fmaxf(fmaxf(NSMaxX([showDownloadsCheckButton 
frame]), NSMaxX([removeDownloadCheckButton frame])), 
NSMaxX([hideDownloadsCheckButton frame]));
+    frame.size.width = 0.0;
+    for (NSButton *button in downloadPrefsCheckButtons) {
+        [button sizeToFit];
+        frame.size.width = fmax(NSWidth(frame), NSMaxX([button frame]));
+    }
+    frame.size.width += 18.0;
     [preferencesSheet setFrame:frame display:NO];
     
     [self setWindowFrameAutosaveName:SKDownloadsWindowFrameAutosaveName];

Modified: trunk/SKNotesPanelController.h
===================================================================
--- trunk/SKNotesPanelController.h      2010-03-18 22:18:31 UTC (rev 6342)
+++ trunk/SKNotesPanelController.h      2010-03-19 00:14:58 UTC (rev 6343)
@@ -40,16 +40,7 @@
 #import "SKWindowController.h"
 
 
-...@interface SKNotesPanelController : SKWindowController <NSWindowDelegate> {
-    IBOutlet NSButton *textButton;
-    IBOutlet NSButton *anchoredButton;
-    IBOutlet NSButton *circleButton;
-    IBOutlet NSButton *squareButton;
-    IBOutlet NSButton *highlightButton;
-    IBOutlet NSButton *underlineButton;
-    IBOutlet NSButton *strikeOutButton;
-    IBOutlet NSButton *lineButton;
-}
+...@interface SKNotesPanelController : SKWindowController <NSWindowDelegate>
 + (id)sharedController;
 + (BOOL)sharedControllerExists;
 - (IBAction)addNote:(id)sender;

Modified: trunk/SKPresentationOptionsSheetController.h
===================================================================
--- trunk/SKPresentationOptionsSheetController.h        2010-03-18 22:18:31 UTC 
(rev 6342)
+++ trunk/SKPresentationOptionsSheetController.h        2010-03-19 00:14:58 UTC 
(rev 6343)
@@ -47,8 +47,7 @@
     IBOutlet NSPopUpButton *notesDocumentPopUpButton;
     IBOutlet SKThumbnailTableView *tableView;
     IBOutlet NSButton *separateCheckButton;
-    IBOutlet NSBox *transitionBox;
-    IBOutlet NSBox *documentBox;
+    IBOutlet SKIBArray *boxes;
     IBOutlet SKIBArray *transitionLabels;
     IBOutlet SKIBArray *transitionControls;
     IBOutlet SKIBArray *buttons;

Modified: trunk/SKPresentationOptionsSheetController.m
===================================================================
--- trunk/SKPresentationOptionsSheetController.m        2010-03-18 22:18:31 UTC 
(rev 6342)
+++ trunk/SKPresentationOptionsSheetController.m        2010-03-19 00:14:58 UTC 
(rev 6343)
@@ -149,19 +149,8 @@
         frame.size.width += dw;
         [[self window] setFrame:frame display:NO];
         
-        frame = [transitionBox frame];
-        frame.origin.x -= dw;
-        frame.size.width += dw;
-        [transitionBox setFrame:frame];
-        
-        frame = [documentBox frame];
-        frame.origin.x -= dw;
-        frame.size.width += dw;
-        [documentBox setFrame:frame];
-        
-        frame = [separateCheckButton frame];
-        frame.origin.x -= dw;
-        [separateCheckButton setFrame:frame];
+        SKShiftAndResizeViews(boxes, -dw, dw);
+        SKShiftAndResizeViews([NSArray arrayWithObjects:separateCheckButton, 
nil], -dw, 0.0);
     }
     
     // collapse the table

Modified: trunk/TransitionSheet.xib
===================================================================
--- trunk/TransitionSheet.xib   2010-03-18 22:18:31 UTC (rev 6342)
+++ trunk/TransitionSheet.xib   2010-03-19 00:14:58 UTC (rev 6343)
@@ -50,7 +50,7 @@
                                <string 
key="NSWindowContentMaxSize">{1.79769e+308, 1.79769e+308}</string>
                                <string key="NSWindowContentMinSize">{213, 
107}</string>
                                <object class="NSView" key="NSWindowView" 
id="340829660">
-                                       <reference key="NSNextResponder"/>
+                                       <nil key="NSNextResponder"/>
                                        <int key="NSvFlags">256</int>
                                        <object class="NSMutableArray" 
key="NSSubviews">
                                                <bool 
key="EncodedWithXMLCoder">YES</bool>
@@ -59,7 +59,6 @@
                                                        <int 
key="NSvFlags">257</int>
                                                        <string 
key="NSFrame">{{330, 12}, {82, 32}}</string>
                                                        <reference 
key="NSSuperview" ref="340829660"/>
-                                                       <reference 
key="NSWindow"/>
                                                        <int key="NSTag">1</int>
                                                        <bool 
key="NSEnabled">YES</bool>
                                                        <object 
class="NSButtonCell" key="NSCell" id="315005595">
@@ -87,7 +86,6 @@
                                                        <int 
key="NSvFlags">257</int>
                                                        <string 
key="NSFrame">{{248, 12}, {82, 32}}</string>
                                                        <reference 
key="NSSuperview" ref="340829660"/>
-                                                       <reference 
key="NSWindow"/>
                                                        <bool 
key="NSEnabled">YES</bool>
                                                        <object 
class="NSButtonCell" key="NSCell" id="466969999">
                                                                <int 
key="NSCellFlags">67239424</int>
@@ -119,7 +117,6 @@
                                                                                
        <int key="NSvFlags">256</int>
                                                                                
        <string key="NSFrame">{{216, 42}, {50, 22}}</string>
                                                                                
        <reference key="NSSuperview" ref="210267139"/>
-                                                                               
        <reference key="NSWindow"/>
                                                                                
        <bool key="NSEnabled">YES</bool>
                                                                                
        <object class="NSTextFieldCell" key="NSCell" id="980241155">
                                                                                
                <int key="NSCellFlags">-1804468671</int>
@@ -224,7 +221,6 @@
                                                                                
        <int key="NSvFlags">256</int>
                                                                                
        <string key="NSFrame">{{82, 38}, {128, 26}}</string>
                                                                                
        <reference key="NSSuperview" ref="210267139"/>
-                                                                               
        <reference key="NSWindow"/>
                                                                                
        <bool key="NSEnabled">YES</bool>
                                                                                
        <object class="NSSliderCell" key="NSCell" id="720130701">
                                                                                
                <int key="NSCellFlags">67501824</int>
@@ -253,7 +249,6 @@
                                                                                
        <int key="NSvFlags">256</int>
                                                                                
        <string key="NSFrame">{{81, 68}, {188, 26}}</string>
                                                                                
        <reference key="NSSuperview" ref="210267139"/>
-                                                                               
        <reference key="NSWindow"/>
                                                                                
        <bool key="NSEnabled">YES</bool>
                                                                                
        <object class="NSPopUpButtonCell" key="NSCell" id="940202859">
                                                                                
                <int key="NSCellFlags">71433792</int>
@@ -289,7 +284,6 @@
                                                                                
        <int key="NSvFlags">256</int>
                                                                                
        <string key="NSFrame">{{35, 75}, {44, 17}}</string>
                                                                                
        <reference key="NSSuperview" ref="210267139"/>
-                                                                               
        <reference key="NSWindow"/>
                                                                                
        <bool key="NSEnabled">YES</bool>
                                                                                
        <object class="NSTextFieldCell" key="NSCell" id="421398262">
                                                                                
                <int key="NSCellFlags">68288064</int>
@@ -319,7 +313,6 @@
                                                                                
        <int key="NSvFlags">256</int>
                                                                                
        <string key="NSFrame">{{15, 44}, {64, 17}}</string>
                                                                                
        <reference key="NSSuperview" ref="210267139"/>
-                                                                               
        <reference key="NSWindow"/>
                                                                                
        <bool key="NSEnabled">YES</bool>
                                                                                
        <object class="NSTextFieldCell" key="NSCell" id="951139340">
                                                                                
                <int key="NSCellFlags">68288064</int>
@@ -336,7 +329,6 @@
                                                                                
        <int key="NSvFlags">256</int>
                                                                                
        <string key="NSFrame">{{82, 14}, {132, 18}}</string>
                                                                                
        <reference key="NSSuperview" ref="210267139"/>
-                                                                               
        <reference key="NSWindow"/>
                                                                                
        <bool key="NSEnabled">YES</bool>
                                                                                
        <int key="NSNumRows">1</int>
                                                                                
        <int key="NSNumCols">2</int>
@@ -557,7 +549,6 @@
                                                                                
        <int key="NSvFlags">256</int>
                                                                                
        <string key="NSFrame">{{30, 15}, {49, 17}}</string>
                                                                                
        <reference key="NSSuperview" ref="210267139"/>
-                                                                               
        <reference key="NSWindow"/>
                                                                                
        <bool key="NSEnabled">YES</bool>
                                                                                
        <object class="NSTextFieldCell" key="NSCell" id="510896588">
                                                                                
                <int key="NSCellFlags">68288064</int>
@@ -572,12 +563,10 @@
                                                                        
</object>
                                                                        <string 
key="NSFrame">{{1, 1}, {284, 102}}</string>
                                                                        
<reference key="NSSuperview" ref="408977945"/>
-                                                                       
<reference key="NSWindow"/>
                                                                </object>
                                                        </object>
                                                        <string 
key="NSFrame">{{123, 120}, {286, 118}}</string>
                                                        <reference 
key="NSSuperview" ref="340829660"/>
-                                                       <reference 
key="NSWindow"/>
                                                        <string 
key="NSOffsets">{0, 0}</string>
                                                        <object 
class="NSTextFieldCell" key="NSTitleCell">
                                                                <int 
key="NSCellFlags">67239424</int>
@@ -615,7 +604,6 @@
                                                                                
        <int key="NSvFlags">258</int>
                                                                                
        <string key="NSFrame">{{15, 10}, {254, 26}}</string>
                                                                                
        <reference key="NSSuperview" ref="106960449"/>
-                                                                               
        <reference key="NSWindow"/>
                                                                                
        <bool key="NSEnabled">YES</bool>
                                                                                
        <object class="NSPopUpButtonCell" key="NSCell" id="275989702">
                                                                                
                <int key="NSCellFlags">71433792</int>
@@ -666,12 +654,10 @@
                                                                        
</object>
                                                                        <string 
key="NSFrame">{{1, 1}, {284, 44}}</string>
                                                                        
<reference key="NSSuperview" ref="812147241"/>
-                                                                       
<reference key="NSWindow"/>
                                                                </object>
                                                        </object>
                                                        <string 
key="NSFrame">{{123, 56}, {286, 60}}</string>
                                                        <reference 
key="NSSuperview" ref="340829660"/>
-                                                       <reference 
key="NSWindow"/>
                                                        <string 
key="NSOffsets">{0, 0}</string>
                                                        <object 
class="NSTextFieldCell" key="NSTitleCell">
                                                                <int 
key="NSCellFlags">67239424</int>
@@ -695,7 +681,6 @@
                                                        <int 
key="NSvFlags">265</int>
                                                        <string 
key="NSFrame">{{124, 244}, {177, 18}}</string>
                                                        <reference 
key="NSSuperview" ref="340829660"/>
-                                                       <reference 
key="NSWindow"/>
                                                        <bool 
key="NSEnabled">YES</bool>
                                                        <object 
class="NSButtonCell" key="NSCell" id="168094914">
                                                                <int 
key="NSCellFlags">67239424</int>
@@ -733,7 +718,6 @@
                                                                                
        <int key="NSvFlags">4388</int>
                                                                                
        <string key="NSFrameSize">{85, 238}</string>
                                                                                
        <reference key="NSSuperview" ref="975205502"/>
-                                                                               
        <reference key="NSWindow"/>
                                                                                
        <bool key="NSEnabled">YES</bool>
                                                                                
        <object class="_NSCornerView" key="NSCornerView">
                                                                                
                <nil key="NSNextResponder"/>
@@ -831,8 +815,6 @@
                                                                        
</object>
                                                                        <string 
key="NSFrame">{{1, 1}, {85, 238}}</string>
                                                                        
<reference key="NSSuperview" ref="486255841"/>
-                                                                       
<reference key="NSWindow"/>
-                                                                       
<reference key="NSNextKeyView" ref="699445479"/>
                                                                        
<reference key="NSDocView" ref="699445479"/>
                                                                        
<reference key="NSBGColor" ref="244634545"/>
                                                                        <int 
key="NScvFlags">4</int>
@@ -842,7 +824,6 @@
                                                                        <int 
key="NSvFlags">256</int>
                                                                        <string 
key="NSFrame">{{86, 1}, {11, 238}}</string>
                                                                        
<reference key="NSSuperview" ref="486255841"/>
-                                                                       
<reference key="NSWindow"/>
                                                                        <int 
key="NSsFlags">256</int>
                                                                        
<reference key="NSTarget" ref="486255841"/>
                                                                        <string 
key="NSAction">_doScroller:</string>
@@ -853,7 +834,6 @@
                                                                        <int 
key="NSvFlags">-2147483392</int>
                                                                        <string 
key="NSFrame">{{-100, -100}, {128, 15}}</string>
                                                                        
<reference key="NSSuperview" ref="486255841"/>
-                                                                       
<reference key="NSWindow"/>
                                                                        <int 
key="NSsFlags">1</int>
                                                                        
<reference key="NSTarget" ref="486255841"/>
                                                                        <string 
key="NSAction">_doScroller:</string>
@@ -862,8 +842,6 @@
                                                        </object>
                                                        <string 
key="NSFrame">{{20, 20}, {98, 240}}</string>
                                                        <reference 
key="NSSuperview" ref="340829660"/>
-                                                       <reference 
key="NSWindow"/>
-                                                       <reference 
key="NSNextKeyView" ref="975205502"/>
                                                        <int 
key="NSsFlags">18</int>
                                                        <reference 
key="NSVScroller" ref="945944212"/>
                                                        <reference 
key="NSHScroller" ref="89499326"/>
@@ -872,8 +850,6 @@
                                                </object>
                                        </object>
                                        <string key="NSFrameSize">{426, 
280}</string>
-                                       <reference key="NSSuperview"/>
-                                       <reference key="NSWindow"/>
                                </object>
                                <string key="NSScreenRect">{{0, 0}, {1440, 
878}}</string>
                                <string key="NSMinSize">{213, 129}</string>
@@ -917,6 +893,9 @@
                        <object class="NSCustomObject" id="884484200">
                                <string key="NSClassName">SKIBArray</string>
                        </object>
+                       <object class="NSCustomObject" id="1052317583">
+                               <string key="NSClassName">SKIBArray</string>
+                       </object>
                        <object class="NSCustomObject" id="31343295">
                                <string key="NSClassName">SKIBArray</string>
                        </object>
@@ -1197,22 +1176,6 @@
                                        <int key="connectionID">397</int>
                                </object>
                                <object class="IBConnectionRecord">
-                                       <object class="IBOutletConnection" 
key="connection">
-                                               <string 
key="label">documentBox</string>
-                                               <reference key="source" 
ref="809968926"/>
-                                               <reference key="destination" 
ref="812147241"/>
-                                       </object>
-                                       <int key="connectionID">450</int>
-                               </object>
-                               <object class="IBConnectionRecord">
-                                       <object class="IBOutletConnection" 
key="connection">
-                                               <string 
key="label">transitionBox</string>
-                                               <reference key="source" 
ref="809968926"/>
-                                               <reference key="destination" 
ref="408977945"/>
-                                       </object>
-                                       <int key="connectionID">455</int>
-                               </object>
-                               <object class="IBConnectionRecord">
                                        <object class="IBBindingConnection" 
key="connection">
                                                <string key="label">title: 
selection.title</string>
                                                <reference key="source" 
ref="408977945"/>
@@ -1310,14 +1273,6 @@
                                </object>
                                <object class="IBConnectionRecord">
                                        <object class="IBOutletConnection" 
key="connection">
-                                               <string 
key="label">object4</string>
-                                               <reference key="source" 
ref="884484200"/>
-                                               <reference key="destination" 
ref="805440351"/>
-                                       </object>
-                                       <int key="connectionID">473</int>
-                               </object>
-                               <object class="IBConnectionRecord">
-                                       <object class="IBOutletConnection" 
key="connection">
                                                <string 
key="label">transitionLabels</string>
                                                <reference key="source" 
ref="809968926"/>
                                                <reference key="destination" 
ref="210712259"/>
@@ -1356,6 +1311,38 @@
                                        </object>
                                        <int key="connectionID">479</int>
                                </object>
+                               <object class="IBConnectionRecord">
+                                       <object class="IBOutletConnection" 
key="connection">
+                                               <string 
key="label">boxes</string>
+                                               <reference key="source" 
ref="809968926"/>
+                                               <reference key="destination" 
ref="1052317583"/>
+                                       </object>
+                                       <int key="connectionID">485</int>
+                               </object>
+                               <object class="IBConnectionRecord">
+                                       <object class="IBOutletConnection" 
key="connection">
+                                               <string 
key="label">object1</string>
+                                               <reference key="source" 
ref="1052317583"/>
+                                               <reference key="destination" 
ref="408977945"/>
+                                       </object>
+                                       <int key="connectionID">486</int>
+                               </object>
+                               <object class="IBConnectionRecord">
+                                       <object class="IBOutletConnection" 
key="connection">
+                                               <string 
key="label">object2</string>
+                                               <reference key="source" 
ref="1052317583"/>
+                                               <reference key="destination" 
ref="812147241"/>
+                                       </object>
+                                       <int key="connectionID">487</int>
+                               </object>
+                               <object class="IBConnectionRecord">
+                                       <object class="IBOutletConnection" 
key="connection">
+                                               <string 
key="label">object4</string>
+                                               <reference key="source" 
ref="884484200"/>
+                                               <reference key="destination" 
ref="756040004"/>
+                                       </object>
+                                       <int key="connectionID">488</int>
+                               </object>
                        </object>
                        <object class="IBMutableOrderedSet" key="objectRecords">
                                <object class="NSArray" key="orderedObjects">
@@ -1726,6 +1713,12 @@
                                                <reference key="parent" 
ref="0"/>
                                                <string 
key="objectName">Buttons</string>
                                        </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">480</int>
+                                               <reference key="object" 
ref="1052317583"/>
+                                               <reference key="parent" 
ref="0"/>
+                                               <string 
key="objectName">Boxes</string>
+                                       </object>
                                </object>
                        </object>
                        <object class="NSMutableDictionary" 
key="flattenedProperties">
@@ -1795,7 +1788,6 @@
                                        
<string>447.IBShouldRemoveOnLegacySave</string>
                                        <string>448.IBPluginDependency</string>
                                        
<string>448.IBShouldRemoveOnLegacySave</string>
-                                       <string>476.IBPluginDependency</string>
                                        <string>67.IBPluginDependency</string>
                                        <string>67.ImportedFromIB2</string>
                                        <string>68.IBPluginDependency</string>
@@ -1884,7 +1876,6 @@
                                        
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
                                        <boolean value="YES"/>
                                        
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
-                                       
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
                                        <boolean value="YES"/>
                                        
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
                                        <boolean value="YES"/>
@@ -1923,7 +1914,7 @@
                                </object>
                        </object>
                        <nil key="sourceID"/>
-                       <int key="maxID">479</int>
+                       <int key="maxID">488</int>
                </object>
                <object class="IBClassDescriber" key="IBDocument.Classes">
                        <object class="NSMutableArray" 
key="referencedPartialClassDescriptions">
@@ -2266,13 +2257,12 @@
                                                <object class="NSArray" 
key="dict.sortedKeys">
                                                        <bool 
key="EncodedWithXMLCoder">YES</bool>
                                                        
<string>arrayController</string>
+                                                       <string>boxes</string>
                                                        <string>buttons</string>
-                                                       
<string>documentBox</string>
                                                        
<string>notesDocumentPopUpButton</string>
                                                        
<string>objectController</string>
                                                        
<string>separateCheckButton</string>
                                                        
<string>tableView</string>
-                                                       
<string>transitionBox</string>
                                                        
<string>transitionControls</string>
                                                        
<string>transitionLabels</string>
                                                </object>
@@ -2280,12 +2270,11 @@
                                                        <bool 
key="EncodedWithXMLCoder">YES</bool>
                                                        
<string>NSArrayController</string>
                                                        
<string>SKIBArray</string>
-                                                       <string>NSBox</string>
+                                                       
<string>SKIBArray</string>
                                                        
<string>NSPopUpButton</string>
                                                        
<string>NSObjectController</string>
                                                        
<string>NSButton</string>
                                                        
<string>SKThumbnailTableView</string>
-                                                       <string>NSBox</string>
                                                        
<string>SKIBArray</string>
                                                        
<string>SKIBArray</string>
                                                </object>


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to