Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
VideoLAN
VLC-iOS
Commits
26372cd9
Commit
26372cd9
authored
Nov 03, 2013
by
Tamas Timar
Committed by
Felix Paul Kühne
Nov 03, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use dark grey background color instead of black in view controllers
Signed-off-by:
Felix Paul Kühne
<
fkuehne@videolan.org
>
parent
9c02e221
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
2 deletions
+7
-2
AspenProject/VLCAboutViewController.m
AspenProject/VLCAboutViewController.m
+3
-0
AspenProject/VLCDropboxTableViewController.m
AspenProject/VLCDropboxTableViewController.m
+1
-0
AspenProject/VLCGoogleDriveTableViewController.m
AspenProject/VLCGoogleDriveTableViewController.m
+1
-0
Resources/About Contents.html
Resources/About Contents.html
+2
-2
No files found.
AspenProject/VLCAboutViewController.m
View file @
26372cd9
...
...
@@ -31,6 +31,9 @@
self
.
navigationItem
.
rightBarButtonItem
=
contributeButton
;
self
.
navigationItem
.
leftBarButtonItem
=
[
UIBarButtonItem
themedRevealMenuButtonWithTarget
:
self
andSelector
:
@selector
(
goBack
:
)];
self
.
view
.
backgroundColor
=
[
UIColor
colorWithWhite
:.
122
alpha
:
1
.];
self
.
webView
.
backgroundColor
=
[
UIColor
colorWithWhite
:.
122
alpha
:
1
.];
NSMutableString
*
htmlContent
=
[
NSMutableString
stringWithContentsOfFile
:[[
NSBundle
mainBundle
]
pathForResource
:
@"About Contents"
ofType
:
@"html"
]
encoding
:
NSUTF8StringEncoding
error
:
nil
];
[
htmlContent
replaceOccurrencesOfString
:
@"ASPENVERSION"
withString
:[[
NSString
stringWithFormat
:
NSLocalizedString
(
@"VERSION_FORMAT"
,
@""
),
[[
NSBundle
mainBundle
]
objectForInfoDictionaryKey
:
@"CFBundleVersion"
]]
stringByAppendingFormat
:
@"<br /><i>%@</i>"
,
kVLCVersionCodename
]
options
:
NSLiteralSearch
range
:
NSMakeRange
(
0
,
1000
)];
[
htmlContent
replaceOccurrencesOfString
:
@"MOBILEVLCKITVERSION"
withString
:[
NSString
stringWithFormat
:
NSLocalizedString
(
@"BASED_ON_FORMAT"
,
@""
),[[
VLCLibrary
sharedLibrary
]
version
]]
options
:
NSLiteralSearch
range
:
NSMakeRange
(
0
,
1000
)];
...
...
AspenProject/VLCDropboxTableViewController.m
View file @
26372cd9
...
...
@@ -70,6 +70,7 @@
_downloadingBarLabel
=
[[
UIBarButtonItem
alloc
]
initWithTitle
:
NSLocalizedString
(
@"DOWNLOADING"
,
@""
)
style
:
UIBarButtonItemStylePlain
target
:
nil
action
:
nil
];
[
_downloadingBarLabel
setTitleTextAttributes
:@{
UITextAttributeFont
:
[
UIFont
systemFontOfSize
:
11
.]
}
forState
:
UIControlStateNormal
];
_loginToDropboxView
.
backgroundColor
=
[
UIColor
colorWithWhite
:.
122
alpha
:
1
.];
[
_loginToDropboxButton
setTitle
:
NSLocalizedString
(
@"DROPBOX_LOGIN"
,
@""
)
forState
:
UIControlStateNormal
];
[
self
.
navigationController
.
toolbar
setBackgroundImage
:[
UIImage
imageNamed
:
@"sudHeaderBg"
]
forToolbarPosition
:
UIToolbarPositionAny
barMetrics
:
UIBarMetricsDefault
];
...
...
AspenProject/VLCGoogleDriveTableViewController.m
View file @
26372cd9
...
...
@@ -69,6 +69,7 @@
_downloadingBarLabel
=
[[
UIBarButtonItem
alloc
]
initWithTitle
:
NSLocalizedString
(
@"DOWNLOADING"
,
@""
)
style
:
UIBarButtonItemStylePlain
target
:
nil
action
:
nil
];
[
_downloadingBarLabel
setTitleTextAttributes
:@{
UITextAttributeFont
:
[
UIFont
systemFontOfSize
:
11
.]
}
forState
:
UIControlStateNormal
];
_loginToGoogleDriveView
.
backgroundColor
=
[
UIColor
colorWithWhite
:.
122
alpha
:
1
.];
[
_loginToGoogleDriveButton
setTitle
:
NSLocalizedString
(
@"DROPBOX_LOGIN"
,
@""
)
forState
:
UIControlStateNormal
];
[
self
.
navigationController
.
toolbar
setBackgroundImage
:[
UIImage
imageNamed
:
@"sudHeaderBg"
]
forToolbarPosition
:
UIToolbarPositionAny
barMetrics
:
UIBarMetricsDefault
];
...
...
Resources/About Contents.html
View file @
26372cd9
<html>
<head>
</head>
<body
bgcolor=
#000000
>
<body
style=
"background-color: #1f1f1f"
>
<style
type=
"text/css"
>
h3
{
color
:
#aaaaaa
}
h5
{
text-decoration
:
plain
;
color
:
#aaaaaa
}
...
...
@@ -9,7 +9,7 @@
A
:visited
{
text-decoration
:
none
;
color
:
#aaaaaa
}
A
:active
{
text-decoration
:
none
;
color
:
#aaaaaa
}
</style>
<div
style=
"text-align:left;
background-color:#000000;
border:solid
black
1px; padding:0.5em 1em 0.5em 1em; overflow:auto; font-size:10pt; font-family:Helvetica; color:#aaaaaa"
;
A:link
{
text-decoration:
underline
;
color:#aaaaaa
}
>
<div
style=
"text-align:left; border:solid
transparent
1px; padding:0.5em 1em 0.5em 1em; overflow:auto; font-size:10pt; font-family:Helvetica; color:#aaaaaa"
;
A:link
{
text-decoration:
underline
;
color:#aaaaaa
}
>
<p
align=
"center"
>
<table
cellspacing=
0
cellpadding=
0
>
<tr>
...
...
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