Bläddra i källkod

menu: set temporary background graphic

Felix Paul Kühne 9 år sedan
förälder
incheckning
f7a86496ad

+ 1 - 0
Sources/VLCSidebarController.m

@@ -54,6 +54,7 @@
                                                              leftMenuViewController:[UIViewController new]
                                                             rightMenuViewController:_menuViewController];
     }
+    _sideMenuViewController.backgroundImage = [UIImage imageNamed:@"menu-background"];
 
     return self;
 }

+ 6 - 0
vlc-ios/Images.xcassets/Contents.json

@@ -0,0 +1,6 @@
+{
+  "info" : {
+    "version" : 1,
+    "author" : "xcode"
+  }
+}

+ 23 - 0
vlc-ios/Images.xcassets/menu-background.imageset/Contents.json

@@ -0,0 +1,23 @@
+{
+  "images" : [
+    {
+      "idiom" : "universal",
+      "filename" : "menu-background.png",
+      "scale" : "1x"
+    },
+    {
+      "idiom" : "universal",
+      "filename" : "menu-background@2x.png",
+      "scale" : "2x"
+    },
+    {
+      "idiom" : "universal",
+      "filename" : "menu-background@3x.png",
+      "scale" : "3x"
+    }
+  ],
+  "info" : {
+    "version" : 1,
+    "author" : "xcode"
+  }
+}

BIN
vlc-ios/Images.xcassets/menu-background.imageset/menu-background.png


BIN
vlc-ios/Images.xcassets/menu-background.imageset/menu-background@2x.png


BIN
vlc-ios/Images.xcassets/menu-background.imageset/menu-background@3x.png