Commit 371b0ddd authored by Felix Paul Kühne's avatar Felix Paul Kühne

macosx: reworked the about dialog

added used CC, added text operations on psz_authors to keep scrolling times reasonable and fixed a scrolling bug
parent 6a4e3d34
<?xml version="1.0" encoding="UTF-8"?>
<archive type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="7.03">
<archive type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="7.10">
<data>
<int key="IBDocument.SystemTarget">1050</int>
<string key="IBDocument.SystemVersion">9L16</string>
<string key="IBDocument.InterfaceBuilderVersion">677</string>
<string key="IBDocument.AppKitVersion">949.54</string>
<string key="IBDocument.HIToolboxVersion">353.00</string>
<object class="NSMutableArray" key="IBDocument.EditedObjectIDs">
<string key="IBDocument.SystemVersion">11A430e</string>
<string key="IBDocument.InterfaceBuilderVersion">851</string>
<string key="IBDocument.AppKitVersion">1117</string>
<string key="IBDocument.HIToolboxVersion">552.00</string>
<object class="NSMutableDictionary" key="IBDocument.PluginVersions">
<bool key="EncodedWithXMLCoder">YES</bool>
<integer value="2239"/>
<integer value="2245"/>
<integer value="1345"/>
</object>
<object class="NSArray" key="IBDocument.PluginDependencies">
<object class="NSArray" key="dict.sortedKeys">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>com.apple.WebKitIBPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.WebKitIBPlugin</string>
</object>
<object class="NSMutableDictionary" key="IBDocument.Metadata">
<object class="NSMutableArray" key="dict.values">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="NSArray" key="dict.sortedKeys">
<string>851</string>
<string>851</string>
</object>
</object>
<object class="NSMutableArray" key="IBDocument.EditedObjectIDs">
<bool key="EncodedWithXMLCoder">YES</bool>
<integer value="2245"/>
<integer value="1344"/>
<integer value="2239"/>
</object>
<object class="NSMutableArray" key="dict.values">
<object class="NSArray" key="IBDocument.PluginDependencies">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.WebKitIBPlugin</string>
</object>
<object class="NSMutableDictionary" key="IBDocument.Metadata">
<string key="NS.key.0">PluginDependencyRecalculationVersion</string>
<integer value="1" key="NS.object.0"/>
</object>
<object class="NSMutableArray" key="IBDocument.RootObjects" id="1043535821">
<bool key="EncodedWithXMLCoder">YES</bool>
......@@ -47,8 +55,9 @@
<object class="NSMutableString" key="NSViewClass">
<characters key="NS.bytes">View</characters>
</object>
<string key="NSWindowContentMaxSize">{3.40282e+38, 3.40282e+38}</string>
<string key="NSWindowContentMinSize">{231.868, 107}</string>
<nil key="NSUserInterfaceItemIdentifier"/>
<string key="NSWindowContentMaxSize">{1.7976931348623157e+308, 1.7976931348623157e+308}</string>
<string key="NSWindowContentMinSize">{231.86799999999999, 107}</string>
<object class="NSView" key="NSWindowView" id="471759747">
<reference key="NSNextResponder"/>
<int key="NSvFlags">256</int>
......@@ -59,7 +68,7 @@
<int key="NSvFlags">256</int>
<object class="NSMutableSet" key="NSDragTypes">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="NSMutableArray" key="set.sortedObjects">
<object class="NSArray" key="set.sortedObjects">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>Apple PDF pasteboard type</string>
<string>Apple PICT pasteboard type</string>
......@@ -101,7 +110,7 @@
<int key="NSvFlags">2322</int>
<object class="NSMutableSet" key="NSDragTypes">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="NSMutableArray" key="set.sortedObjects">
<object class="NSArray" key="set.sortedObjects">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>Apple HTML pasteboard type</string>
<string>Apple PDF pasteboard type</string>
......@@ -134,22 +143,20 @@
<nil key="NSDelegate"/>
</object>
<reference key="NSTextView" ref="139161632"/>
<double key="NSWidth">3.560000e+02</double>
<double key="NSWidth">356</double>
<int key="NSTCFlags">1</int>
</object>
<object class="NSTextViewSharedData" key="NSSharedData">
<int key="NSFlags">2912</int>
<int key="NSFlags">100666208</int>
<int key="NSTextCheckingTypes">0</int>
<nil key="NSMarkedAttributes"/>
<object class="NSColor" key="NSBackgroundColor" id="256701342">
<int key="NSColorSpace">1</int>
<bytes key="NSRGB">MCAwIDAgMAA</bytes>
</object>
<object class="NSColor" key="NSInsertionColor" id="313485599">
<int key="NSColorSpace">3</int>
<bytes key="NSWhite">MAA</bytes>
</object>
<object class="NSDictionary" key="NSSelectedAttributes">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="NSMutableArray" key="dict.sortedKeys">
<object class="NSArray" key="dict.sortedKeys">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>NSBackgroundColor</string>
<string>NSColor</string>
......@@ -162,21 +169,24 @@
<string key="NSColorName">selectedTextBackgroundColor</string>
<object class="NSColor" key="NSColor" id="353060198">
<int key="NSColorSpace">3</int>
<bytes key="NSWhite">MC42NjY2NjY2OQA</bytes>
<bytes key="NSWhite">MC42NjY2NjY2NjY3AA</bytes>
</object>
</object>
<object class="NSColor" id="216236968">
<int key="NSColorSpace">6</int>
<string key="NSCatalogName">System</string>
<string key="NSColorName">selectedTextColor</string>
<reference key="NSColor" ref="313485599"/>
<object class="NSColor" key="NSColor" id="313485599">
<int key="NSColorSpace">3</int>
<bytes key="NSWhite">MAA</bytes>
</object>
</object>
</object>
<nil key="NSMarkedAttributes"/>
</object>
<reference key="NSInsertionColor" ref="313485599"/>
<object class="NSDictionary" key="NSLinkAttributes">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="NSMutableArray" key="dict.sortedKeys">
<object class="NSArray" key="dict.sortedKeys">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>NSColor</string>
<string>NSCursor</string>
......@@ -192,13 +202,15 @@
<string key="NSHotSpot">{8, -8}</string>
<int key="NSCursorType">13</int>
</object>
<integer value="1" id="9"/>
<integer value="1"/>
</object>
</object>
<nil key="NSDefaultParagraphStyle"/>
<nil key="NSTextFinder"/>
<int key="NSPreferredTextFinderStyle">0</int>
</object>
<int key="NSTVFlags">6</int>
<string key="NSMaxSize">{564, 1e+07}</string>
<string key="NSMaxSize">{564, 10000000}</string>
<nil key="NSDelegate"/>
</object>
</object>
......@@ -208,7 +220,7 @@
<reference key="NSDocView" ref="139161632"/>
<reference key="NSBGColor" ref="256701342"/>
<object class="NSCursor" key="NSCursor">
<string key="NSHotSpot">{1, -1}</string>
<string key="NSHotSpot">{4, 4}</string>
<int key="NSCursorType">0</int>
</object>
<int key="NScvFlags">4</int>
......@@ -220,7 +232,7 @@
<reference key="NSSuperview" ref="943165371"/>
<reference key="NSTarget" ref="943165371"/>
<string key="NSAction">_doScroller:</string>
<double key="NSCurValue">1.000000e+00</double>
<double key="NSCurValue">1</double>
</object>
<object class="NSScroller" id="347136691">
<reference key="NSNextResponder" ref="943165371"/>
......@@ -230,14 +242,14 @@
<int key="NSsFlags">1</int>
<reference key="NSTarget" ref="943165371"/>
<string key="NSAction">_doScroller:</string>
<double key="NSCurValue">1.000000e+00</double>
<double key="NSPercent">9.456522e-01</double>
<double key="NSCurValue">1</double>
<double key="NSPercent">0.94565220000000005</double>
</object>
</object>
<string key="NSFrame">{{209, 20}, {371, 125}}</string>
<reference key="NSSuperview" ref="471759747"/>
<reference key="NSNextKeyView" ref="877730250"/>
<int key="NSsFlags">0</int>
<int key="NSsFlags">133120</int>
<reference key="NSVScroller" ref="1033446111"/>
<reference key="NSHScroller" ref="347136691"/>
<reference key="NSContentView" ref="877730250"/>
......@@ -254,7 +266,7 @@
<string key="NSContents">Version 0.9.0-svn Grischenko (PPC/x86)</string>
<object class="NSFont" key="NSSupport">
<string key="NSName">LucidaGrande-Bold</string>
<double key="NSSize">1.200000e+01</double>
<double key="NSSize">12</double>
<int key="NSfFlags">16</int>
</object>
<reference key="NSControlView" ref="479386874"/>
......@@ -285,8 +297,8 @@
<string key="NSContents">Copyright (c) 1997-2008 the VideoLAN team</string>
<object class="NSFont" key="NSSupport" id="750108248">
<string key="NSName">LucidaGrande</string>
<double key="NSSize">1.000000e+01</double>
<int key="NSfFlags">2843</int>
<double key="NSSize">10</double>
<int key="NSfFlags">2832</int>
</object>
<reference key="NSControlView" ref="133543770"/>
<reference key="NSBackgroundColor" ref="464907814"/>
......@@ -299,13 +311,13 @@
<object class="NSTextField" id="164401777">
<reference key="NSNextResponder" ref="471759747"/>
<int key="NSvFlags">256</int>
<string key="NSFrame">{{209, 161}, {371, 16}}</string>
<string key="NSFrame">{{209, 151}, {371, 26}}</string>
<reference key="NSSuperview" ref="471759747"/>
<bool key="NSEnabled">YES</bool>
<object class="NSTextFieldCell" key="NSCell" id="339855634">
<int key="NSCellFlags">-2077098431</int>
<int key="NSCellFlags2">138413056</int>
<string key="NSContents">Compiled by [yournick], based on SVN revision: [rXXXXX]</string>
<int key="NSCellFlags">-2078147071</int>
<int key="NSCellFlags2">138412032</int>
<string key="NSContents">Compiled by fpk with llvm-gcc 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.11.00)</string>
<reference key="NSSupport" ref="750108248"/>
<reference key="NSControlView" ref="164401777"/>
<reference key="NSBackgroundColor" ref="464907814"/>
......@@ -327,7 +339,7 @@
<string key="NSContents">VLC media player</string>
<object class="NSFont" key="NSSupport">
<string key="NSName">LucidaGrande</string>
<double key="NSSize">2.400000e+01</double>
<double key="NSSize">24</double>
<int key="NSfFlags">16</int>
</object>
<reference key="NSControlView" ref="1048236564"/>
......@@ -357,8 +369,8 @@
<string key="NSContents">Licence</string>
<object class="NSFont" key="NSSupport" id="21102384">
<string key="NSName">LucidaGrande</string>
<double key="NSSize">1.300000e+01</double>
<int key="NSfFlags">1044</int>
<double key="NSSize">13</double>
<int key="NSfFlags">1040</int>
</object>
<reference key="NSControlView" ref="165770629"/>
<int key="NSButtonFlags">-2038284033</int>
......@@ -377,8 +389,8 @@
<reference key="NSSuperview"/>
</object>
<string key="NSScreenRect">{{0, 0}, {1280, 778}}</string>
<string key="NSMinSize">{231.868, 129}</string>
<string key="NSMaxSize">{3.40282e+38, 3.40282e+38}</string>
<string key="NSMinSize">{231.86799999999999, 129}</string>
<string key="NSMaxSize">{1.7976931348623157e+308, 1.7976931348623157e+308}</string>
<string key="NSFrameAutosaveName">about</string>
</object>
<object class="NSCustomObject" id="338711652">
......@@ -394,7 +406,8 @@
<object class="NSMutableString" key="NSViewClass">
<characters key="NS.bytes">View</characters>
</object>
<string key="NSWindowContentMaxSize">{3.40282e+38, 3.40282e+38}</string>
<nil key="NSUserInterfaceItemIdentifier"/>
<string key="NSWindowContentMaxSize">{1.7976931348623157e+308, 1.7976931348623157e+308}</string>
<string key="NSWindowContentMinSize">{213, 107}</string>
<object class="NSView" key="NSWindowView" id="214470677">
<reference key="NSNextResponder"/>
......@@ -406,7 +419,7 @@
<int key="NSvFlags">274</int>
<object class="NSMutableSet" key="NSDragTypes">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="NSMutableArray" key="set.sortedObjects">
<object class="NSArray" key="set.sortedObjects">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>Apple HTML pasteboard type</string>
<string>Apple PDF pasteboard type</string>
......@@ -434,7 +447,7 @@
<string key="Identifier"/>
<object class="NSMutableDictionary" key="Values">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="NSMutableArray" key="dict.sortedKeys">
<object class="NSArray" key="dict.sortedKeys">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>WebKitDefaultFixedFontSize</string>
<string>WebKitDefaultFontSize</string>
......@@ -442,9 +455,9 @@
</object>
<object class="NSMutableArray" key="dict.values">
<bool key="EncodedWithXMLCoder">YES</bool>
<integer value="12" id="153157055"/>
<reference ref="153157055"/>
<reference ref="9"/>
<integer value="12"/>
<integer value="12"/>
<integer value="1"/>
</object>
</object>
</object>
......@@ -460,10 +473,10 @@
<object class="NSButtonCell" key="NSCell" id="49708989">
<int key="NSCellFlags">67239424</int>
<int key="NSCellFlags2">134217728</int>
<string type="base64-UTF8" key="NSContents">4oyCA</string>
<string key="NSContents"></string>
<object class="NSFont" key="NSSupport">
<string key="NSName">LucidaGrande-Bold</string>
<double key="NSSize">2.000000e+01</double>
<double key="NSSize">20</double>
<int key="NSfFlags">16</int>
</object>
<reference key="NSControlView" ref="864824002"/>
......@@ -471,7 +484,7 @@
<int key="NSButtonFlags2">35</int>
<object class="NSFont" key="NSAlternateImage">
<string key="NSName">LucidaGrande</string>
<double key="NSSize">2.000000e+01</double>
<double key="NSSize">20</double>
<int key="NSfFlags">16</int>
</object>
<string key="NSAlternateContents"/>
......@@ -491,10 +504,10 @@
<object class="NSButtonCell" key="NSCell" id="220711835">
<int key="NSCellFlags">67239424</int>
<int key="NSCellFlags2">134217728</int>
<string type="base64-UTF8" key="NSContents">4oaQA</string>
<string key="NSContents"></string>
<object class="NSFont" key="NSSupport" id="398309494">
<string key="NSName">LucidaGrande-Bold</string>
<double key="NSSize">1.800000e+01</double>
<double key="NSSize">18</double>
<int key="NSfFlags">16</int>
</object>
<reference key="NSControlView" ref="155686615"/>
......@@ -502,7 +515,7 @@
<int key="NSButtonFlags2">35</int>
<object class="NSFont" key="NSAlternateImage" id="771652980">
<string key="NSName">LucidaGrande</string>
<double key="NSSize">1.800000e+01</double>
<double key="NSSize">18</double>
<int key="NSfFlags">16</int>
</object>
<string key="NSAlternateContents"/>
......@@ -522,7 +535,7 @@
<object class="NSButtonCell" key="NSCell" id="171700169">
<int key="NSCellFlags">67239424</int>
<int key="NSCellFlags2">134217728</int>
<string type="base64-UTF8" key="NSContents">4oaSA</string>
<string key="NSContents"></string>
<reference key="NSSupport" ref="398309494"/>
<reference key="NSControlView" ref="783595180"/>
<int key="NSButtonFlags">-2038284033</int>
......@@ -542,7 +555,7 @@
</object>
<string key="NSScreenRect">{{0, 0}, {1280, 778}}</string>
<string key="NSMinSize">{213, 129}</string>
<string key="NSMaxSize">{3.40282e+38, 3.40282e+38}</string>
<string key="NSMaxSize">{1.7976931348623157e+308, 1.7976931348623157e+308}</string>
<string key="NSFrameAutosaveName">help</string>
</object>
<object class="NSWindowTemplate" id="725046465">
......@@ -557,7 +570,8 @@
<object class="NSMutableString" key="NSViewClass">
<characters key="NS.bytes">View</characters>
</object>
<string key="NSWindowContentMaxSize">{3.40282e+38, 3.40282e+38}</string>
<nil key="NSUserInterfaceItemIdentifier"/>
<string key="NSWindowContentMaxSize">{1.7976931348623157e+308, 1.7976931348623157e+308}</string>
<string key="NSWindowContentMinSize">{480, 360}</string>
<object class="NSView" key="NSWindowView" id="482940942">
<reference key="NSNextResponder"/>
......@@ -595,16 +609,17 @@
<nil key="NSDelegate"/>
</object>
<reference key="NSTextView" ref="1033279449"/>
<double key="NSWidth">4.780000e+02</double>
<double key="NSWidth">478</double>
<int key="NSTCFlags">1</int>
</object>
<object class="NSTextViewSharedData" key="NSSharedData">
<int key="NSFlags">11105</int>
<int key="NSFlags">100674401</int>
<int key="NSTextCheckingTypes">0</int>
<nil key="NSMarkedAttributes"/>
<reference key="NSBackgroundColor" ref="620122354"/>
<reference key="NSInsertionColor" ref="313485599"/>
<object class="NSDictionary" key="NSSelectedAttributes">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="NSMutableArray" key="dict.sortedKeys">
<object class="NSArray" key="dict.sortedKeys">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>NSBackgroundColor</string>
<string>NSColor</string>
......@@ -615,10 +630,10 @@
<reference ref="216236968"/>
</object>
</object>
<nil key="NSMarkedAttributes"/>
<reference key="NSInsertionColor" ref="313485599"/>
<object class="NSDictionary" key="NSLinkAttributes">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="NSMutableArray" key="dict.sortedKeys">
<object class="NSArray" key="dict.sortedKeys">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>NSColor</string>
<string>NSUnderline</string>
......@@ -626,13 +641,15 @@
<object class="NSMutableArray" key="dict.values">
<bool key="EncodedWithXMLCoder">YES</bool>
<reference ref="579824642"/>
<reference ref="9"/>
<integer value="1"/>
</object>
</object>
<nil key="NSDefaultParagraphStyle"/>
<nil key="NSTextFinder"/>
<int key="NSPreferredTextFinderStyle">1</int>
</object>
<int key="NSTVFlags">6</int>
<string key="NSMaxSize">{478, 1e+07}</string>
<string key="NSMaxSize">{478, 10000000}</string>
<string key="NSMinize">{114, 0}</string>
<nil key="NSDelegate"/>
</object>
......@@ -655,7 +672,7 @@
<reference key="NSSuperview" ref="481393880"/>
<reference key="NSTarget" ref="481393880"/>
<string key="NSAction">_doScroller:</string>
<double key="NSCurValue">1.000000e+00</double>
<double key="NSCurValue">1</double>
</object>
<object class="NSScroller" id="695622842">
<reference key="NSNextResponder" ref="481393880"/>
......@@ -665,14 +682,14 @@
<int key="NSsFlags">1</int>
<reference key="NSTarget" ref="481393880"/>
<string key="NSAction">_doScroller:</string>
<double key="NSCurValue">1.000000e+00</double>
<double key="NSPercent">9.456522e-01</double>
<double key="NSCurValue">1</double>
<double key="NSPercent">0.94565220000000005</double>
</object>
</object>
<string key="NSFrameSize">{480, 360}</string>
<reference key="NSSuperview" ref="482940942"/>
<reference key="NSNextKeyView" ref="480961721"/>
<int key="NSsFlags">530</int>
<int key="NSsFlags">133650</int>
<reference key="NSVScroller" ref="947547661"/>
<reference key="NSHScroller" ref="695622842"/>
<reference key="NSContentView" ref="480961721"/>
......@@ -683,7 +700,7 @@
</object>
<string key="NSScreenRect">{{0, 0}, {1280, 778}}</string>
<string key="NSMinSize">{480, 382}</string>
<string key="NSMaxSize">{3.40282e+38, 3.40282e+38}</string>
<string key="NSMaxSize">{1.7976931348623157e+308, 1.7976931348623157e+308}</string>
<string key="NSFrameAutosaveName">gpl</string>
</object>
</object>
......@@ -874,7 +891,7 @@
<int key="objectID">-2</int>
<reference key="object" ref="334305778"/>
<reference key="parent" ref="0"/>
<string type="base64-UTF8" key="objectName">RmlsZSdzIE93bmVyA</string>
<string key="objectName">File's Owner</string>
</object>
<object class="IBObjectRecord">
<int key="objectID">-1</int>
......@@ -1147,22 +1164,21 @@
</object>
<object class="NSMutableDictionary" key="flattenedProperties">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="NSMutableArray" key="dict.sortedKeys">
<object class="NSArray" key="dict.sortedKeys">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>-1.IBPluginDependency</string>
<string>-2.IBPluginDependency</string>
<string>-3.IBPluginDependency</string>
<string>1342.IBPluginDependency</string>
<string>1342.ImportedFromIB2</string>
<string>1344.IBPluginDependency</string>
<string>1344.ImportedFromIB2</string>
<string>1345.IBEditorWindowLastContentRect</string>
<string>1345.IBPluginDependency</string>
<string>1345.IBWindowTemplateEditedContentRect</string>
<string>1345.ImportedFromIB2</string>
<string>1345.windowTemplate.hasMinSize</string>
<string>1345.windowTemplate.minSize</string>
<string>1348.IBPluginDependency</string>
<string>1348.ImportedFromIB2</string>
<string>1349.IBPluginDependency</string>
<string>1349.ImportedFromIB2</string>
<string>2231.IBPluginDependency</string>
<string>2231.ImportedFromIB2</string>
......@@ -1171,10 +1187,12 @@
<string>2233.IBPluginDependency</string>
<string>2233.ImportedFromIB2</string>
<string>2234.IBPluginDependency</string>
<string>2234.IBViewBoundsToFrameTransform</string>
<string>2234.ImportedFromIB2</string>
<string>2235.IBPluginDependency</string>
<string>2235.ImportedFromIB2</string>
<string>2239.IBEditorWindowLastContentRect</string>
<string>2239.IBPluginDependency</string>
<string>2239.IBWindowTemplateEditedContentRect</string>
<string>2239.ImportedFromIB2</string>
<string>2239.windowTemplate.hasMinSize</string>
......@@ -1186,6 +1204,7 @@
<string>2244.IBPluginDependency</string>
<string>2244.ImportedFromIB2</string>
<string>2245.IBEditorWindowLastContentRect</string>
<string>2245.IBPluginDependency</string>
<string>2245.IBWindowTemplateEditedContentRect</string>
<string>2245.ImportedFromIB2</string>
<string>2245.windowTemplate.hasMinSize</string>
......@@ -1202,77 +1221,105 @@
<string>2257.ImportedFromIB2</string>
<string>2258.IBPluginDependency</string>
<string>2258.ImportedFromIB2</string>
<string>2269.IBPluginDependency</string>
<string>2270.IBPluginDependency</string>
<string>2271.IBPluginDependency</string>
<string>2272.IBPluginDependency</string>
<string>2273.IBPluginDependency</string>
<string>2274.IBPluginDependency</string>
<string>2275.IBPluginDependency</string>
<string>2276.IBPluginDependency</string>
<string>2277.IBPluginDependency</string>
<string>2278.IBPluginDependency</string>
<string>2278.IBShouldRemoveOnLegacySave</string>
<string>2279.IBPluginDependency</string>
<string>2279.IBShouldRemoveOnLegacySave</string>
<string>2280.IBPluginDependency</string>
<string>2280.IBShouldRemoveOnLegacySave</string>
<string>2281.IBPluginDependency</string>
<string>2281.IBShouldRemoveOnLegacySave</string>
</object>
<object class="NSMutableArray" key="dict.values">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<boolean value="YES"/>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<boolean value="YES" id="5"/>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<reference ref="5"/>
<string>{{363, 392}, {600, 275}}</string>
<boolean value="YES"/>
<string>{{363, 392}, {600, 275}}</string>
<reference ref="5"/>
<reference ref="5"/>
<string>{231.868, 107}</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<reference ref="5"/>
<string>{{363, 392}, {600, 275}}</string>
<boolean value="YES"/>
<boolean value="YES"/>
<string>{231.86799999999999, 107}</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<reference ref="5"/>
<boolean value="YES"/>
<boolean value="YES"/>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<reference ref="5"/>
<boolean value="YES"/>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<reference ref="5"/>
<boolean value="YES"/>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<reference ref="5"/>
<boolean value="YES"/>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<reference ref="5"/>
<object class="NSAffineTransform">
<bytes key="NSTransformStruct">P4AAAL+AAABDUQAAwy8AAA</bytes>
</object>
<boolean value="YES"/>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<reference ref="5"/>
<boolean value="YES"/>
<string>{{483, 244}, {480, 400}}</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>{{483, 244}, {480, 400}}</string>
<reference ref="5"/>
<reference ref="5"/>
<boolean value="YES"/>
<boolean value="YES"/>
<string>{213, 107}</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<reference ref="5"/>
<boolean value="YES"/>
<string>com.apple.WebKitIBPlugin</string>
<reference ref="5"/>
<boolean value="YES"/>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<reference ref="5"/>
<boolean value="YES"/>
<string>{{483, 330}, {480, 360}}</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>{{483, 330}, {480, 360}}</string>
<reference ref="5"/>
<reference ref="5"/>
<boolean value="YES"/>
<boolean value="YES"/>
<string>{480, 360}</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<reference ref="5"/>
<boolean value="YES"/>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<boolean value="YES"/>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<boolean value="YES"/>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<boolean value="YES"/>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<boolean value="YES"/>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<boolean value="YES"/>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<reference ref="5"/>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<reference ref="5"/>
<boolean value="YES"/>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<reference ref="5"/>
<boolean value="YES"/>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<reference ref="5"/>
<boolean value="YES"/>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<reference ref="5"/>
<reference ref="5"/>
<reference ref="5"/>
<reference ref="5"/>
<reference ref="5"/>
<boolean value="YES"/>
</object>
</object>
<object class="NSMutableDictionary" key="unlocalizedProperties">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="NSArray" key="dict.sortedKeys">
<bool key="EncodedWithXMLCoder">YES</bool>
</object>
<reference key="dict.sortedKeys" ref="0"/>
<object class="NSMutableArray" key="dict.values">
<bool key="EncodedWithXMLCoder">YES</bool>
</object>
......@@ -1280,21 +1327,20 @@
<nil key="activeLocalization"/>
<object class="NSMutableDictionary" key="localizations">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="NSArray" key="dict.sortedKeys">
<bool key="EncodedWithXMLCoder">YES</bool>
</object>
<reference key="dict.sortedKeys" ref="0"/>
<object class="NSMutableArray" key="dict.values">
<bool key="EncodedWithXMLCoder">YES</bool>
</object>
</object>
<nil key="sourceID"/>
<int key="maxID">2281</int>
<int key="maxID">2283</int>
</object>
<object class="IBClassDescriber" key="IBDocument.Classes">
<object class="NSMutableArray" key="referencedPartialClassDescriptions">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="IBPartialClassDescription">
<string key="className">FirstResponder</string>
<string key="superclassName">NSObject</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBUserSource</string>
<string key="minorKey"/>
......@@ -1305,7 +1351,7 @@
<string key="superclassName">NSObject</string>
<object class="NSMutableDictionary" key="actions">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="NSMutableArray" key="dict.sortedKeys">
<object class="NSArray" key="dict.sortedKeys">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>helpGoHome:</string>
<string>showGPL:</string>
......@@ -1316,9 +1362,28 @@
<string>id</string>
</object>
</object>
<object class="NSMutableDictionary" key="actionInfosByName">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="NSArray" key="dict.sortedKeys">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>helpGoHome:</string>
<string>showGPL:</string>
</object>
<object class="NSMutableArray" key="dict.values">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="IBActionInfo">
<string key="name">helpGoHome:</string>
<string key="candidateClassName">id</string>
</object>
<object class="IBActionInfo">
<string key="name">showGPL:</string>
<string key="candidateClassName">id</string>
</object>
</object>
</object>
<object class="NSMutableDictionary" key="outlets">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="NSMutableArray" key="dict.sortedKeys">
<object class="NSArray" key="dict.sortedKeys">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>o_about_window</string>
<string>o_copyright_field</string>
......@@ -1355,6 +1420,90 @@
<string>id</string>
</object>
</object>
<object class="NSMutableDictionary" key="toOneOutletInfosByName">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="NSArray" key="dict.sortedKeys">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>o_about_window</string>
<string>o_copyright_field</string>
<string>o_credits_scrollview</string>
<string>o_credits_textview</string>
<string>o_gpl_btn</string>
<string>o_gpl_field</string>
<string>o_gpl_window</string>
<string>o_help_bwd_btn</string>
<string>o_help_fwd_btn</string>
<string>o_help_home_btn</string>
<string>o_help_web_view</string>
<string>o_help_window</string>
<string>o_name_field</string>
<string>o_name_version_field</string>
<string>o_revision_field</string>
</object>
<object class="NSMutableArray" key="dict.values">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="IBToOneOutletInfo">
<string key="name">o_about_window</string>
<string key="candidateClassName">id</string>
</object>
<object class="IBToOneOutletInfo">
<string key="name">o_copyright_field</string>
<string key="candidateClassName">id</string>
</object>
<object class="IBToOneOutletInfo">
<string key="name">o_credits_scrollview</string>
<string key="candidateClassName">id</string>
</object>
<object class="IBToOneOutletInfo">
<string key="name">o_credits_textview</string>
<string key="candidateClassName">id</string>
</object>
<object class="IBToOneOutletInfo">
<string key="name">o_gpl_btn</string>
<string key="candidateClassName">id</string>
</object>
<object class="IBToOneOutletInfo">
<string key="name">o_gpl_field</string>
<string key="candidateClassName">id</string>
</object>
<object class="IBToOneOutletInfo">
<string key="name">o_gpl_window</string>
<string key="candidateClassName">id</string>
</object>
<object class="IBToOneOutletInfo">
<string key="name">o_help_bwd_btn</string>
<string key="candidateClassName">id</string>
</object>
<object class="IBToOneOutletInfo">
<string key="name">o_help_fwd_btn</string>
<string key="candidateClassName">id</string>
</object>
<object class="IBToOneOutletInfo">
<string key="name">o_help_home_btn</string>
<string key="candidateClassName">id</string>
</object>
<object class="IBToOneOutletInfo">
<string key="name">o_help_web_view</string>
<string key="candidateClassName">id</string>
</object>
<object class="IBToOneOutletInfo">
<string key="name">o_help_window</string>
<string key="candidateClassName">id</string>
</object>
<object class="IBToOneOutletInfo">
<string key="name">o_name_field</string>
<string key="candidateClassName">id</string>
</object>
<object class="IBToOneOutletInfo">
<string key="name">o_name_version_field</string>
<string key="candidateClassName">id</string>
</object>
<object class="IBToOneOutletInfo">
<string key="name">o_revision_field</string>
<string key="candidateClassName">id</string>
</object>
</object>
</object>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBUserSource</string>
<string key="minorKey"/>
......@@ -1371,7 +1520,21 @@
</object>
</object>
<int key="IBDocument.localizationMode">0</int>
<string key="IBDocument.TargetRuntimeIdentifier">IBCocoaFramework</string>
<object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDependencies">
<string key="NS.key.0">com.apple.InterfaceBuilder.CocoaPlugin.macosx</string>
<integer value="1050" key="NS.object.0"/>
</object>
<object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDevelopmentDependencies">
<string key="NS.key.0">com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3</string>
<integer value="3000" key="NS.object.0"/>
</object>
<bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool>
<nil key="IBDocument.LastKnownRelativeProjectPath"/>
<int key="IBDocument.defaultPropertyAccessControl">3</int>
<object class="NSMutableDictionary" key="IBDocument.LastKnownImageSizes">
<string key="NS.key.0">about_bg</string>
<string key="NS.object.0">{128, 128}</string>
</object>
</data>
</archive>
/*****************************************************************************
* about.m: MacOS X About Panel
*****************************************************************************
* Copyright (C) 2001-2009 the VideoLAN team
* Copyright (C) 2001-2011 the VideoLAN team
* $Id$
*
* Authors: Derk-Jan Hartman <thedj@users.sourceforge.net>
......@@ -92,18 +92,34 @@ static VLAboutBox *_o_sharedInstance = nil;
[o_about_window setTitle: _NS("About VLC media player")];
/* setup the creator / revision field */
[o_revision_field setStringValue:
[NSString stringWithFormat: _NS("Compiled by %s"), VLC_CompileBy()]];
NSString *compiler;
#ifdef __clang__
compiler = [NSString stringWithFormat:@"clang %s", __clang_version__];
#elif __llvm__
compiler = [NSString stringWithFormat:@"llvm-gcc %s", __VERSION__];
#else
compiler = [NSString stringWithFormat:@"gcc %s", __VERSION__];
#endif
[o_revision_field setStringValue: [NSString stringWithFormat: _NS("Compiled by %s with %@"), VLC_CompileBy(), compiler]];
/* Setup the nameversion field */
[o_name_version_field setStringValue: [NSString stringWithFormat:@"Version %s (%s)", VERSION_MESSAGE, PLATFORM]];
NSMutableArray *tmpArray = [NSMutableArray arrayWithArray: [[NSString stringWithUTF8String: psz_authors]componentsSeparatedByString:@"\n\n"]];
for( int i = 0; i < [tmpArray count]; i++ )
{
[tmpArray replaceObjectAtIndex:i withObject:[[tmpArray objectAtIndex:i]stringByReplacingOccurrencesOfString:@"\n" withString:@", "]];
[tmpArray replaceObjectAtIndex:i withObject:[[tmpArray objectAtIndex:i]stringByReplacingOccurrencesOfString:@", -" withString:@"\n-" options:0 range:NSRangeFromString(@"0 30")]];
[tmpArray replaceObjectAtIndex:i withObject:[[tmpArray objectAtIndex:i]stringByReplacingOccurrencesOfString:@"-, " withString:@"-\n" options:0 range:NSRangeFromString(@"0 30")]];
[tmpArray replaceObjectAtIndex:i withObject:[[tmpArray objectAtIndex:i]stringByTrimmingCharactersInSet:[NSCharacterSet characterSetWithCharactersInString:@","]]];
}
NSString *authors = [tmpArray componentsJoinedByString:@"\n\n"];
/* setup the authors and thanks field */
[o_credits_textview setString: [NSString stringWithFormat: @"%@\n\n\n\n%@\n%@\n\n%@",
_NS(INTF_ABOUT_MSG),
_NS("VLC was brought to you by:"),
[NSString stringWithUTF8String: psz_authors],
[NSString stringWithUTF8String: psz_thanks]]];
[o_credits_textview setString: [NSString stringWithFormat: @"%@\n\n\n\n\n\n%@\n\n%@\n\n",
[_NS(INTF_ABOUT_MSG) stringByReplacingOccurrencesOfString:@"\n" withString:@" "],
authors,
[[NSString stringWithUTF8String: psz_thanks] stringByReplacingOccurrencesOfString:@"\n" withString:@" " options:0 range:NSRangeFromString(@"680 2")]]];
/* Setup the window */
[o_credits_textview setDrawsBackground: NO];
......@@ -141,7 +157,7 @@ static VLAboutBox *_o_sharedInstance = nil;
if( b_restart )
{
/* Reset the starttime */
i_start = [NSDate timeIntervalSinceReferenceDate] + 5.0;
i_start = [NSDate timeIntervalSinceReferenceDate] + 4.0;
f_current = 0;
f_end = [o_credits_textview bounds].size.height - [o_credits_scrollview bounds].size.height;
b_restart = NO;
......@@ -149,17 +165,23 @@ static VLAboutBox *_o_sharedInstance = nil;
if( [NSDate timeIntervalSinceReferenceDate] >= i_start )
{
/* Scroll to the position */
[o_credits_textview scrollPoint:NSMakePoint( 0, f_current )];
/* Increment the scroll position */
f_current += 0.005;
/* Scroll to the position */
[o_credits_textview scrollPoint:NSMakePoint( 0, f_current )];
/* If at end, restart at the top */
if( f_current >= f_end )
{
[o_credits_textview scrollPoint:NSMakePoint( 0, 0 )];
/* f_end may be wrong on first run, so don't trust it too much */
if( f_end == [o_credits_textview bounds].size.height - [o_credits_scrollview bounds].size.height )
{
b_restart = YES;
[o_credits_textview scrollPoint:NSMakePoint( 0, 0 )];
}
else
f_end = [o_credits_textview bounds].size.height - [o_credits_scrollview bounds].size.height;
}
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment