Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
176f05cb
Commit
176f05cb
authored
Apr 17, 2013
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: mooaaarr eye-candy for the about dialog
http://cl.ly/image/1K3l2C0v3T2V
parent
7b8bebda
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
164 additions
and
98 deletions
+164
-98
extras/package/macosx/Resources/English.lproj/About.xib
extras/package/macosx/Resources/English.lproj/About.xib
+151
-93
modules/gui/macosx/about.m
modules/gui/macosx/about.m
+13
-5
No files found.
extras/package/macosx/Resources/English.lproj/About.xib
View file @
176f05cb
...
...
@@ -21,8 +21,8 @@
</object>
<object
class=
"NSMutableArray"
key=
"IBDocument.EditedObjectIDs"
>
<bool
key=
"EncodedWithXMLCoder"
>
YES
</bool>
<integer
value=
"2313"
/>
<integer
value=
"2239"
/>
<integer
value=
"1344"
/>
</object>
<object
class=
"NSArray"
key=
"IBDocument.PluginDependencies"
>
<bool
key=
"EncodedWithXMLCoder"
>
YES
</bool>
...
...
@@ -242,7 +242,7 @@
<string>
NeXT TIFF v4.0 pasteboard type
</string>
</object>
</object>
<string
key=
"NSFrame"
>
{{20, 6
2}, {246, 246
}}
</string>
<string
key=
"NSFrame"
>
{{20, 6
8}, {240, 240
}}
</string>
<reference
key=
"NSSuperview"
ref=
"471759747"
/>
<bool
key=
"NSEnabled"
>
YES
</bool>
<object
class=
"NSImageCell"
key=
"NSCell"
id=
"548775455"
>
...
...
@@ -395,25 +395,35 @@ YXRzIQpIZWxwIGFuZCBqb2luIHVzIS4</string>
</object>
<bool
key=
"NSAllowsLogicalLayoutDirection"
>
NO
</bool>
</object>
<object
class=
"NSB
utton"
id=
"542792093
"
>
<object
class=
"NSB
ox"
id=
"849361197
"
>
<reference
key=
"NSNextResponder"
ref=
"471759747"
/>
<int
key=
"NSvFlags"
>
36
</int>
<object
class=
"NSMutableArray"
key=
"NSSubviews"
>
<bool
key=
"EncodedWithXMLCoder"
>
YES
</bool>
<object
class=
"NSView"
id=
"288548166"
>
<reference
key=
"NSNextResponder"
ref=
"849361197"
/>
<int
key=
"NSvFlags"
>
274
</int>
<object
class=
"NSMutableArray"
key=
"NSSubviews"
>
<bool
key=
"EncodedWithXMLCoder"
>
YES
</bool>
<object
class=
"NSButton"
id=
"635233983"
>
<reference
key=
"NSNextResponder"
ref=
"288548166"
/>
<int
key=
"NSvFlags"
>
268
</int>
<string
key=
"NSFrame"
>
{{90, 19
}, {106, 23}}
</string>
<reference
key=
"NSSuperview"
ref=
"471759747
"
/>
<string
key=
"NSFrame"
>
{{556, 20
}, {106, 23}}
</string>
<reference
key=
"NSSuperview"
ref=
"288548166
"
/>
<string
key=
"NSReuseIdentifierKey"
>
_NS:2498
</string>
<bool
key=
"NSEnabled"
>
YES
</bool>
<object
class=
"NSButtonCell"
key=
"NSCell"
id=
"559988317
"
>
<object
class=
"NSButtonCell"
key=
"NSCell"
id=
"229802879
"
>
<int
key=
"NSCellFlags"
>
-2080374784
</int>
<int
key=
"NSCellFlags2"
>
134217728
</int>
<string
key=
"NSContents"
>
Author
s
</string>
<string
key=
"NSContents"
>
Credit
s
</string>
<object
class=
"NSFont"
key=
"NSSupport"
id=
"21102384"
>
<string
key=
"NSName"
>
LucidaGrande
</string>
<double
key=
"NSSize"
>
13
</double>
<int
key=
"NSfFlags"
>
1040
</int>
</object>
<string
key=
"NSCellIdentifier"
>
_NS:2498
</string>
<reference
key=
"NSControlView"
ref=
"54279209
3"
/>
<int
key=
"NSButtonFlags"
>
-2033434624
</int>
<reference
key=
"NSControlView"
ref=
"63523398
3"
/>
<int
key=
"NSButtonFlags"
>
-2041823232
</int>
<int
key=
"NSButtonFlags2"
>
162
</int>
<string
key=
"NSAlternateContents"
/>
<string
key=
"NSKeyEquivalent"
/>
...
...
@@ -422,21 +432,21 @@ YXRzIQpIZWxwIGFuZCBqb2luIHVzIS4</string>
</object>
<bool
key=
"NSAllowsLogicalLayoutDirection"
>
NO
</bool>
</object>
<object
class=
"NSButton"
id=
"56148229
"
>
<reference
key=
"NSNextResponder"
ref=
"471759747
"
/>
<object
class=
"NSButton"
id=
"542792093
"
>
<reference
key=
"NSNextResponder"
ref=
"288548166
"
/>
<int
key=
"NSvFlags"
>
268
</int>
<string
key=
"NSFrame"
>
{{307, 19
}, {106, 23}}
</string>
<reference
key=
"NSSuperview"
ref=
"471759747
"
/>
<string
key=
"NSFrame"
>
{{122, 20
}, {106, 23}}
</string>
<reference
key=
"NSSuperview"
ref=
"288548166
"
/>
<string
key=
"NSReuseIdentifierKey"
>
_NS:2498
</string>
<bool
key=
"NSEnabled"
>
YES
</bool>
<object
class=
"NSButtonCell"
key=
"NSCell"
id=
"847201803
"
>
<object
class=
"NSButtonCell"
key=
"NSCell"
id=
"559988317
"
>
<int
key=
"NSCellFlags"
>
-2080374784
</int>
<int
key=
"NSCellFlags2"
>
134217728
</int>
<string
key=
"NSContents"
>
License
</string>
<string
key=
"NSContents"
>
Authors
</string>
<reference
key=
"NSSupport"
ref=
"21102384"
/>
<string
key=
"NSCellIdentifier"
>
_NS:2498
</string>
<reference
key=
"NSControlView"
ref=
"56148229
"
/>
<int
key=
"NSButtonFlags"
>
-2033434624
</int>
<reference
key=
"NSControlView"
ref=
"542792093
"
/>
<int
key=
"NSButtonFlags"
>
-2041823232
</int>
<int
key=
"NSButtonFlags2"
>
162
</int>
<string
key=
"NSAlternateContents"
/>
<string
key=
"NSKeyEquivalent"
/>
...
...
@@ -445,21 +455,21 @@ YXRzIQpIZWxwIGFuZCBqb2luIHVzIS4</string>
</object>
<bool
key=
"NSAllowsLogicalLayoutDirection"
>
NO
</bool>
</object>
<object
class=
"NSButton"
id=
"635233983
"
>
<reference
key=
"NSNextResponder"
ref=
"471759747
"
/>
<object
class=
"NSButton"
id=
"56148229
"
>
<reference
key=
"NSNextResponder"
ref=
"288548166
"
/>
<int
key=
"NSvFlags"
>
268
</int>
<string
key=
"NSFrame"
>
{{524, 19
}, {106, 23}}
</string>
<reference
key=
"NSSuperview"
ref=
"471759747
"
/>
<string
key=
"NSFrame"
>
{{339, 20
}, {106, 23}}
</string>
<reference
key=
"NSSuperview"
ref=
"288548166
"
/>
<string
key=
"NSReuseIdentifierKey"
>
_NS:2498
</string>
<bool
key=
"NSEnabled"
>
YES
</bool>
<object
class=
"NSButtonCell"
key=
"NSCell"
id=
"229802879
"
>
<object
class=
"NSButtonCell"
key=
"NSCell"
id=
"847201803
"
>
<int
key=
"NSCellFlags"
>
-2080374784
</int>
<int
key=
"NSCellFlags2"
>
134217728
</int>
<string
key=
"NSContents"
>
Credits
</string>
<string
key=
"NSContents"
>
License
</string>
<reference
key=
"NSSupport"
ref=
"21102384"
/>
<string
key=
"NSCellIdentifier"
>
_NS:2498
</string>
<reference
key=
"NSControlView"
ref=
"635233983
"
/>
<int
key=
"NSButtonFlags"
>
-2033434624
</int>
<reference
key=
"NSControlView"
ref=
"56148229
"
/>
<int
key=
"NSButtonFlags"
>
-2041823232
</int>
<int
key=
"NSButtonFlags2"
>
162
</int>
<string
key=
"NSAlternateContents"
/>
<string
key=
"NSKeyEquivalent"
/>
...
...
@@ -469,6 +479,41 @@ YXRzIQpIZWxwIGFuZCBqb2luIHVzIS4</string>
<bool
key=
"NSAllowsLogicalLayoutDirection"
>
NO
</bool>
</object>
</object>
<string
key=
"NSFrame"
>
{{1, 1}, {745, 59}}
</string>
<reference
key=
"NSSuperview"
ref=
"849361197"
/>
<string
key=
"NSReuseIdentifierKey"
>
_NS:21
</string>
</object>
</object>
<string
key=
"NSFrame"
>
{{-10, -5}, {747, 61}}
</string>
<reference
key=
"NSSuperview"
ref=
"471759747"
/>
<string
key=
"NSReuseIdentifierKey"
>
_NS:18
</string>
<string
key=
"NSOffsets"
>
{0, 0}
</string>
<object
class=
"NSTextFieldCell"
key=
"NSTitleCell"
>
<int
key=
"NSCellFlags"
>
67108864
</int>
<int
key=
"NSCellFlags2"
>
0
</int>
<string
key=
"NSContents"
>
Box
</string>
<object
class=
"NSFont"
key=
"NSSupport"
>
<string
key=
"NSName"
>
LucidaGrande
</string>
<double
key=
"NSSize"
>
11
</double>
<int
key=
"NSfFlags"
>
3088
</int>
</object>
<reference
key=
"NSBackgroundColor"
ref=
"464907814"
/>
<object
class=
"NSColor"
key=
"NSTextColor"
>
<int
key=
"NSColorSpace"
>
3
</int>
<bytes
key=
"NSWhite"
>
MCAwLjgwMDAwMDAxMTkAA
</bytes>
</object>
</object>
<reference
key=
"NSContentView"
ref=
"288548166"
/>
<int
key=
"NSBorderType"
>
1
</int>
<int
key=
"NSBoxType"
>
0
</int>
<int
key=
"NSTitlePosition"
>
0
</int>
<bool
key=
"NSTransparent"
>
NO
</bool>
<object
class=
"NSColor"
key=
"NSFillColor2"
>
<int
key=
"NSColorSpace"
>
3
</int>
<bytes
key=
"NSWhite"
>
MC45AA
</bytes>
</object>
</object>
</object>
<string
key=
"NSFrameSize"
>
{721, 331}
</string>
<reference
key=
"NSSuperview"
/>
</object>
...
...
@@ -890,16 +935,14 @@ YXRzIQpIZWxwIGFuZCBqb2luIHVzIS4</string>
<reference
key=
"object"
ref=
"471759747"
/>
<object
class=
"NSMutableArray"
key=
"children"
>
<bool
key=
"EncodedWithXMLCoder"
>
YES
</bool>
<reference
ref=
"684344310"
/>
<reference
ref=
"943165371"
/>
<reference
ref=
"1048236564"
/>
<reference
ref=
"479386874"
/>
<reference
ref=
"133543770"
/>
<reference
ref=
"164401777"
/>
<reference
ref=
"470682620"
/>
<reference
ref=
"56148229"
/>
<reference
ref=
"635233983"
/>
<reference
ref=
"542792093"
/>
<reference
ref=
"849361197"
/>
<reference
ref=
"684344310"
/>
</object>
<reference
key=
"parent"
ref=
"371989265"
/>
</object>
...
...
@@ -1094,6 +1137,31 @@ YXRzIQpIZWxwIGFuZCBqb2luIHVzIS4</string>
<reference
key=
"object"
ref=
"273931819"
/>
<reference
key=
"parent"
ref=
"470682620"
/>
</object>
<object
class=
"IBObjectRecord"
>
<int
key=
"objectID"
>
2313
</int>
<reference
key=
"object"
ref=
"849361197"
/>
<object
class=
"NSMutableArray"
key=
"children"
>
<bool
key=
"EncodedWithXMLCoder"
>
YES
</bool>
<reference
ref=
"635233983"
/>
<reference
ref=
"542792093"
/>
<reference
ref=
"56148229"
/>
</object>
<reference
key=
"parent"
ref=
"471759747"
/>
</object>
<object
class=
"IBObjectRecord"
>
<int
key=
"objectID"
>
2290
</int>
<reference
key=
"object"
ref=
"635233983"
/>
<object
class=
"NSMutableArray"
key=
"children"
>
<bool
key=
"EncodedWithXMLCoder"
>
YES
</bool>
<reference
ref=
"229802879"
/>
</object>
<reference
key=
"parent"
ref=
"849361197"
/>
</object>
<object
class=
"IBObjectRecord"
>
<int
key=
"objectID"
>
2291
</int>
<reference
key=
"object"
ref=
"229802879"
/>
<reference
key=
"parent"
ref=
"635233983"
/>
</object>
<object
class=
"IBObjectRecord"
>
<int
key=
"objectID"
>
2286
</int>
<reference
key=
"object"
ref=
"542792093"
/>
...
...
@@ -1101,7 +1169,7 @@ YXRzIQpIZWxwIGFuZCBqb2luIHVzIS4</string>
<bool
key=
"EncodedWithXMLCoder"
>
YES
</bool>
<reference
ref=
"559988317"
/>
</object>
<reference
key=
"parent"
ref=
"
47175974
7"
/>
<reference
key=
"parent"
ref=
"
84936119
7"
/>
</object>
<object
class=
"IBObjectRecord"
>
<int
key=
"objectID"
>
2287
</int>
...
...
@@ -1115,27 +1183,13 @@ YXRzIQpIZWxwIGFuZCBqb2luIHVzIS4</string>
<bool
key=
"EncodedWithXMLCoder"
>
YES
</bool>
<reference
ref=
"847201803"
/>
</object>
<reference
key=
"parent"
ref=
"
47175974
7"
/>
<reference
key=
"parent"
ref=
"
84936119
7"
/>
</object>
<object
class=
"IBObjectRecord"
>
<int
key=
"objectID"
>
2289
</int>
<reference
key=
"object"
ref=
"847201803"
/>
<reference
key=
"parent"
ref=
"56148229"
/>
</object>
<object
class=
"IBObjectRecord"
>
<int
key=
"objectID"
>
2290
</int>
<reference
key=
"object"
ref=
"635233983"
/>
<object
class=
"NSMutableArray"
key=
"children"
>
<bool
key=
"EncodedWithXMLCoder"
>
YES
</bool>
<reference
ref=
"229802879"
/>
</object>
<reference
key=
"parent"
ref=
"471759747"
/>
</object>
<object
class=
"IBObjectRecord"
>
<int
key=
"objectID"
>
2291
</int>
<reference
key=
"object"
ref=
"229802879"
/>
<reference
key=
"parent"
ref=
"635233983"
/>
</object>
</object>
</object>
<object
class=
"NSMutableDictionary"
key=
"flattenedProperties"
>
...
...
@@ -1212,6 +1266,7 @@ YXRzIQpIZWxwIGFuZCBqb2luIHVzIS4</string>
<string>
2290.IBPluginDependency
</string>
<string>
2290.IBViewBoundsToFrameTransform
</string>
<string>
2291.IBPluginDependency
</string>
<string>
2313.IBViewBoundsToFrameTransform
</string>
</object>
<object
class=
"NSMutableArray"
key=
"dict.values"
>
<bool
key=
"EncodedWithXMLCoder"
>
YES
</bool>
...
...
@@ -1234,7 +1289,7 @@ YXRzIQpIZWxwIGFuZCBqb2luIHVzIS4</string>
<boolean
value=
"YES"
/>
<string>
com.apple.InterfaceBuilder.CocoaPlugin
</string>
<object
class=
"NSAffineTransform"
>
<bytes
key=
"NSTransformStruct"
>
AU
I0AABDHQ
AAA
</bytes>
<bytes
key=
"NSTransformStruct"
>
AU
GgAABCgg
AAA
</bytes>
</object>
<boolean
value=
"YES"
/>
<string>
com.apple.InterfaceBuilder.CocoaPlugin
</string>
...
...
@@ -1292,19 +1347,22 @@ YXRzIQpIZWxwIGFuZCBqb2luIHVzIS4</string>
<string>
com.apple.InterfaceBuilder.CocoaPlugin
</string>
<string>
com.apple.InterfaceBuilder.CocoaPlugin
</string>
<object
class=
"NSAffineTransform"
>
<bytes
key=
"NSTransformStruct"
>
P4AAAL+AAABC
ggAAwi
AAAA
</bytes>
<bytes
key=
"NSTransformStruct"
>
P4AAAL+AAABC
uAAAwk
AAAA
</bytes>
</object>
<string>
com.apple.InterfaceBuilder.CocoaPlugin
</string>
<string>
com.apple.InterfaceBuilder.CocoaPlugin
</string>
<object
class=
"NSAffineTransform"
>
<bytes
key=
"NSTransformStruct"
>
P4AAAL+AAABD
pgAAwi
AAAA
</bytes>
<bytes
key=
"NSTransformStruct"
>
P4AAAL+AAABD
moAAwk
AAAA
</bytes>
</object>
<string>
com.apple.InterfaceBuilder.CocoaPlugin
</string>
<string>
com.apple.InterfaceBuilder.CocoaPlugin
</string>
<object
class=
"NSAffineTransform"
>
<bytes
key=
"NSTransformStruct"
>
P4AAAL+AAABE
CUAAwi
AAAA
</bytes>
<bytes
key=
"NSTransformStruct"
>
P4AAAL+AAABE
A4AAwk
AAAA
</bytes>
</object>
<string>
com.apple.InterfaceBuilder.CocoaPlugin
</string>
<object
class=
"NSAffineTransform"
>
<bytes
key=
"NSTransformStruct"
>
AcBAAABAoAAAA
</bytes>
</object>
</object>
</object>
<object
class=
"NSMutableDictionary"
key=
"unlocalizedProperties"
>
...
...
@@ -1323,7 +1381,7 @@ YXRzIQpIZWxwIGFuZCBqb2luIHVzIS4</string>
</object>
</object>
<nil
key=
"sourceID"
/>
<int
key=
"maxID"
>
23
00
</int>
<int
key=
"maxID"
>
23
13
</int>
</object>
<object
class=
"IBClassDescriber"
key=
"IBDocument.Classes"
>
<object
class=
"NSMutableArray"
key=
"referencedPartialClassDescriptions"
>
...
...
modules/gui/macosx/about.m
View file @
176f05cb
...
...
@@ -90,9 +90,17 @@ static VLAboutBox *_o_sharedInstance = nil;
/* l10n */
[
o_about_window
setTitle
:
_NS
(
"About VLC media player"
)];
[
o_credits_btn
setTitle
:
_NS
(
"Credits"
)];
[
o_gpl_btn
setTitle
:
_NS
(
"License"
)];
[
o_authors_btn
setTitle
:
_NS
(
"Authors"
)];
NSDictionary
*
stringAttributes
=
[
NSDictionary
dictionaryWithObjectsAndKeys
:[
NSNumber
numberWithInt
:
NSUnderlineStyleSingle
],
NSUnderlineStyleAttributeName
,
[
NSColor
colorWithCalibratedRed
:
0
.
green
:
0
.
3411
blue
:
0
.
6824
alpha
:
1
.],
NSForegroundColorAttributeName
,
[
NSFont
systemFontOfSize
:
13
],
NSFontAttributeName
,
nil
];
NSAttributedString
*
attrStr
;
attrStr
=
[[
NSAttributedString
alloc
]
initWithString
:
_NS
(
"Credits"
)
attributes
:
stringAttributes
];
[
o_credits_btn
setAttributedTitle
:
attrStr
];
[
attrStr
release
];
attrStr
=
[[
NSAttributedString
alloc
]
initWithString
:
_NS
(
"License"
)
attributes
:
stringAttributes
];
[
o_gpl_btn
setAttributedTitle
:
attrStr
];
[
attrStr
release
];
attrStr
=
[[
NSAttributedString
alloc
]
initWithString
:
_NS
(
"Authors"
)
attributes
:
stringAttributes
];
[
o_authors_btn
setAttributedTitle
:
attrStr
];
[
attrStr
release
];
/* setup the creator / revision field */
NSString
*
compiler
;
...
...
@@ -122,7 +130,7 @@ static VLAboutBox *_o_sharedInstance = nil;
/* setup join us! */
NSString
*
joinus
=
[
NSString
stringWithString
:
_NS
(
"<p>VLC media player is a free and open source media player, encoder and streamer made by the volunteers of the "
"<a href=
\"
http://www.videolan.org/
\"
><span style=
\"
text-decoration: underline; color:#0057ae;
\"
>VideoLAN</span>"
"</a> community.</p><p>VLC uses its internal codecs and works on essentially every popular platform and can read"
"</a> community.</p><p>VLC uses its internal codecs and works on essentially every popular platform and can read
"
"almost every files, CDs, DVDs, network streams, capture cards and other media formats!</p><p>"
"<a href=
\"
http://www.videolan.org/contribute/
\"
><span style=
\"
text-decoration: underline; color:#0057ae;
\"
>Help "
"and join us!</span></a>"
)];
...
...
@@ -140,7 +148,7 @@ static VLAboutBox *_o_sharedInstance = nil;
[
o_about_window
setExcludedFromWindowsMenu
:
YES
];
[
o_about_window
setMenu
:
nil
];
[
o_about_window
center
];
[
o_
gpl_btn
setTitle
:
_NS
(
"License"
)
];
[
o_
about_window
setBackgroundColor
:
[
NSColor
colorWithCalibratedWhite
:.
96
alpha
:
1
.]
];
if
(
config_GetInt
(
VLCIntf
,
"macosx-icon-change"
))
{
/* After day 354 of the year, the usual VLC cone is replaced by another cone
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment