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
Expand all
Hide 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
This diff is collapsed.
Click to expand it.
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