mirror of
https://github.com/transmission/transmission
synced 2024-12-26 01:27:28 +00:00
add in placeholder code so that AddMagnetWindow can be localized with a strings file after 2.7
This commit is contained in:
parent
497d6f72b8
commit
4e2555dac4
3 changed files with 257 additions and 66 deletions
|
@ -34,6 +34,13 @@
|
|||
IBOutlet NSButton * fStartCheck;
|
||||
IBOutlet NSPopUpButton * fGroupPopUp, * fPriorityPopUp;
|
||||
|
||||
//remove these when switching to auto layout
|
||||
IBOutlet NSTextField * fMagnetLinkLabel;
|
||||
IBOutlet NSTextField * fDownloadToLabel, * fGroupLabel, * fPriorityLabel;
|
||||
IBOutlet NSButton * fChangeDestinationButton;
|
||||
IBOutlet NSBox * fDownloadToBox;
|
||||
IBOutlet NSButton * fAddButton, * fCancelButton;
|
||||
|
||||
Controller * fController;
|
||||
|
||||
Torrent * fTorrent;
|
||||
|
|
|
@ -94,6 +94,67 @@
|
|||
[fLocationField setStringValue: @""];
|
||||
[fLocationImageView setImage: nil];
|
||||
}
|
||||
|
||||
#warning enable after 2.7
|
||||
/*
|
||||
#warning when 10.7-only, switch to auto layout
|
||||
[fMagnetLinkLabel sizeToFit];
|
||||
|
||||
const CGFloat downloadToLabelOldWidth = [fDownloadToLabel frame].size.width;
|
||||
[fDownloadToLabel sizeToFit];
|
||||
const CGFloat changeDestOldWidth = [fChangeDestinationButton frame].size.width;
|
||||
[fChangeDestinationButton sizeToFit];
|
||||
NSRect changeDestFrame = [fChangeDestinationButton frame];
|
||||
changeDestFrame.origin.x -= changeDestFrame.size.width - changeDestOldWidth;
|
||||
[fChangeDestinationButton setFrame: changeDestFrame];
|
||||
|
||||
NSRect downloadToBoxFrame = [fDownloadToBox frame];
|
||||
const CGFloat downloadToBoxSizeDiff = ([fDownloadToLabel frame].size.width - downloadToLabelOldWidth) + (changeDestFrame.size.width - changeDestOldWidth);
|
||||
downloadToBoxFrame.size.width -= downloadToBoxSizeDiff;
|
||||
downloadToBoxFrame.origin.x -= downloadToLabelOldWidth - [fDownloadToLabel frame].size.width;
|
||||
[fDownloadToBox setFrame: downloadToBoxFrame];
|
||||
|
||||
NSRect groupPopUpFrame = [fGroupPopUp frame];
|
||||
NSRect priorityPopUpFrame = [fPriorityPopUp frame];
|
||||
const CGFloat popUpOffset = groupPopUpFrame.origin.x - NSMaxX([fGroupLabel frame]);
|
||||
[fGroupLabel sizeToFit];
|
||||
[fPriorityLabel sizeToFit];
|
||||
NSRect groupLabelFrame = [fGroupLabel frame];
|
||||
NSRect priorityLabelFrame = [fPriorityLabel frame];
|
||||
//first bring them both to the left edge
|
||||
groupLabelFrame.origin.x = MIN(groupLabelFrame.origin.x, priorityLabelFrame.origin.x);
|
||||
priorityLabelFrame.origin.x = MIN(groupLabelFrame.origin.x, priorityLabelFrame.origin.x);
|
||||
//then align on the right
|
||||
const CGFloat labelWidth = MAX(groupLabelFrame.size.width, priorityLabelFrame.size.width);
|
||||
groupLabelFrame.origin.x += labelWidth - groupLabelFrame.size.width;
|
||||
priorityLabelFrame.origin.x += labelWidth - priorityLabelFrame.size.width;
|
||||
groupPopUpFrame.origin.x = NSMaxX(groupLabelFrame) + popUpOffset;
|
||||
priorityPopUpFrame.origin.x = NSMaxX(priorityLabelFrame) + popUpOffset;
|
||||
[fGroupLabel setFrame: groupLabelFrame];
|
||||
[fGroupPopUp setFrame: groupPopUpFrame];
|
||||
[fPriorityLabel setFrame: priorityLabelFrame];
|
||||
[fPriorityPopUp setFrame: priorityPopUpFrame];
|
||||
|
||||
const CGFloat minButtonWidth = 82.0;
|
||||
const CGFloat oldAddButtonWidth = [fAddButton bounds].size.width;
|
||||
const CGFloat oldCancelButtonWidth = [fCancelButton bounds].size.width;
|
||||
#warning add "extra" width that sizeToFit loses
|
||||
[fAddButton sizeToFit];
|
||||
[fCancelButton sizeToFit];
|
||||
NSRect addButtonFrame = [fAddButton frame];
|
||||
NSRect cancelButtonFrame = [fCancelButton frame];
|
||||
CGFloat buttonWidth = MAX(addButtonFrame.size.width, cancelButtonFrame.size.width);
|
||||
buttonWidth = MAX(buttonWidth, minButtonWidth);
|
||||
addButtonFrame.size.width = buttonWidth;
|
||||
cancelButtonFrame.size.width = buttonWidth;
|
||||
const CGFloat addButtonWidthIncrease = buttonWidth - oldAddButtonWidth;
|
||||
addButtonFrame.origin.x -= addButtonWidthIncrease;
|
||||
cancelButtonFrame.origin.x -= addButtonWidthIncrease + (buttonWidth - oldCancelButtonWidth);
|
||||
[fAddButton setFrame: addButtonFrame];
|
||||
[fCancelButton setFrame: cancelButtonFrame];
|
||||
|
||||
[fStartCheck sizeToFit];
|
||||
*/
|
||||
}
|
||||
|
||||
- (void) windowDidLoad
|
||||
|
|
|
@ -2,29 +2,29 @@
|
|||
<archive type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="8.00">
|
||||
<data>
|
||||
<int key="IBDocument.SystemTarget">1060</int>
|
||||
<string key="IBDocument.SystemVersion">11C74</string>
|
||||
<string key="IBDocument.InterfaceBuilderVersion">1938</string>
|
||||
<string key="IBDocument.AppKitVersion">1138.23</string>
|
||||
<string key="IBDocument.HIToolboxVersion">567.00</string>
|
||||
<string key="IBDocument.SystemVersion">12B19</string>
|
||||
<string key="IBDocument.InterfaceBuilderVersion">2549</string>
|
||||
<string key="IBDocument.AppKitVersion">1187</string>
|
||||
<string key="IBDocument.HIToolboxVersion">624.00</string>
|
||||
<object class="NSMutableDictionary" key="IBDocument.PluginVersions">
|
||||
<string key="NS.key.0">com.apple.InterfaceBuilder.CocoaPlugin</string>
|
||||
<string key="NS.object.0">1938</string>
|
||||
<string key="NS.object.0">2549</string>
|
||||
</object>
|
||||
<array key="IBDocument.IntegratedClassDependencies">
|
||||
<string>NSPopUpButton</string>
|
||||
<string>NSButton</string>
|
||||
<string>NSMenu</string>
|
||||
<string>NSButtonCell</string>
|
||||
<string>NSImageView</string>
|
||||
<string>NSTextFieldCell</string>
|
||||
<string>NSBox</string>
|
||||
<string>NSImageCell</string>
|
||||
<string>NSMenuItem</string>
|
||||
<string>NSButton</string>
|
||||
<string>NSButtonCell</string>
|
||||
<string>NSCustomObject</string>
|
||||
<string>NSImageCell</string>
|
||||
<string>NSImageView</string>
|
||||
<string>NSMenu</string>
|
||||
<string>NSMenuItem</string>
|
||||
<string>NSPopUpButton</string>
|
||||
<string>NSPopUpButtonCell</string>
|
||||
<string>NSTextField</string>
|
||||
<string>NSTextFieldCell</string>
|
||||
<string>NSView</string>
|
||||
<string>NSWindowTemplate</string>
|
||||
<string>NSTextField</string>
|
||||
<string>NSPopUpButtonCell</string>
|
||||
</array>
|
||||
<array key="IBDocument.PluginDependencies">
|
||||
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
|
||||
|
@ -75,7 +75,7 @@
|
|||
<reference key="NSNextKeyView" ref="368126870"/>
|
||||
<bool key="NSEnabled">YES</bool>
|
||||
<object class="NSImageCell" key="NSCell" id="376748491">
|
||||
<int key="NSCellFlags">130560</int>
|
||||
<int key="NSCellFlags">134217728</int>
|
||||
<int key="NSCellFlags2">33554432</int>
|
||||
<object class="NSCustomResource" key="NSContents">
|
||||
<string key="NSClassName">NSImage</string>
|
||||
|
@ -86,6 +86,7 @@
|
|||
<int key="NSStyle">0</int>
|
||||
<bool key="NSAnimates">NO</bool>
|
||||
</object>
|
||||
<bool key="NSAllowsLogicalLayoutDirection">NO</bool>
|
||||
<bool key="NSEditable">YES</bool>
|
||||
</object>
|
||||
<object class="NSTextField" id="471778487">
|
||||
|
@ -97,7 +98,7 @@
|
|||
<reference key="NSNextKeyView" ref="270024268"/>
|
||||
<bool key="NSEnabled">YES</bool>
|
||||
<object class="NSTextFieldCell" key="NSCell" id="814218719">
|
||||
<int key="NSCellFlags">67239488</int>
|
||||
<int key="NSCellFlags">67108928</int>
|
||||
<int key="NSCellFlags2">272632320</int>
|
||||
<string key="NSContents">File Name</string>
|
||||
<object class="NSFont" key="NSSupport">
|
||||
|
@ -125,6 +126,7 @@
|
|||
</object>
|
||||
</object>
|
||||
</object>
|
||||
<bool key="NSAllowsLogicalLayoutDirection">NO</bool>
|
||||
</object>
|
||||
<object class="NSButton" id="999003967">
|
||||
<reference key="NSNextResponder" ref="1006"/>
|
||||
|
@ -135,7 +137,7 @@
|
|||
<reference key="NSNextKeyView" ref="533609783"/>
|
||||
<bool key="NSEnabled">YES</bool>
|
||||
<object class="NSButtonCell" key="NSCell" id="282889060">
|
||||
<int key="NSCellFlags">-2080244224</int>
|
||||
<int key="NSCellFlags">-2080374784</int>
|
||||
<int key="NSCellFlags2">0</int>
|
||||
<string key="NSContents">Start when added</string>
|
||||
<object class="NSFont" key="NSSupport" id="728563564">
|
||||
|
@ -144,8 +146,12 @@
|
|||
<int key="NSfFlags">1044</int>
|
||||
</object>
|
||||
<reference key="NSControlView" ref="999003967"/>
|
||||
<int key="NSButtonFlags">1211912703</int>
|
||||
<int key="NSButtonFlags">1211912448</int>
|
||||
<int key="NSButtonFlags2">2</int>
|
||||
<object class="NSCustomResource" key="NSNormalImage">
|
||||
<string key="NSClassName">NSImage</string>
|
||||
<string key="NSResourceName">NSSwitch</string>
|
||||
</object>
|
||||
<object class="NSButtonImageSource" key="NSAlternateImage">
|
||||
<string key="NSImageName">NSSwitch</string>
|
||||
</object>
|
||||
|
@ -154,17 +160,17 @@
|
|||
<int key="NSPeriodicDelay">200</int>
|
||||
<int key="NSPeriodicInterval">25</int>
|
||||
</object>
|
||||
<bool key="NSAllowsLogicalLayoutDirection">NO</bool>
|
||||
</object>
|
||||
<object class="NSButton" id="636183414">
|
||||
<reference key="NSNextResponder" ref="1006"/>
|
||||
<int key="NSvFlags">289</int>
|
||||
<string key="NSFrame">{{306, 12}, {80, 32}}</string>
|
||||
<string key="NSFrame">{{304, 12}, {82, 32}}</string>
|
||||
<reference key="NSSuperview" ref="1006"/>
|
||||
<reference key="NSWindow"/>
|
||||
<reference key="NSNextKeyView"/>
|
||||
<bool key="NSEnabled">YES</bool>
|
||||
<object class="NSButtonCell" key="NSCell" id="772980466">
|
||||
<int key="NSCellFlags">67239424</int>
|
||||
<int key="NSCellFlags">67108864</int>
|
||||
<int key="NSCellFlags2">134217728</int>
|
||||
<string key="NSContents">Add</string>
|
||||
<object class="NSFont" key="NSSupport" id="636816778">
|
||||
|
@ -173,7 +179,7 @@
|
|||
<int key="NSfFlags">16</int>
|
||||
</object>
|
||||
<reference key="NSControlView" ref="636183414"/>
|
||||
<int key="NSButtonFlags">-2038284033</int>
|
||||
<int key="NSButtonFlags">-2038284288</int>
|
||||
<int key="NSButtonFlags2">1</int>
|
||||
<reference key="NSAlternateImage" ref="636816778"/>
|
||||
<string key="NSAlternateContents"/>
|
||||
|
@ -181,22 +187,23 @@
|
|||
<int key="NSPeriodicDelay">200</int>
|
||||
<int key="NSPeriodicInterval">25</int>
|
||||
</object>
|
||||
<bool key="NSAllowsLogicalLayoutDirection">NO</bool>
|
||||
</object>
|
||||
<object class="NSButton" id="533609783">
|
||||
<reference key="NSNextResponder" ref="1006"/>
|
||||
<int key="NSvFlags">289</int>
|
||||
<string key="NSFrame">{{224, 12}, {82, 32}}</string>
|
||||
<string key="NSFrame">{{222, 12}, {82, 32}}</string>
|
||||
<reference key="NSSuperview" ref="1006"/>
|
||||
<reference key="NSWindow"/>
|
||||
<reference key="NSNextKeyView" ref="636183414"/>
|
||||
<bool key="NSEnabled">YES</bool>
|
||||
<object class="NSButtonCell" key="NSCell" id="340651593">
|
||||
<int key="NSCellFlags">67239424</int>
|
||||
<int key="NSCellFlags">67108864</int>
|
||||
<int key="NSCellFlags2">134217728</int>
|
||||
<string key="NSContents">Cancel</string>
|
||||
<reference key="NSSupport" ref="728563564"/>
|
||||
<reference key="NSControlView" ref="533609783"/>
|
||||
<int key="NSButtonFlags">-2038284033</int>
|
||||
<int key="NSButtonFlags">-2038284288</int>
|
||||
<int key="NSButtonFlags2">1</int>
|
||||
<reference key="NSAlternateImage" ref="728563564"/>
|
||||
<string key="NSAlternateContents"/>
|
||||
|
@ -204,6 +211,7 @@
|
|||
<int key="NSPeriodicDelay">200</int>
|
||||
<int key="NSPeriodicInterval">25</int>
|
||||
</object>
|
||||
<bool key="NSAllowsLogicalLayoutDirection">NO</bool>
|
||||
</object>
|
||||
<object class="NSTextField" id="368126870">
|
||||
<reference key="NSNextResponder" ref="1006"/>
|
||||
|
@ -214,7 +222,7 @@
|
|||
<reference key="NSNextKeyView" ref="471778487"/>
|
||||
<bool key="NSEnabled">YES</bool>
|
||||
<object class="NSTextFieldCell" key="NSCell" id="670793942">
|
||||
<int key="NSCellFlags">68288064</int>
|
||||
<int key="NSCellFlags">68157504</int>
|
||||
<int key="NSCellFlags2">272630784</int>
|
||||
<string key="NSContents">Magnet Link</string>
|
||||
<object class="NSFont" key="NSSupport">
|
||||
|
@ -226,6 +234,7 @@
|
|||
<reference key="NSBackgroundColor" ref="729622418"/>
|
||||
<reference key="NSTextColor" ref="932603584"/>
|
||||
</object>
|
||||
<bool key="NSAllowsLogicalLayoutDirection">NO</bool>
|
||||
</object>
|
||||
<object class="NSBox" id="270024268">
|
||||
<reference key="NSNextResponder" ref="1006"/>
|
||||
|
@ -244,11 +253,11 @@
|
|||
<reference key="NSNextKeyView" ref="485847244"/>
|
||||
<bool key="NSEnabled">YES</bool>
|
||||
<object class="NSPopUpButtonCell" key="NSCell" id="693599709">
|
||||
<int key="NSCellFlags">-2076049856</int>
|
||||
<int key="NSCellFlags">-2076180416</int>
|
||||
<int key="NSCellFlags2">2048</int>
|
||||
<reference key="NSSupport" ref="728563564"/>
|
||||
<reference key="NSControlView" ref="711151157"/>
|
||||
<int key="NSButtonFlags">109199615</int>
|
||||
<int key="NSButtonFlags">109199360</int>
|
||||
<int key="NSButtonFlags2">1</int>
|
||||
<string key="NSAlternateContents"/>
|
||||
<string key="NSKeyEquivalent"/>
|
||||
|
@ -266,6 +275,7 @@
|
|||
<bool key="NSAltersState">YES</bool>
|
||||
<int key="NSArrowPosition">2</int>
|
||||
</object>
|
||||
<bool key="NSAllowsLogicalLayoutDirection">NO</bool>
|
||||
</object>
|
||||
<object class="NSButton" id="1065995789">
|
||||
<reference key="NSNextResponder" ref="638974187"/>
|
||||
|
@ -276,7 +286,7 @@
|
|||
<reference key="NSNextKeyView" ref="224369214"/>
|
||||
<bool key="NSEnabled">YES</bool>
|
||||
<object class="NSButtonCell" key="NSCell" id="1009241144">
|
||||
<int key="NSCellFlags">67239424</int>
|
||||
<int key="NSCellFlags">67108864</int>
|
||||
<int key="NSCellFlags2">134348800</int>
|
||||
<string key="NSContents">Change…</string>
|
||||
<object class="NSFont" key="NSSupport" id="26">
|
||||
|
@ -285,7 +295,7 @@
|
|||
<int key="NSfFlags">3100</int>
|
||||
</object>
|
||||
<reference key="NSControlView" ref="1065995789"/>
|
||||
<int key="NSButtonFlags">-2038284033</int>
|
||||
<int key="NSButtonFlags">-2038284288</int>
|
||||
<int key="NSButtonFlags2">1</int>
|
||||
<object class="NSFont" key="NSAlternateImage">
|
||||
<string key="NSName">LucidaGrande</string>
|
||||
|
@ -299,6 +309,7 @@
|
|||
<int key="NSPeriodicDelay">200</int>
|
||||
<int key="NSPeriodicInterval">25</int>
|
||||
</object>
|
||||
<bool key="NSAllowsLogicalLayoutDirection">NO</bool>
|
||||
</object>
|
||||
<object class="NSTextField" id="1059202456">
|
||||
<reference key="NSNextResponder" ref="638974187"/>
|
||||
|
@ -309,7 +320,7 @@
|
|||
<reference key="NSNextKeyView" ref="406479853"/>
|
||||
<bool key="NSEnabled">YES</bool>
|
||||
<object class="NSTextFieldCell" key="NSCell" id="974538373">
|
||||
<int key="NSCellFlags">67239424</int>
|
||||
<int key="NSCellFlags">67108864</int>
|
||||
<int key="NSCellFlags2">272629760</int>
|
||||
<string key="NSContents">Download to:</string>
|
||||
<reference key="NSSupport" ref="728563564"/>
|
||||
|
@ -317,6 +328,7 @@
|
|||
<reference key="NSBackgroundColor" ref="729622418"/>
|
||||
<reference key="NSTextColor" ref="932603584"/>
|
||||
</object>
|
||||
<bool key="NSAllowsLogicalLayoutDirection">NO</bool>
|
||||
</object>
|
||||
<object class="NSTextField" id="485847244">
|
||||
<reference key="NSNextResponder" ref="638974187"/>
|
||||
|
@ -327,7 +339,7 @@
|
|||
<reference key="NSNextKeyView" ref="1049508202"/>
|
||||
<bool key="NSEnabled">YES</bool>
|
||||
<object class="NSTextFieldCell" key="NSCell" id="387612783">
|
||||
<int key="NSCellFlags">67239424</int>
|
||||
<int key="NSCellFlags">67108864</int>
|
||||
<int key="NSCellFlags2">272629760</int>
|
||||
<string key="NSContents">Priority:</string>
|
||||
<reference key="NSSupport" ref="728563564"/>
|
||||
|
@ -335,6 +347,7 @@
|
|||
<reference key="NSBackgroundColor" ref="729622418"/>
|
||||
<reference key="NSTextColor" ref="932603584"/>
|
||||
</object>
|
||||
<bool key="NSAllowsLogicalLayoutDirection">NO</bool>
|
||||
</object>
|
||||
<object class="NSPopUpButton" id="1049508202">
|
||||
<reference key="NSNextResponder" ref="638974187"/>
|
||||
|
@ -345,41 +358,42 @@
|
|||
<reference key="NSNextKeyView" ref="999003967"/>
|
||||
<bool key="NSEnabled">YES</bool>
|
||||
<object class="NSPopUpButtonCell" key="NSCell" id="664513336">
|
||||
<int key="NSCellFlags">-2076049856</int>
|
||||
<int key="NSCellFlags">-2076180416</int>
|
||||
<int key="NSCellFlags2">2048</int>
|
||||
<reference key="NSSupport" ref="728563564"/>
|
||||
<reference key="NSControlView" ref="1049508202"/>
|
||||
<int key="NSButtonFlags">109199615</int>
|
||||
<int key="NSButtonFlags">109199360</int>
|
||||
<int key="NSButtonFlags2">1</int>
|
||||
<string key="NSAlternateContents"/>
|
||||
<string key="NSKeyEquivalent"/>
|
||||
<int key="NSPeriodicDelay">400</int>
|
||||
<int key="NSPeriodicInterval">75</int>
|
||||
<nil key="NSMenuItem"/>
|
||||
<object class="NSMenuItem" key="NSMenuItem" id="434739017">
|
||||
<reference key="NSMenu" ref="842244290"/>
|
||||
<string key="NSTitle">High</string>
|
||||
<string key="NSKeyEquiv"/>
|
||||
<int key="NSMnemonicLoc">2147483647</int>
|
||||
<int key="NSState">1</int>
|
||||
<object class="NSCustomResource" key="NSImage">
|
||||
<string key="NSClassName">NSImage</string>
|
||||
<string key="NSResourceName">PriorityHighTemplate</string>
|
||||
</object>
|
||||
<object class="NSCustomResource" key="NSOnImage" id="257337323">
|
||||
<string key="NSClassName">NSImage</string>
|
||||
<string key="NSResourceName">NSMenuCheckmark</string>
|
||||
</object>
|
||||
<object class="NSCustomResource" key="NSMixedImage" id="922155245">
|
||||
<string key="NSClassName">NSImage</string>
|
||||
<string key="NSResourceName">NSMenuMixedState</string>
|
||||
</object>
|
||||
<string key="NSAction">_popUpItemAction:</string>
|
||||
<reference key="NSTarget" ref="664513336"/>
|
||||
</object>
|
||||
<bool key="NSMenuItemRespectAlignment">YES</bool>
|
||||
<object class="NSMenu" key="NSMenu" id="842244290">
|
||||
<string key="NSTitle">OtherViews</string>
|
||||
<array class="NSMutableArray" key="NSMenuItems">
|
||||
<object class="NSMenuItem" id="434739017">
|
||||
<reference key="NSMenu" ref="842244290"/>
|
||||
<string key="NSTitle">High</string>
|
||||
<string key="NSKeyEquiv"/>
|
||||
<int key="NSMnemonicLoc">2147483647</int>
|
||||
<object class="NSCustomResource" key="NSImage">
|
||||
<string key="NSClassName">NSImage</string>
|
||||
<string key="NSResourceName">PriorityHighTemplate</string>
|
||||
</object>
|
||||
<object class="NSCustomResource" key="NSOnImage" id="257337323">
|
||||
<string key="NSClassName">NSImage</string>
|
||||
<string key="NSResourceName">NSMenuCheckmark</string>
|
||||
</object>
|
||||
<object class="NSCustomResource" key="NSMixedImage" id="922155245">
|
||||
<string key="NSClassName">NSImage</string>
|
||||
<string key="NSResourceName">NSMenuMixedState</string>
|
||||
</object>
|
||||
<string key="NSAction">_popUpItemAction:</string>
|
||||
<reference key="NSTarget" ref="664513336"/>
|
||||
</object>
|
||||
<reference ref="434739017"/>
|
||||
<object class="NSMenuItem" id="347354464">
|
||||
<reference key="NSMenu" ref="842244290"/>
|
||||
<string key="NSTitle">Normal</string>
|
||||
|
@ -418,6 +432,7 @@
|
|||
<bool key="NSAltersState">YES</bool>
|
||||
<int key="NSArrowPosition">2</int>
|
||||
</object>
|
||||
<bool key="NSAllowsLogicalLayoutDirection">NO</bool>
|
||||
</object>
|
||||
<object class="NSTextField" id="224369214">
|
||||
<reference key="NSNextResponder" ref="638974187"/>
|
||||
|
@ -428,7 +443,7 @@
|
|||
<reference key="NSNextKeyView" ref="711151157"/>
|
||||
<bool key="NSEnabled">YES</bool>
|
||||
<object class="NSTextFieldCell" key="NSCell" id="580409040">
|
||||
<int key="NSCellFlags">67239424</int>
|
||||
<int key="NSCellFlags">67108864</int>
|
||||
<int key="NSCellFlags2">272629760</int>
|
||||
<string key="NSContents">Group:</string>
|
||||
<reference key="NSSupport" ref="728563564"/>
|
||||
|
@ -436,6 +451,7 @@
|
|||
<reference key="NSBackgroundColor" ref="729622418"/>
|
||||
<reference key="NSTextColor" ref="932603584"/>
|
||||
</object>
|
||||
<bool key="NSAllowsLogicalLayoutDirection">NO</bool>
|
||||
</object>
|
||||
<object class="NSBox" id="406479853">
|
||||
<reference key="NSNextResponder" ref="638974187"/>
|
||||
|
@ -454,7 +470,7 @@
|
|||
<reference key="NSNextKeyView" ref="1065995789"/>
|
||||
<bool key="NSEnabled">YES</bool>
|
||||
<object class="NSTextFieldCell" key="NSCell" id="925446737">
|
||||
<int key="NSCellFlags">67239488</int>
|
||||
<int key="NSCellFlags">67108928</int>
|
||||
<int key="NSCellFlags2">4327936</int>
|
||||
<string key="NSContents">File</string>
|
||||
<reference key="NSSupport" ref="26"/>
|
||||
|
@ -462,6 +478,7 @@
|
|||
<reference key="NSBackgroundColor" ref="729622418"/>
|
||||
<reference key="NSTextColor" ref="932603584"/>
|
||||
</object>
|
||||
<bool key="NSAllowsLogicalLayoutDirection">NO</bool>
|
||||
</object>
|
||||
<object class="NSImageView" id="726814345">
|
||||
<reference key="NSNextResponder" ref="1033055890"/>
|
||||
|
@ -480,7 +497,7 @@
|
|||
<reference key="NSNextKeyView" ref="698797028"/>
|
||||
<bool key="NSEnabled">YES</bool>
|
||||
<object class="NSImageCell" key="NSCell" id="324048767">
|
||||
<int key="NSCellFlags">130560</int>
|
||||
<int key="NSCellFlags">134217728</int>
|
||||
<int key="NSCellFlags2">33554432</int>
|
||||
<object class="NSCustomResource" key="NSContents">
|
||||
<string key="NSClassName">NSImage</string>
|
||||
|
@ -491,6 +508,7 @@
|
|||
<int key="NSStyle">0</int>
|
||||
<bool key="NSAnimates">NO</bool>
|
||||
</object>
|
||||
<bool key="NSAllowsLogicalLayoutDirection">NO</bool>
|
||||
<bool key="NSEditable">YES</bool>
|
||||
</object>
|
||||
</array>
|
||||
|
@ -506,7 +524,7 @@
|
|||
<reference key="NSNextKeyView" ref="1033055890"/>
|
||||
<string key="NSOffsets">{0, 0}</string>
|
||||
<object class="NSTextFieldCell" key="NSTitleCell">
|
||||
<int key="NSCellFlags">67239424</int>
|
||||
<int key="NSCellFlags">67108864</int>
|
||||
<int key="NSCellFlags2">0</int>
|
||||
<string key="NSContents"/>
|
||||
<reference key="NSSupport" ref="26"/>
|
||||
|
@ -543,7 +561,7 @@
|
|||
<reference key="NSNextKeyView" ref="638974187"/>
|
||||
<string key="NSOffsets">{0, 0}</string>
|
||||
<object class="NSTextFieldCell" key="NSTitleCell">
|
||||
<int key="NSCellFlags">67239424</int>
|
||||
<int key="NSCellFlags">67108864</int>
|
||||
<int key="NSCellFlags2">0</int>
|
||||
<string key="NSContents">Box</string>
|
||||
<reference key="NSSupport" ref="26"/>
|
||||
|
@ -565,7 +583,7 @@
|
|||
<reference key="NSWindow"/>
|
||||
<reference key="NSNextKeyView" ref="887781818"/>
|
||||
</object>
|
||||
<string key="NSScreenRect">{{0, 0}, {1680, 1028}}</string>
|
||||
<string key="NSScreenRect">{{0, 0}, {2560, 1440}}</string>
|
||||
<string key="NSMinSize">{400, 260}</string>
|
||||
<string key="NSMaxSize">{9999, 260}</string>
|
||||
<string key="NSFrameAutosaveName">AddMagnetWindow</string>
|
||||
|
@ -662,6 +680,70 @@
|
|||
</object>
|
||||
<int key="connectionID">99</int>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBOutletConnection" key="connection">
|
||||
<string key="label">fChangeDestinationButton</string>
|
||||
<reference key="source" ref="1001"/>
|
||||
<reference key="destination" ref="1065995789"/>
|
||||
</object>
|
||||
<int key="connectionID">104</int>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBOutletConnection" key="connection">
|
||||
<string key="label">fDownloadToBox</string>
|
||||
<reference key="source" ref="1001"/>
|
||||
<reference key="destination" ref="406479853"/>
|
||||
</object>
|
||||
<int key="connectionID">105</int>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBOutletConnection" key="connection">
|
||||
<string key="label">fDownloadToLabel</string>
|
||||
<reference key="source" ref="1001"/>
|
||||
<reference key="destination" ref="1059202456"/>
|
||||
</object>
|
||||
<int key="connectionID">106</int>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBOutletConnection" key="connection">
|
||||
<string key="label">fGroupLabel</string>
|
||||
<reference key="source" ref="1001"/>
|
||||
<reference key="destination" ref="224369214"/>
|
||||
</object>
|
||||
<int key="connectionID">107</int>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBOutletConnection" key="connection">
|
||||
<string key="label">fMagnetLinkLabel</string>
|
||||
<reference key="source" ref="1001"/>
|
||||
<reference key="destination" ref="368126870"/>
|
||||
</object>
|
||||
<int key="connectionID">108</int>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBOutletConnection" key="connection">
|
||||
<string key="label">fPriorityLabel</string>
|
||||
<reference key="source" ref="1001"/>
|
||||
<reference key="destination" ref="485847244"/>
|
||||
</object>
|
||||
<int key="connectionID">109</int>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBOutletConnection" key="connection">
|
||||
<string key="label">fCancelButton</string>
|
||||
<reference key="source" ref="1001"/>
|
||||
<reference key="destination" ref="533609783"/>
|
||||
</object>
|
||||
<int key="connectionID">110</int>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBOutletConnection" key="connection">
|
||||
<string key="label">fAddButton</string>
|
||||
<reference key="source" ref="1001"/>
|
||||
<reference key="destination" ref="636183414"/>
|
||||
</object>
|
||||
<int key="connectionID">111</int>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBOutletConnection" key="connection">
|
||||
<string key="label">delegate</string>
|
||||
|
@ -1011,7 +1093,7 @@
|
|||
<nil key="activeLocalization"/>
|
||||
<dictionary class="NSMutableDictionary" key="localizations"/>
|
||||
<nil key="sourceID"/>
|
||||
<int key="maxID">103</int>
|
||||
<int key="maxID">111</int>
|
||||
</object>
|
||||
<object class="IBClassDescriber" key="IBDocument.Classes">
|
||||
<array class="NSMutableArray" key="referencedPartialClassDescriptions">
|
||||
|
@ -1019,14 +1101,46 @@
|
|||
<string key="className">AddMagnetWindowController</string>
|
||||
<string key="superclassName">NSWindowController</string>
|
||||
<dictionary class="NSMutableDictionary" key="outlets">
|
||||
<string key="fAddButton">NSButton</string>
|
||||
<string key="fCancelButton">NSButton</string>
|
||||
<string key="fChangeDestinationButton">NSButton</string>
|
||||
<string key="fDownloadToBox">NSBox</string>
|
||||
<string key="fDownloadToLabel">NSTextField</string>
|
||||
<string key="fGroupLabel">NSTextField</string>
|
||||
<string key="fGroupPopUp">NSPopUpButton</string>
|
||||
<string key="fLocationField">NSTextField</string>
|
||||
<string key="fLocationImageView">NSImageView</string>
|
||||
<string key="fMagnetLinkLabel">NSTextField</string>
|
||||
<string key="fNameField">NSTextField</string>
|
||||
<string key="fPriorityLabel">NSTextField</string>
|
||||
<string key="fPriorityPopUp">NSPopUpButton</string>
|
||||
<string key="fStartCheck">NSButton</string>
|
||||
</dictionary>
|
||||
<dictionary class="NSMutableDictionary" key="toOneOutletInfosByName">
|
||||
<object class="IBToOneOutletInfo" key="fAddButton">
|
||||
<string key="name">fAddButton</string>
|
||||
<string key="candidateClassName">NSButton</string>
|
||||
</object>
|
||||
<object class="IBToOneOutletInfo" key="fCancelButton">
|
||||
<string key="name">fCancelButton</string>
|
||||
<string key="candidateClassName">NSButton</string>
|
||||
</object>
|
||||
<object class="IBToOneOutletInfo" key="fChangeDestinationButton">
|
||||
<string key="name">fChangeDestinationButton</string>
|
||||
<string key="candidateClassName">NSButton</string>
|
||||
</object>
|
||||
<object class="IBToOneOutletInfo" key="fDownloadToBox">
|
||||
<string key="name">fDownloadToBox</string>
|
||||
<string key="candidateClassName">NSBox</string>
|
||||
</object>
|
||||
<object class="IBToOneOutletInfo" key="fDownloadToLabel">
|
||||
<string key="name">fDownloadToLabel</string>
|
||||
<string key="candidateClassName">NSTextField</string>
|
||||
</object>
|
||||
<object class="IBToOneOutletInfo" key="fGroupLabel">
|
||||
<string key="name">fGroupLabel</string>
|
||||
<string key="candidateClassName">NSTextField</string>
|
||||
</object>
|
||||
<object class="IBToOneOutletInfo" key="fGroupPopUp">
|
||||
<string key="name">fGroupPopUp</string>
|
||||
<string key="candidateClassName">NSPopUpButton</string>
|
||||
|
@ -1039,10 +1153,18 @@
|
|||
<string key="name">fLocationImageView</string>
|
||||
<string key="candidateClassName">NSImageView</string>
|
||||
</object>
|
||||
<object class="IBToOneOutletInfo" key="fMagnetLinkLabel">
|
||||
<string key="name">fMagnetLinkLabel</string>
|
||||
<string key="candidateClassName">NSTextField</string>
|
||||
</object>
|
||||
<object class="IBToOneOutletInfo" key="fNameField">
|
||||
<string key="name">fNameField</string>
|
||||
<string key="candidateClassName">NSTextField</string>
|
||||
</object>
|
||||
<object class="IBToOneOutletInfo" key="fPriorityLabel">
|
||||
<string key="name">fPriorityLabel</string>
|
||||
<string key="candidateClassName">NSTextField</string>
|
||||
</object>
|
||||
<object class="IBToOneOutletInfo" key="fPriorityPopUp">
|
||||
<string key="name">fPriorityPopUp</string>
|
||||
<string key="candidateClassName">NSPopUpButton</string>
|
||||
|
@ -1067,15 +1189,16 @@
|
|||
</object>
|
||||
<object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDependencyDefaults">
|
||||
<string key="NS.key.0">com.apple.InterfaceBuilder.CocoaPlugin.macosx</string>
|
||||
<real value="1070" key="NS.object.0"/>
|
||||
<real value="1080" key="NS.object.0"/>
|
||||
</object>
|
||||
<bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool>
|
||||
<int key="IBDocument.defaultPropertyAccessControl">3</int>
|
||||
<dictionary class="NSMutableDictionary" key="IBDocument.LastKnownImageSizes">
|
||||
<string key="Magnet">{32, 32}</string>
|
||||
<string key="NSApplicationIcon">{128, 128}</string>
|
||||
<string key="NSMenuCheckmark">{9, 8}</string>
|
||||
<string key="NSMenuMixedState">{7, 2}</string>
|
||||
<string key="NSMenuCheckmark">{11, 11}</string>
|
||||
<string key="NSMenuMixedState">{10, 3}</string>
|
||||
<string key="NSSwitch">{15, 15}</string>
|
||||
<string key="PriorityHighTemplate">{128, 128}</string>
|
||||
<string key="PriorityLowTemplate">{128, 128}</string>
|
||||
<string key="PriorityNormalTemplate">{128, 128}</string>
|
||||
|
|
Loading…
Reference in a new issue