Skip to content

Commit

Permalink
Refactored About panel
Browse files Browse the repository at this point in the history
  • Loading branch information
Ugo Landini committed May 1, 2011
1 parent 1d33cc5 commit 9cf23c1
Show file tree
Hide file tree
Showing 9 changed files with 1,316 additions and 268 deletions.
196 changes: 171 additions & 25 deletions Pomodoro/English.lproj/About.xib
Expand Up @@ -2,20 +2,22 @@
<archive type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="7.10">
<data>
<int key="IBDocument.SystemTarget">1060</int>
<string key="IBDocument.SystemVersion">10J567</string>
<string key="IBDocument.InterfaceBuilderVersion">1305</string>
<string key="IBDocument.SystemVersion">10J869</string>
<string key="IBDocument.InterfaceBuilderVersion">1306</string>
<string key="IBDocument.AppKitVersion">1038.35</string>
<string key="IBDocument.HIToolboxVersion">462.00</string>
<string key="IBDocument.HIToolboxVersion">461.00</string>
<object class="NSMutableDictionary" key="IBDocument.PluginVersions">
<string key="NS.key.0">com.apple.InterfaceBuilder.CocoaPlugin</string>
<string key="NS.object.0">1305</string>
<string key="NS.object.0">1306</string>
</object>
<object class="NSArray" key="IBDocument.IntegratedClassDependencies">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>NSView</string>
<string>NSScroller</string>
<string>NSWindowTemplate</string>
<string>NSScrollView</string>
<string>NSTextField</string>
<string>NSTextFieldCell</string>
<string>NSTextView</string>
<string>NSImageCell</string>
<string>NSImageView</string>
Expand All @@ -36,7 +38,7 @@
<object class="NSMutableArray" key="IBDocument.RootObjects" id="1000">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="NSCustomObject" id="1001">
<string key="NSClassName">SplashController</string>
<string key="NSClassName">AboutController</string>
</object>
<object class="NSCustomObject" id="1003">
<string key="NSClassName">FirstResponder</string>
Expand Down Expand Up @@ -75,7 +77,7 @@
<string key="NSFrame">{{20, 280}, {108, 148}}</string>
<reference key="NSSuperview" ref="415443963"/>
<reference key="NSWindow"/>
<reference key="NSNextKeyView" ref="428919186"/>
<reference key="NSNextKeyView" ref="924330481"/>
<bool key="NSEnabled">YES</bool>
<object class="NSImageCell" key="NSCell" id="988365159">
<int key="NSCellFlags">130560</int>
Expand Down Expand Up @@ -130,7 +132,7 @@
<string key="NSFrame">{{0, 23}, {391, 14}}</string>
<reference key="NSSuperview" ref="119133690"/>
<reference key="NSWindow"/>
<reference key="NSNextKeyView"/>
<reference key="NSNextKeyView" ref="679436872"/>
<object class="NSTextContainer" key="NSTextContainer" id="218316342">
<object class="NSLayoutManager" key="NSLayoutManager">
<object class="NSTextStorage" key="NSTextStorage">
Expand Down Expand Up @@ -171,7 +173,7 @@
<int key="NSColorSpace">6</int>
<string key="NSCatalogName">System</string>
<string key="NSColorName">selectedTextBackgroundColor</string>
<object class="NSColor" key="NSColor">
<object class="NSColor" key="NSColor" id="259008819">
<int key="NSColorSpace">3</int>
<bytes key="NSWhite">MC42NjY2NjY2NjY3AA</bytes>
</object>
Expand Down Expand Up @@ -264,6 +266,56 @@
<reference key="NSHScroller" ref="490388612"/>
<reference key="NSContentView" ref="119133690"/>
</object>
<object class="NSTextField" id="679436872">
<reference key="NSNextResponder" ref="415443963"/>
<int key="NSvFlags">268</int>
<string key="NSFrame">{{133, 20}, {397, 11}}</string>
<reference key="NSSuperview" ref="415443963"/>
<reference key="NSWindow"/>
<reference key="NSNextKeyView"/>
<bool key="NSEnabled">YES</bool>
<object class="NSTextFieldCell" key="NSCell" id="732462965">
<int key="NSCellFlags">68288064</int>
<int key="NSCellFlags2">71304192</int>
<string key="NSContents">copyright</string>
<object class="NSFont" key="NSSupport" id="747155421">
<string key="NSName">LucidaGrande-Bold</string>
<double key="NSSize">9</double>
<int key="NSfFlags">16</int>
</object>
<reference key="NSControlView" ref="679436872"/>
<object class="NSColor" key="NSBackgroundColor" id="1046757717">
<int key="NSColorSpace">6</int>
<string key="NSCatalogName">System</string>
<string key="NSColorName">controlColor</string>
<reference key="NSColor" ref="259008819"/>
</object>
<object class="NSColor" key="NSTextColor" id="499420342">
<int key="NSColorSpace">6</int>
<string key="NSCatalogName">System</string>
<string key="NSColorName">controlTextColor</string>
<reference key="NSColor" ref="803428915"/>
</object>
</object>
</object>
<object class="NSTextField" id="924330481">
<reference key="NSNextResponder" ref="415443963"/>
<int key="NSvFlags">268</int>
<string key="NSFrame">{{17, 285}, {114, 11}}</string>
<reference key="NSSuperview" ref="415443963"/>
<reference key="NSWindow"/>
<reference key="NSNextKeyView" ref="428919186"/>
<bool key="NSEnabled">YES</bool>
<object class="NSTextFieldCell" key="NSCell" id="934327906">
<int key="NSCellFlags">68288064</int>
<int key="NSCellFlags2">138413056</int>
<string key="NSContents">release</string>
<reference key="NSSupport" ref="747155421"/>
<reference key="NSControlView" ref="924330481"/>
<reference key="NSBackgroundColor" ref="1046757717"/>
<reference key="NSTextColor" ref="499420342"/>
</object>
</object>
</object>
<string key="NSFrame">{{7, 11}, {547, 428}}</string>
<reference key="NSSuperview"/>
Expand Down Expand Up @@ -297,6 +349,22 @@
</object>
<int key="connectionID">28</int>
</object>
<object class="IBConnectionRecord">
<object class="IBOutletConnection" key="connection">
<string key="label">copyright</string>
<reference key="source" ref="1001"/>
<reference key="destination" ref="679436872"/>
</object>
<int key="connectionID">37</int>
</object>
<object class="IBConnectionRecord">
<object class="IBOutletConnection" key="connection">
<string key="label">release</string>
<reference key="source" ref="1001"/>
<reference key="destination" ref="924330481"/>
</object>
<int key="connectionID">38</int>
</object>
</object>
<object class="IBMutableOrderedSet" key="objectRecords">
<object class="NSArray" key="orderedObjects">
Expand Down Expand Up @@ -341,6 +409,8 @@
<bool key="EncodedWithXMLCoder">YES</bool>
<reference ref="462724019"/>
<reference ref="428919186"/>
<reference ref="924330481"/>
<reference ref="679436872"/>
</object>
<reference key="parent" ref="1004668900"/>
</object>
Expand Down Expand Up @@ -389,6 +459,34 @@
<reference key="object" ref="380130836"/>
<reference key="parent" ref="428919186"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">31</int>
<reference key="object" ref="679436872"/>
<object class="NSMutableArray" key="children">
<bool key="EncodedWithXMLCoder">YES</bool>
<reference ref="732462965"/>
</object>
<reference key="parent" ref="415443963"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">32</int>
<reference key="object" ref="732462965"/>
<reference key="parent" ref="679436872"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">35</int>
<reference key="object" ref="924330481"/>
<object class="NSMutableArray" key="children">
<bool key="EncodedWithXMLCoder">YES</bool>
<reference ref="934327906"/>
</object>
<reference key="parent" ref="415443963"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">36</int>
<reference key="object" ref="934327906"/>
<reference key="parent" ref="924330481"/>
</object>
</object>
</object>
<object class="NSMutableDictionary" key="flattenedProperties">
Expand All @@ -405,6 +503,12 @@
<string>22.IBPluginDependency</string>
<string>23.IBPluginDependency</string>
<string>24.IBPluginDependency</string>
<string>31.CustomClassName</string>
<string>31.IBPluginDependency</string>
<string>32.IBPluginDependency</string>
<string>35.CustomClassName</string>
<string>35.IBPluginDependency</string>
<string>36.IBPluginDependency</string>
<string>4.IBPluginDependency</string>
<string>4.IBViewBoundsToFrameTransform</string>
<string>5.IBPluginDependency</string>
Expand All @@ -421,6 +525,12 @@
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>BGHUDLabel</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>BGHUDLabel</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<object class="NSAffineTransform">
<bytes key="NSTransformStruct">AUGgAABDkAAAA</bytes>
Expand All @@ -440,36 +550,72 @@
<reference key="dict.values" ref="0"/>
</object>
<nil key="sourceID"/>
<int key="maxID">28</int>
<int key="maxID">38</int>
</object>
<object class="IBClassDescriber" key="IBDocument.Classes">
<object class="NSMutableArray" key="referencedPartialClassDescriptions">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="IBPartialClassDescription">
<string key="className">BGHUDScrollView</string>
<string key="superclassName">NSScrollView</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBProjectSource</string>
<string key="minorKey">./Classes/BGHUDScrollView.h</string>
</object>
</object>
<object class="IBPartialClassDescription">
<string key="className">SplashController</string>
<string key="className">AboutController</string>
<string key="superclassName">NSWindowController</string>
<object class="NSMutableDictionary" key="outlets">
<string key="NS.key.0">aboutText</string>
<string key="NS.object.0">NSTextView</string>
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="NSArray" key="dict.sortedKeys">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>aboutText</string>
<string>copyright</string>
<string>release</string>
</object>
<object class="NSMutableArray" key="dict.values">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>NSTextView</string>
<string>NSTextField</string>
<string>NSTextField</string>
</object>
</object>
<object class="NSMutableDictionary" key="toOneOutletInfosByName">
<string key="NS.key.0">aboutText</string>
<object class="IBToOneOutletInfo" key="NS.object.0">
<string key="name">aboutText</string>
<string key="candidateClassName">NSTextView</string>
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="NSArray" key="dict.sortedKeys">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>aboutText</string>
<string>copyright</string>
<string>release</string>
</object>
<object class="NSMutableArray" key="dict.values">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="IBToOneOutletInfo">
<string key="name">aboutText</string>
<string key="candidateClassName">NSTextView</string>
</object>
<object class="IBToOneOutletInfo">
<string key="name">copyright</string>
<string key="candidateClassName">NSTextField</string>
</object>
<object class="IBToOneOutletInfo">
<string key="name">release</string>
<string key="candidateClassName">NSTextField</string>
</object>
</object>
</object>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBProjectSource</string>
<string key="minorKey">./Classes/SplashController.h</string>
<string key="minorKey">./Classes/AboutController.h</string>
</object>
</object>
<object class="IBPartialClassDescription">
<string key="className">BGHUDLabel</string>
<string key="superclassName">NSTextField</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBProjectSource</string>
<string key="minorKey">./Classes/BGHUDLabel.h</string>
</object>
</object>
<object class="IBPartialClassDescription">
<string key="className">BGHUDScrollView</string>
<string key="superclassName">NSScrollView</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBProjectSource</string>
<string key="minorKey">./Classes/BGHUDScrollView.h</string>
</object>
</object>
</object>
Expand Down

0 comments on commit 9cf23c1

Please sign in to comment.