Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
VideoLAN
VLC-iOS
Commits
f18ed1dd
Commit
f18ed1dd
authored
Aug 17, 2013
by
Felix Paul Kühne
Browse files
Menu: updated color scheme
parent
8effdf68
Changes
3
Hide whitespace changes
Inline
Side-by-side
AspenProject/VLCMenuTableViewController.m
View file @
f18ed1dd
...
...
@@ -71,7 +71,7 @@
_tableView
.
delegate
=
self
;
_tableView
.
dataSource
=
self
;
_tableView
.
autoresizingMask
=
UIViewAutoresizingFlexibleHeight
;
_tableView
.
backgroundColor
=
[
UIColor
c
learColor
];
_tableView
.
backgroundColor
=
[
UIColor
c
olorWithRed
:(
43
.
0
f
/
255
.
0
f
)
green
:(
43
.
0
f
/
255
.
0
f
)
blue
:
(
43
.
0
f
/
255
.
0
f
)
alpha
:
1
.
0
f
];
_tableView
.
separatorStyle
=
UITableViewCellSeparatorStyleNone
;
_tableView
.
rowHeight
=
[
VLCWiFiUploadTableViewCell
heightOfCell
];
...
...
@@ -195,8 +195,8 @@
CAGradientLayer
*
gradient
=
[
CAGradientLayer
layer
];
gradient
.
frame
=
headerView
.
bounds
;
gradient
.
colors
=
@[
(
id
)[
UIColor
colorWithRed
:(
6
7
.
0
f
/
255
.
0
f
)
green
:(
74
.
0
f
/
255
.
0
f
)
blue
:
(
94
.
0
f
/
255
.
0
f
)
alpha
:
1
.
0
f
].
CGColor
,
(
id
)[
UIColor
colorWithRed
:(
5
7
.
0
f
/
255
.
0
f
)
green
:(
6
4
.
0
f
/
255
.
0
f
)
blue
:
(
82
.
0
f
/
255
.
0
f
)
alpha
:
1
.
0
f
].
CGColor
,
(
id
)[
UIColor
colorWithRed
:(
6
6
.
0
f
/
255
.
0
f
)
green
:(
66
.
0
f
/
255
.
0
f
)
blue
:
(
66
.
0
f
/
255
.
0
f
)
alpha
:
1
.
0
f
].
CGColor
,
(
id
)[
UIColor
colorWithRed
:(
5
6
.
0
f
/
255
.
0
f
)
green
:(
5
6
.
0
f
/
255
.
0
f
)
blue
:
(
56
.
0
f
/
255
.
0
f
)
alpha
:
1
.
0
f
].
CGColor
,
];
[
headerView
.
layer
insertSublayer
:
gradient
atIndex
:
0
];
...
...
@@ -210,11 +210,11 @@
[
headerView
addSubview
:
textLabel
];
UIView
*
topLine
=
[[
UIView
alloc
]
initWithFrame
:
CGRectMake
(
0
.
0
f
,
0
.
0
f
,
[
UIScreen
mainScreen
].
bounds
.
size
.
height
,
1
.
0
f
)];
topLine
.
backgroundColor
=
[
UIColor
colorWithRed
:(
78
.
0
f
/
255
.
0
f
)
green
:(
86
.
0
f
/
255
.
0
f
)
blue
:
(
103
.
0
f
/
255
.
0
f
)
alpha
:
1
.
0
f
];
topLine
.
backgroundColor
=
[
UIColor
colorWithRed
:(
95
.
0
f
/
255
.
0
f
)
green
:(
95
.
0
f
/
255
.
0
f
)
blue
:
(
95
.
0
f
/
255
.
0
f
)
alpha
:
1
.
0
f
];
[
headerView
addSubview
:
topLine
];
UIView
*
bottomLine
=
[[
UIView
alloc
]
initWithFrame
:
CGRectMake
(
0
.
0
f
,
21
.
0
f
,
[
UIScreen
mainScreen
].
bounds
.
size
.
height
,
1
.
0
f
)];
bottomLine
.
backgroundColor
=
[
UIColor
colorWithRed
:(
3
6
.
0
f
/
255
.
0
f
)
green
:(
42
.
0
f
/
255
.
0
f
)
blue
:
(
5
.
0
f
/
255
.
0
f
)
alpha
:
1
.
0
f
];
bottomLine
.
backgroundColor
=
[
UIColor
colorWithRed
:(
1
6
.
0
f
/
255
.
0
f
)
green
:(
16
.
0
f
/
255
.
0
f
)
blue
:
(
16
.
0
f
/
255
.
0
f
)
alpha
:
1
.
0
f
];
[
headerView
addSubview
:
bottomLine
];
}
return
headerView
;
...
...
AspenProject/VLCWiFiUploadTableViewCell.m
View file @
f18ed1dd
...
...
@@ -29,20 +29,18 @@
self
.
titleLabel
.
shadowColor
=
[
UIColor
colorWithWhite
:
0
.
0
f
alpha
:
0
.
25
f
];
self
.
titleLabel
.
textColor
=
[
UIColor
colorWithRed
:(
196
.
0
f
/
255
.
0
f
)
green
:(
204
.
0
f
/
255
.
0
f
)
blue
:
(
218
.
0
f
/
255
.
0
f
)
alpha
:
1
.
0
f
];
self
.
backgroundColor
=
[
UIColor
colorWithRed
:(
43
.
0
f
/
255
.
0
f
)
green
:(
43
.
0
f
/
255
.
0
f
)
blue
:
(
43
.
0
f
/
255
.
0
f
)
alpha
:
1
.
0
f
];
self
.
uploadAddressLabel
.
shadowOffset
=
CGSizeMake
(
0
.
0
f
,
1
.
0
f
);
self
.
uploadAddressLabel
.
shadowColor
=
[
UIColor
colorWithWhite
:
0
.
0
f
alpha
:
0
.
25
f
];
self
.
uploadAddressLabel
.
textColor
=
[
UIColor
colorWithRed
:(
196
.
0
f
/
255
.
0
f
)
green
:(
204
.
0
f
/
255
.
0
f
)
blue
:
(
218
.
0
f
/
255
.
0
f
)
alpha
:
1
.
0
f
];
UIView
*
topLine
=
[[
UIView
alloc
]
initWithFrame
:
CGRectMake
(
0
.
0
f
,
0
.
0
f
,
[
UIScreen
mainScreen
].
bounds
.
size
.
height
,
1
.
0
f
)];
topLine
.
backgroundColor
=
[
UIColor
colorWithRed
:(
54
.
0
f
/
255
.
0
f
)
green
:(
6
1
.
0
f
/
255
.
0
f
)
blue
:
(
7
6
.
0
f
/
255
.
0
f
)
alpha
:
1
.
0
f
];
topLine
.
backgroundColor
=
[
UIColor
colorWithRed
:(
16
.
0
f
/
255
.
0
f
)
green
:(
1
6
.
0
f
/
255
.
0
f
)
blue
:
(
1
6
.
0
f
/
255
.
0
f
)
alpha
:
1
.
0
f
];
[
self
.
titleLabel
.
superview
addSubview
:
topLine
];
UIView
*
topLine2
=
[[
UIView
alloc
]
initWithFrame
:
CGRectMake
(
0
.
0
f
,
1
.
0
f
,
[
UIScreen
mainScreen
].
bounds
.
size
.
height
,
1
.
0
f
)];
topLine2
.
backgroundColor
=
[
UIColor
colorWithRed
:(
54
.
0
f
/
255
.
0
f
)
green
:(
61
.
0
f
/
255
.
0
f
)
blue
:
(
77
.
0
f
/
255
.
0
f
)
alpha
:
1
.
0
f
];
[
self
.
titleLabel
.
superview
addSubview
:
topLine2
];
UIView
*
bottomLine
=
[[
UIView
alloc
]
initWithFrame
:
CGRectMake
(
0
.
0
f
,
50
.
0
f
,
[
UIScreen
mainScreen
].
bounds
.
size
.
height
,
1
.
0
f
)];
bottomLine
.
backgroundColor
=
[
UIColor
colorWithRed
:(
40
.
0
f
/
255
.
0
f
)
green
:(
47
.
0
f
/
255
.
0
f
)
blue
:
(
61
.
0
f
/
255
.
0
f
)
alpha
:
1
.
0
f
];
bottomLine
.
backgroundColor
=
[
UIColor
colorWithRed
:(
23
.
0
f
/
255
.
0
f
)
green
:(
23
.
0
f
/
255
.
0
f
)
blue
:
(
23
.
0
f
/
255
.
0
f
)
alpha
:
1
.
0
f
];
[
self
.
titleLabel
.
superview
addSubview
:
bottomLine
];
}
...
...
Resources/VLCDownloadViewController.xib
View file @
f18ed1dd
...
...
@@ -50,6 +50,7 @@
<int
key=
"NSvFlags"
>
290
</int>
<string
key=
"NSFrameSize"
>
{320, 101}
</string>
<reference
key=
"NSSuperview"
ref=
"234033301"
/>
<reference
key=
"NSWindow"
/>
<reference
key=
"NSNextKeyView"
ref=
"205664075"
/>
<string
key=
"NSReuseIdentifierKey"
>
_NS:9
</string>
<bool
key=
"IBUIUserInteractionEnabled"
>
NO
</bool>
...
...
@@ -64,6 +65,7 @@
<int
key=
"NSvFlags"
>
290
</int>
<string
key=
"NSFrame"
>
{{10, 15}, {195, 30}}
</string>
<reference
key=
"NSSuperview"
ref=
"234033301"
/>
<reference
key=
"NSWindow"
/>
<reference
key=
"NSNextKeyView"
ref=
"325478617"
/>
<string
key=
"NSReuseIdentifierKey"
>
_NS:9
</string>
<bool
key=
"IBUIOpaque"
>
NO
</bool>
...
...
@@ -105,6 +107,7 @@
<int
key=
"NSvFlags"
>
289
</int>
<string
key=
"NSFrame"
>
{{213, 11}, {97, 39}}
</string>
<reference
key=
"NSSuperview"
ref=
"234033301"
/>
<reference
key=
"NSWindow"
/>
<reference
key=
"NSNextKeyView"
ref=
"1066205493"
/>
<string
key=
"NSReuseIdentifierKey"
>
_NS:9
</string>
<bool
key=
"IBUIOpaque"
>
NO
</bool>
...
...
@@ -143,6 +146,7 @@
<int
key=
"NSvFlags"
>
274
</int>
<string
key=
"NSFrame"
>
{{10, 49}, {300, 50}}
</string>
<reference
key=
"NSSuperview"
ref=
"234033301"
/>
<reference
key=
"NSWindow"
/>
<reference
key=
"NSNextKeyView"
ref=
"209774297"
/>
<string
key=
"NSReuseIdentifierKey"
>
_NS:9
</string>
<bool
key=
"IBUIOpaque"
>
NO
</bool>
...
...
@@ -167,6 +171,7 @@
</array>
<string
key=
"NSFrameSize"
>
{320, 101}
</string>
<reference
key=
"NSSuperview"
ref=
"191373211"
/>
<reference
key=
"NSWindow"
/>
<reference
key=
"NSNextKeyView"
ref=
"433654949"
/>
<string
key=
"NSReuseIdentifierKey"
>
_NS:9
</string>
<object
class=
"NSColor"
key=
"IBUIBackgroundColor"
id=
"130677336"
>
...
...
@@ -188,6 +193,7 @@
<int
key=
"NSvFlags"
>
290
</int>
<string
key=
"NSFrameSize"
>
{320, 60}
</string>
<reference
key=
"NSSuperview"
ref=
"1066205493"
/>
<reference
key=
"NSWindow"
/>
<reference
key=
"NSNextKeyView"
ref=
"761747136"
/>
<string
key=
"NSReuseIdentifierKey"
>
_NS:9
</string>
<bool
key=
"IBUIUserInteractionEnabled"
>
NO
</bool>
...
...
@@ -199,6 +205,7 @@
<int
key=
"NSvFlags"
>
-2147483358
</int>
<string
key=
"NSFrame"
>
{{11, 9}, {280, 21}}
</string>
<reference
key=
"NSSuperview"
ref=
"1066205493"
/>
<reference
key=
"NSWindow"
/>
<reference
key=
"NSNextKeyView"
ref=
"250280512"
/>
<string
key=
"NSReuseIdentifierKey"
>
_NS:9
</string>
<bool
key=
"IBUIOpaque"
>
NO
</bool>
...
...
@@ -229,6 +236,7 @@
<int
key=
"NSvFlags"
>
-2147483358
</int>
<string
key=
"NSFrame"
>
{{11, 38}, {299, 9}}
</string>
<reference
key=
"NSSuperview"
ref=
"1066205493"
/>
<reference
key=
"NSWindow"
/>
<reference
key=
"NSNextKeyView"
ref=
"385572310"
/>
<string
key=
"NSReuseIdentifierKey"
>
_NS:9
</string>
<bool
key=
"IBUIOpaque"
>
NO
</bool>
...
...
@@ -240,6 +248,7 @@
<int
key=
"NSvFlags"
>
-2147483359
</int>
<string
key=
"NSFrame"
>
{{283, 5}, {29, 31}}
</string>
<reference
key=
"NSSuperview"
ref=
"1066205493"
/>
<reference
key=
"NSWindow"
/>
<reference
key=
"NSNextKeyView"
ref=
"802027691"
/>
<string
key=
"NSReuseIdentifierKey"
>
_NS:9
</string>
<bool
key=
"IBUIOpaque"
>
NO
</bool>
...
...
@@ -264,6 +273,7 @@
<int
key=
"NSvFlags"
>
-2147483355
</int>
<string
key=
"NSFrame"
>
{{142, 11}, {37, 37}}
</string>
<reference
key=
"NSSuperview"
ref=
"1066205493"
/>
<reference
key=
"NSWindow"
/>
<reference
key=
"NSNextKeyView"
ref=
"831264216"
/>
<string
key=
"NSReuseIdentifierKey"
>
_NS:9
</string>
<bool
key=
"IBUIOpaque"
>
NO
</bool>
...
...
@@ -274,6 +284,7 @@
</array>
<string
key=
"NSFrame"
>
{{0, 105}, {320, 60}}
</string>
<reference
key=
"NSSuperview"
ref=
"191373211"
/>
<reference
key=
"NSWindow"
/>
<reference
key=
"NSNextKeyView"
ref=
"1005679980"
/>
<string
key=
"NSReuseIdentifierKey"
>
_NS:9
</string>
<reference
key=
"IBUIBackgroundColor"
ref=
"130677336"
/>
...
...
@@ -285,6 +296,7 @@
<int
key=
"NSvFlags"
>
274
</int>
<string
key=
"NSFrame"
>
{{0, 168}, {320, 215}}
</string>
<reference
key=
"NSSuperview"
ref=
"191373211"
/>
<reference
key=
"NSWindow"
/>
<string
key=
"NSReuseIdentifierKey"
>
_NS:9
</string>
<object
class=
"NSColor"
key=
"IBUIBackgroundColor"
>
<int
key=
"NSColorSpace"
>
3
</int>
...
...
@@ -310,6 +322,7 @@
</array>
<string
key=
"NSFrameSize"
>
{320, 383}
</string>
<reference
key=
"NSSuperview"
/>
<reference
key=
"NSWindow"
/>
<reference
key=
"NSNextKeyView"
ref=
"234033301"
/>
<object
class=
"NSColor"
key=
"IBUIBackgroundColor"
>
<int
key=
"NSColorSpace"
>
3
</int>
...
...
@@ -558,7 +571,18 @@
<nil
key=
"sourceID"
/>
<int
key=
"maxID"
>
96
</int>
</object>
<object
class=
"IBClassDescriber"
key=
"IBDocument.Classes"
/>
<object
class=
"IBClassDescriber"
key=
"IBDocument.Classes"
>
<array
class=
"NSMutableArray"
key=
"referencedPartialClassDescriptions"
>
<object
class=
"IBPartialClassDescription"
>
<string
key=
"className"
>
VLCMenuButton
</string>
<string
key=
"superclassName"
>
UIButton
</string>
<object
class=
"IBClassDescriptionSource"
key=
"sourceIdentifier"
>
<string
key=
"majorKey"
>
IBProjectSource
</string>
<string
key=
"minorKey"
>
./Classes/VLCMenuButton.h
</string>
</object>
</object>
</array>
</object>
<int
key=
"IBDocument.localizationMode"
>
0
</int>
<string
key=
"IBDocument.TargetRuntimeIdentifier"
>
IBCocoaTouchFramework
</string>
<object
class=
"NSMutableDictionary"
key=
"IBDocument.PluginDeclaredDependencies"
>
...
...
Write
Preview
Supports
Markdown
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