Commit 6e23f4f4 authored by Felix Paul Kühne's avatar Felix Paul Kühne

Implement updated color scheme

parent b8f64312
......@@ -24,7 +24,7 @@
- (void)awakeFromNib {
[super awakeFromNib];
_contentView = self;
self.backgroundColor = [UIColor blackColor];
self.backgroundColor = [UIColor colorWithWhite:.122 alpha:1.];
self.reuseIdentifier = @"AQPlaylistCell";
}
......
......@@ -16,13 +16,6 @@
NSAssert([nibContentArray count] == 1, @"meh");
NSAssert([[nibContentArray lastObject] isKindOfClass:[VLCPlaylistTableViewCell class]], @"meh meh");
VLCPlaylistTableViewCell *cell = (VLCPlaylistTableViewCell *)[nibContentArray lastObject];
CGRect frame = [cell frame];
UIView *background = [[UIView alloc] initWithFrame:frame];
background.backgroundColor = [UIColor colorWithWhite:.05 alpha:1.];
cell.backgroundView = background;
UIView *highlightedBackground = [[UIView alloc] initWithFrame:frame];
highlightedBackground.backgroundColor = [UIColor colorWithWhite:.2 alpha:1.];
cell.selectedBackgroundView = highlightedBackground;
return cell;
}
......
......@@ -45,7 +45,7 @@
self.view = _gridView;
}
self.view.backgroundColor = [UIColor blackColor];
self.view.backgroundColor = [UIColor colorWithWhite:.122 alpha:1.];
self.view.autoresizingMask = UIViewAutoresizingFlexibleHeight | UIViewAutoresizingFlexibleWidth;
self.emptyLibraryView = [[[NSBundle mainBundle] loadNibNamed:@"VLCEmptyLibraryView" owner:self options:nil] lastObject];
}
......@@ -84,7 +84,7 @@
_gridView.indicatorStyle = UIScrollViewIndicatorStyleWhite;
} else {
_tableView.rowHeight = [VLCPlaylistTableViewCell heightOfCell];
_tableView.separatorColor = [UIColor colorWithWhite:.2 alpha:1.];
_tableView.separatorColor = [UIColor colorWithWhite:.122 alpha:1.];
}
_emptyLibraryView.emptyLibraryLabel.text = NSLocalizedString(@"EMPTY_LIBRARY", @"");
......
......@@ -2,9 +2,9 @@
<archive type="com.apple.InterfaceBuilder3.CocoaTouch.iPad.XIB" version="8.00">
<data>
<int key="IBDocument.SystemTarget">1296</int>
<string key="IBDocument.SystemVersion">12D78</string>
<string key="IBDocument.SystemVersion">12E55</string>
<string key="IBDocument.InterfaceBuilderVersion">3084</string>
<string key="IBDocument.AppKitVersion">1187.37</string>
<string key="IBDocument.AppKitVersion">1187.39</string>
<string key="IBDocument.HIToolboxVersion">626.00</string>
<object class="NSMutableDictionary" key="IBDocument.PluginVersions">
<string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
......@@ -68,9 +68,9 @@
<bool key="IBUIUserInteractionEnabled">NO</bool>
<string key="targetRuntimeIdentifier">IBIPadFramework</string>
<string key="IBUIText">For playback, use iTunes to synchronize files, open a network stream or ask another application to open a file in VLC for iOS.</string>
<object class="NSColor" key="IBUITextColor" id="866174752">
<object class="NSColor" key="IBUITextColor">
<int key="NSColorSpace">3</int>
<bytes key="NSWhite">MC42NjY2NjY2NjY3AA</bytes>
<bytes key="NSWhite">MC43MgA</bytes>
</object>
<nil key="IBUIHighlightedColor"/>
<int key="IBUIBaselineAdjustment">0</int>
......@@ -103,7 +103,10 @@
<bool key="IBUIUserInteractionEnabled">NO</bool>
<string key="targetRuntimeIdentifier">IBIPadFramework</string>
<string key="IBUIText">Empty Media Library</string>
<reference key="IBUITextColor" ref="866174752"/>
<object class="NSColor" key="IBUITextColor">
<int key="NSColorSpace">3</int>
<bytes key="NSWhite">MQA</bytes>
</object>
<nil key="IBUIHighlightedColor"/>
<int key="IBUIBaselineAdjustment">0</int>
<int key="IBUITextAlignment">1</int>
......@@ -138,7 +141,7 @@
<string key="NSReuseIdentifierKey">_NS:9</string>
<object class="NSColor" key="IBUIBackgroundColor">
<int key="NSColorSpace">3</int>
<bytes key="NSWhite">MAA</bytes>
<bytes key="NSWhite">MC4xMgA</bytes>
</object>
<object class="IBUISimulatedSizeMetrics" key="IBUISimulatedDestinationMetrics">
<string key="IBUISimulatedSizeMetricsClass">IBUISimulatedFreeformSizeMetricsSentinel</string>
......
......@@ -2,9 +2,9 @@
<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="8.00">
<data>
<int key="IBDocument.SystemTarget">1296</int>
<string key="IBDocument.SystemVersion">12D78</string>
<string key="IBDocument.SystemVersion">12E55</string>
<string key="IBDocument.InterfaceBuilderVersion">3084</string>
<string key="IBDocument.AppKitVersion">1187.37</string>
<string key="IBDocument.AppKitVersion">1187.39</string>
<string key="IBDocument.HIToolboxVersion">626.00</string>
<object class="NSMutableDictionary" key="IBDocument.PluginVersions">
<string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
......@@ -69,9 +69,9 @@
<bool key="IBUIUserInteractionEnabled">NO</bool>
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
<string key="IBUIText">Empty Media Library</string>
<object class="NSColor" key="IBUITextColor" id="1008639003">
<object class="NSColor" key="IBUITextColor">
<int key="NSColorSpace">3</int>
<bytes key="NSWhite">MC42NjY2NjY2NjY3AA</bytes>
<bytes key="NSWhite">MQA</bytes>
</object>
<nil key="IBUIHighlightedColor"/>
<int key="IBUIBaselineAdjustment">0</int>
......@@ -100,7 +100,10 @@
<bool key="IBUIUserInteractionEnabled">NO</bool>
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
<string key="IBUIText">For playback, use iTunes to synchronize files, open a network stream or ask another application to open a file in VLC for iOS.</string>
<reference key="IBUITextColor" ref="1008639003"/>
<object class="NSColor" key="IBUITextColor">
<int key="NSColorSpace">3</int>
<bytes key="NSWhite">MC43MgA</bytes>
</object>
<nil key="IBUIHighlightedColor"/>
<int key="IBUIBaselineAdjustment">0</int>
<int key="IBUINumberOfLines">0</int>
......@@ -138,7 +141,7 @@
<string key="NSReuseIdentifierKey">_NS:9</string>
<object class="NSColor" key="IBUIBackgroundColor">
<int key="NSColorSpace">3</int>
<bytes key="NSWhite">MAA</bytes>
<bytes key="NSWhite">MC4xMgA</bytes>
</object>
<object class="IBUISimulatedSizeMetrics" key="IBUISimulatedDestinationMetrics">
<string key="IBUISimulatedSizeMetricsClass">IBUISimulatedFreeformSizeMetricsSentinel</string>
......
......@@ -48,7 +48,7 @@
<bool key="IBUIUserInteractionEnabled">NO</bool>
<string key="targetRuntimeIdentifier">IBIPadFramework</string>
</object>
<object class="IBUIImageView" id="816641102">
<object class="IBUIImageView" id="528008643">
<reference key="NSNextResponder" ref="93090196"/>
<int key="NSvFlags">274</int>
<string key="NSFrame">{{16, 9}, {266, 154}}</string>
......@@ -77,9 +77,9 @@
<bool key="IBUIUserInteractionEnabled">NO</bool>
<string key="targetRuntimeIdentifier">IBIPadFramework</string>
<string key="IBUIText">Label</string>
<object class="NSColor" key="IBUITextColor">
<object class="NSColor" key="IBUITextColor" id="235416669">
<int key="NSColorSpace">3</int>
<bytes key="NSWhite">MC42NjY2NjY2NjY3AA</bytes>
<bytes key="NSWhite">MQA</bytes>
</object>
<nil key="IBUIHighlightedColor"/>
<object class="NSColor" key="IBUIShadowColor" id="398609642">
......@@ -106,7 +106,6 @@
<string key="NSFrame">{{20, 190}, {258, 28}}</string>
<reference key="NSSuperview" ref="93090196"/>
<reference key="NSWindow"/>
<reference key="NSNextKeyView"/>
<string key="NSReuseIdentifierKey">_NS:9</string>
<bool key="IBUIOpaque">NO</bool>
<bool key="IBUIClipsSubviews">YES</bool>
......@@ -116,7 +115,7 @@
<string key="IBUIText">Subtitle</string>
<object class="NSColor" key="IBUITextColor">
<int key="NSColorSpace">3</int>
<bytes key="NSWhite">MC4zMzMzMzMzMzMzAA</bytes>
<bytes key="NSWhite">MC43MgA</bytes>
</object>
<nil key="IBUIHighlightedColor"/>
<reference key="IBUIShadowColor" ref="398609642"/>
......@@ -145,10 +144,7 @@
<string key="targetRuntimeIdentifier">IBIPadFramework</string>
<int key="IBUIContentHorizontalAlignment">0</int>
<int key="IBUIContentVerticalAlignment">0</int>
<object class="NSColor" key="IBUIHighlightedTitleColor">
<int key="NSColorSpace">3</int>
<bytes key="NSWhite">MQA</bytes>
</object>
<reference key="IBUIHighlightedTitleColor" ref="235416669"/>
<object class="NSColor" key="IBUINormalTitleColor">
<int key="NSColorSpace">1</int>
<bytes key="NSRGB">MC4xOTYwNzg0MzE0IDAuMzA5ODAzOTIxNiAwLjUyMTU2ODYyNzUAA</bytes>
......@@ -204,11 +200,11 @@
<string key="NSFrameSize">{298, 220}</string>
<reference key="NSSuperview"/>
<reference key="NSWindow"/>
<reference key="NSNextKeyView" ref="816641102"/>
<reference key="NSNextKeyView" ref="528008643"/>
<string key="NSReuseIdentifierKey">_NS:9</string>
<object class="NSColor" key="IBUIBackgroundColor">
<int key="NSColorSpace">3</int>
<bytes key="NSWhite">MAA</bytes>
<bytes key="NSWhite">MC4xMgA</bytes>
</object>
<bool key="IBUIAutoresizesSubviews">NO</bool>
<bool key="IBUIClipsSubviews">YES</bool>
......@@ -306,7 +302,7 @@
<reference ref="296556150"/>
<reference ref="863064291"/>
<reference ref="986363358"/>
<reference ref="816641102"/>
<reference ref="528008643"/>
</array>
<reference key="parent" ref="0"/>
</object>
......@@ -344,7 +340,7 @@
</object>
<object class="IBObjectRecord">
<int key="objectID">25</int>
<reference key="object" ref="816641102"/>
<reference key="object" ref="528008643"/>
<reference key="parent" ref="93090196"/>
</object>
</array>
......
......@@ -52,7 +52,7 @@
<bool key="IBUIUserInteractionEnabled">NO</bool>
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
</object>
<object class="IBUIImageView" id="136511154">
<object class="IBUIImageView" id="993470095">
<reference key="NSNextResponder" ref="162418872"/>
<int key="NSvFlags">292</int>
<string key="NSFrame">{{3, 2}, {129, 75}}</string>
......@@ -81,14 +81,11 @@
<bool key="IBUIUserInteractionEnabled">NO</bool>
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
<string type="base64-UTF8" key="IBUIText">VGl0bGUgMQpUaXRsZSAyA</string>
<object class="NSColor" key="IBUITextColor">
<int key="NSColorSpace">3</int>
<bytes key="NSWhite">MC42NjY2NjY2NjY3AA</bytes>
</object>
<object class="NSColor" key="IBUIHighlightedColor" id="654385816">
<object class="NSColor" key="IBUITextColor" id="654385816">
<int key="NSColorSpace">3</int>
<bytes key="NSWhite">MQA</bytes>
</object>
<reference key="IBUIHighlightedColor" ref="654385816"/>
<int key="IBUINumberOfLines">2</int>
<int key="IBUILineBreakMode">0</int>
<object class="IBUIFontDescription" key="IBUIFontDescription">
......@@ -106,7 +103,7 @@
<object class="IBUILabel" id="625431089">
<reference key="NSNextResponder" ref="162418872"/>
<int key="NSvFlags">290</int>
<string key="NSFrame">{{137, 60}, {178, 15}}</string>
<string key="NSFrame">{{137, 55}, {178, 15}}</string>
<reference key="NSSuperview" ref="162418872"/>
<reference key="NSWindow"/>
<string key="NSReuseIdentifierKey">_NS:9</string>
......@@ -118,7 +115,7 @@
<string key="IBUIText">Subtitle — Subtitle</string>
<object class="NSColor" key="IBUITextColor">
<int key="NSColorSpace">3</int>
<bytes key="NSWhite">MC4zMzMzMzMzMzMzAA</bytes>
<bytes key="NSWhite">MC43MgA</bytes>
</object>
<reference key="IBUIHighlightedColor" ref="654385816"/>
<int key="IBUIBaselineAdjustment">0</int>
......@@ -167,7 +164,7 @@
<string key="NSFrameSize">{320, 79}</string>
<reference key="NSSuperview" ref="962619467"/>
<reference key="NSWindow"/>
<reference key="NSNextKeyView" ref="136511154"/>
<reference key="NSNextKeyView" ref="993470095"/>
<string key="NSReuseIdentifierKey">_NS:11</string>
<reference key="IBUIBackgroundColor" ref="698237866"/>
<bool key="IBUIOpaque">NO</bool>
......@@ -184,7 +181,7 @@
<string key="NSReuseIdentifierKey">_NS:9</string>
<object class="NSColor" key="IBUIBackgroundColor">
<int key="NSColorSpace">3</int>
<bytes key="NSWhite">MAA</bytes>
<bytes key="NSWhite">MC4xMgA</bytes>
</object>
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
<reference key="IBUIContentView" ref="162418872"/>
......@@ -263,7 +260,7 @@
<reference ref="625431089"/>
<reference ref="442944742"/>
<reference ref="775158982"/>
<reference ref="136511154"/>
<reference ref="993470095"/>
</array>
<reference key="parent" ref="0"/>
</object>
......@@ -294,7 +291,7 @@
</object>
<object class="IBObjectRecord">
<int key="objectID">22</int>
<reference key="object" ref="136511154"/>
<reference key="object" ref="993470095"/>
<reference key="parent" ref="962619467"/>
</object>
</array>
......
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