浏览代码

Remove no longer used circular progress indicator

Felix Paul Kühne 12 年之前
父节点
当前提交
c72cfedd0f

+ 0 - 15
AspenProject/VLCCircularProgressIndicator.h

@@ -1,15 +0,0 @@
-//
-//  VLCCircularProgressIndicator.h
-//  AspenProject
-//
-//  Created by Felix Paul Kühne on 12.05.13.
-//  Copyright (c) 2013 VideoLAN. All rights reserved.
-//
-//  Refer to the COPYING file of the official project for license.
-//
-
-#import <UIKit/UIKit.h>
-
-@interface VLCCircularProgressIndicator : UIProgressView
-
-@end

+ 0 - 39
AspenProject/VLCCircularProgressIndicator.m

@@ -1,39 +0,0 @@
-//
-//  VLCCircularProgressIndicator.m
-//  AspenProject
-//
-//  Created by Felix Paul Kühne on 12.05.13.
-//  Copyright (c) 2013 VideoLAN. All rights reserved.
-//
-//  Refer to the COPYING file of the official project for license.
-//
-
-#import "VLCCircularProgressIndicator.h"
-
-@implementation VLCCircularProgressIndicator
-
-- (void)drawRect:(CGRect)rect
-{
-    self.backgroundColor = [UIColor clearColor];
-    CGContextClearRect(UIGraphicsGetCurrentContext(), rect);
-
-    CGFloat startAngle, endAngle = 0.;
-    startAngle = M_PI * 1.5;
-    endAngle = startAngle + (M_PI * 2);
-
-    UIBezierPath* bezierPath = [UIBezierPath bezierPath];
-
-    // Create our arc, with the correct angles
-    [bezierPath addArcWithCenter:CGPointMake(rect.size.width / 2, rect.size.height / 2)
-                          radius:(rect.size.width / 2) - 6
-                      startAngle:startAngle
-                        endAngle:(endAngle - startAngle) * self.progress + startAngle
-                       clockwise:YES];
-
-    // Set the display for the path, and stroke it
-    bezierPath.lineWidth = 6.;
-    [[UIColor grayColor] setStroke];
-    [bezierPath stroke];
-}
-
-@end

+ 0 - 1
AspenProject/VLCHTTPFileDownloader.m

@@ -10,7 +10,6 @@
 
 #import "VLCHTTPFileDownloader.h"
 #import "VLCMenuViewController.h"
-#import "VLCCircularProgressIndicator.h"
 #import "VLCAppDelegate.h"
 
 @interface VLCHTTPFileDownloader ()

+ 0 - 2
AspenProject/VLCMenuViewController.h

@@ -11,7 +11,6 @@
 #import <UIKit/UIKit.h>
 
 @class VLCSettingsController;
-@class VLCCircularProgressIndicator;
 @class IASKAppSettingsViewController;
 
 @interface VLCMenuViewController : UIViewController
@@ -21,7 +20,6 @@
 
 @property (strong, nonatomic) IBOutlet UIButton *aboutButton;
 @property (strong, nonatomic) IBOutlet UIButton *openNetworkStreamButton;
-@property (strong, nonatomic) IBOutlet VLCCircularProgressIndicator *httpDownloadProgressIndicator;
 @property (strong, nonatomic) IBOutlet UIButton *downloadFromHTTPServerButton;
 @property (strong, nonatomic) IBOutlet UIButton *settingsButton;
 @property (strong, nonatomic) IBOutlet UISwitch *httpUploadServerSwitch;

+ 0 - 6
VLC for iOS.xcodeproj/project.pbxproj

@@ -196,7 +196,6 @@
 		7DE1862C175BA9A9006C0173 /* badgeUnread@2x~iphone.png in Resources */ = {isa = PBXBuildFile; fileRef = 7DE1862E175BA9A9006C0173 /* badgeUnread@2x~iphone.png */; };
 		7DE1862F175BA9AC006C0173 /* badgeUnread~ipad.png in Resources */ = {isa = PBXBuildFile; fileRef = 7DE18631175BA9AC006C0173 /* badgeUnread~ipad.png */; };
 		7DE18632175BA9AF006C0173 /* badgeUnread~iphone.png in Resources */ = {isa = PBXBuildFile; fileRef = 7DE18634175BA9AF006C0173 /* badgeUnread~iphone.png */; };
-		7DE480D1173FEA30003613E0 /* VLCCircularProgressIndicator.m in Sources */ = {isa = PBXBuildFile; fileRef = 7DE480D0173FEA30003613E0 /* VLCCircularProgressIndicator.m */; };
 		7DEB3B5D17647B240038FC70 /* bottomBlackBar@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 7DEB3B5B17647B240038FC70 /* bottomBlackBar@2x.png */; };
 		7DEB3B5E17647B240038FC70 /* bottomBlackBar.png in Resources */ = {isa = PBXBuildFile; fileRef = 7DEB3B5C17647B240038FC70 /* bottomBlackBar.png */; };
 		7DEB3B6017647DE30038FC70 /* iTunesArtwork@2x in Resources */ = {isa = PBXBuildFile; fileRef = 7DEB3B5F17647DE30038FC70 /* iTunesArtwork@2x */; };
@@ -576,8 +575,6 @@
 		7DE18646175BAEC0006C0173 /* fr */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = fr; path = "fr.lproj/badgeUnread~ipad.png"; sourceTree = "<group>"; };
 		7DE18647175BAEC1006C0173 /* it */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = it; path = "it.lproj/badgeUnread~ipad.png"; sourceTree = "<group>"; };
 		7DE18648175BAEC2006C0173 /* ja */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = ja; path = "ja.lproj/badgeUnread~ipad.png"; sourceTree = "<group>"; };
-		7DE480CF173FEA30003613E0 /* VLCCircularProgressIndicator.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = VLCCircularProgressIndicator.h; sourceTree = "<group>"; };
-		7DE480D0173FEA30003613E0 /* VLCCircularProgressIndicator.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = VLCCircularProgressIndicator.m; sourceTree = "<group>"; };
 		7DEB3B5B17647B240038FC70 /* bottomBlackBar@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "bottomBlackBar@2x.png"; sourceTree = "<group>"; };
 		7DEB3B5C17647B240038FC70 /* bottomBlackBar.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = bottomBlackBar.png; sourceTree = "<group>"; };
 		7DEB3B5F17647DE30038FC70 /* iTunesArtwork@2x */ = {isa = PBXFileReference; lastKnownFileType = file; path = "iTunesArtwork@2x"; sourceTree = "<group>"; };
@@ -920,8 +917,6 @@
 				7D5F7AC217529430006CCCFA /* VLCHorizontalSwipeGestureRecognizer.m */,
 				7D5F7AC41752943F006CCCFA /* VLCVerticalSwipeGestureRecognizer.h */,
 				7D5F7AC51752943F006CCCFA /* VLCVerticalSwipeGestureRecognizer.m */,
-				7DE480CF173FEA30003613E0 /* VLCCircularProgressIndicator.h */,
-				7DE480D0173FEA30003613E0 /* VLCCircularProgressIndicator.m */,
 				7DC87AEC17412A1F009DC250 /* VLCLinearProgressIndicator.h */,
 				7DC87AED17412A1F009DC250 /* VLCLinearProgressIndicator.m */,
 				7D31CF071746AF09005997E0 /* VLCStatusLabel.h */,
@@ -1604,7 +1599,6 @@
 				7D6B07C41716C9B8003280C4 /* NSIndexSet+AQIsSetContiguous.m in Sources */,
 				7D6B07C51716C9B8003280C4 /* UIColor+AQGridView.m in Sources */,
 				7D6B07F71716D45C003280C4 /* VLCPlaylistGridView.m in Sources */,
-				7DE480D1173FEA30003613E0 /* VLCCircularProgressIndicator.m in Sources */,
 				7DC87AEE17412A1F009DC250 /* VLCLinearProgressIndicator.m in Sources */,
 				7D31CF091746AF09005997E0 /* VLCStatusLabel.m in Sources */,
 				2915540117490A1E00B86CAD /* DDData.m in Sources */,