Commit 67fdb0e3 authored by Felix Paul Kühne's avatar Felix Paul Kühne

Apply library background gradient on the pad

needs checking for potential speed implications on older devices
parent e98ca961
......@@ -24,7 +24,7 @@
- (void)awakeFromNib {
[super awakeFromNib];
_contentView = self;
self.backgroundColor = [UIColor colorWithWhite:.122 alpha:1.];
self.backgroundColor = [UIColor clearColor];
self.reuseIdentifier = @"AQPlaylistCell";
}
......
......@@ -39,10 +39,11 @@
_gridView = [[AQGridView alloc] initWithFrame:[UIScreen mainScreen].bounds];
_gridView.delegate = self;
_gridView.dataSource = self;
UIImageView *imageView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"padLibBg"]];
_gridView.backgroundView = imageView;
self.view = _gridView;
}
self.view.backgroundColor = [UIColor colorWithWhite:.122 alpha:1.];
self.view.autoresizingMask = UIViewAutoresizingFlexibleHeight | UIViewAutoresizingFlexibleWidth;
self.emptyLibraryView = [[[NSBundle mainBundle] loadNibNamed:@"VLCEmptyLibraryView" owner:self options:nil] lastObject];
}
......
......@@ -113,6 +113,8 @@
7D47D72B1760E3A000E86BAD /* sliderminimumTrack.png in Resources */ = {isa = PBXBuildFile; fileRef = 7D47D7291760E3A000E86BAD /* sliderminimumTrack.png */; };
7D47D72C1760E3A000E86BAD /* sliderminimumTrack@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 7D47D72A1760E3A000E86BAD /* sliderminimumTrack@2x.png */; };
7D47D72F1761101700E86BAD /* VLCSlider.m in Sources */ = {isa = PBXBuildFile; fileRef = 7D47D72E1761101700E86BAD /* VLCSlider.m */; };
7D5262C41764D4EE00E0E30C /* padLibBg@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 7D5262C01764D4EE00E0E30C /* padLibBg@2x.png */; };
7D5262C51764D4EE00E0E30C /* padLibBg.png in Resources */ = {isa = PBXBuildFile; fileRef = 7D5262C11764D4EE00E0E30C /* padLibBg.png */; };
7D5DD5C717590ABF001421E3 /* About Contents.html in Resources */ = {isa = PBXBuildFile; fileRef = 7D5DD5C617590ABF001421E3 /* About Contents.html */; };
7D5E39C0174FB95A007DAFA1 /* dropbox-black.png in Resources */ = {isa = PBXBuildFile; fileRef = 7D5E39BF174FB95A007DAFA1 /* dropbox-black.png */; };
7D5E39C2174FBA28007DAFA1 /* dropbox-black@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 7D5E39C1174FBA28007DAFA1 /* dropbox-black@2x.png */; };
......@@ -401,6 +403,8 @@
7D4BE735175F82CA00861CD4 /* fi */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = fi; path = "fi.lproj/badgeUnread@2x~iphone.png"; sourceTree = "<group>"; };
7D4BE736175F82CA00861CD4 /* fi */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = fi; path = "fi.lproj/badgeUnread~ipad.png"; sourceTree = "<group>"; };
7D4BE737175F82CA00861CD4 /* fi */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = fi; path = "fi.lproj/badgeUnread~iphone.png"; sourceTree = "<group>"; };
7D5262C01764D4EE00E0E30C /* padLibBg@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "padLibBg@2x.png"; sourceTree = "<group>"; };
7D5262C11764D4EE00E0E30C /* padLibBg.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = padLibBg.png; sourceTree = "<group>"; };
7D5DD5C617590ABF001421E3 /* About Contents.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = "About Contents.html"; sourceTree = "<group>"; };
7D5E39BF174FB95A007DAFA1 /* dropbox-black.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "dropbox-black.png"; sourceTree = "<group>"; };
7D5E39C1174FBA28007DAFA1 /* dropbox-black@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "dropbox-black@2x.png"; sourceTree = "<group>"; };
......@@ -784,6 +788,8 @@
7D10BC661743F9AC00DA7059 /* Library View */ = {
isa = PBXGroup;
children = (
7D5262C01764D4EE00E0E30C /* padLibBg@2x.png */,
7D5262C11764D4EE00E0E30C /* padLibBg.png */,
7D1AC30A17629D4600BD2EB5 /* title.png */,
7D1AC30B17629D4600BD2EB5 /* title@2x.png */,
7D6BD1801762026700AD311A /* thumbOverlayPhone@2x.png */,
......@@ -1501,6 +1507,8 @@
7DEB3B8B1764A4F40038FC70 /* movie.png in Resources */,
7DEB3B8C1764A4F40038FC70 /* blank.png in Resources */,
7DEB3B8D1764A4F40038FC70 /* blank@2x.png in Resources */,
7D5262C41764D4EE00E0E30C /* padLibBg@2x.png in Resources */,
7D5262C51764D4EE00E0E30C /* padLibBg.png in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
......
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