diff options
author | Jay Freeman (saurik) <saurik@saurik.com> | 2010-11-18 22:54:19 -0800 |
---|---|---|
committer | Jay Freeman (saurik) <saurik@saurik.com> | 2010-11-18 22:56:36 -0800 |
commit | c882c7ee3b7e11b548c1b60ea46326c62c3eeb87 (patch) | |
tree | e3f10a4af4b97b5341537204fd1f77c1e3847996 /MobileCydia.mm | |
parent | 555aaf71d37d23f8e221714def6fd83aadbbc03e (diff) |
Remove PackageCell::{color_,fade_,faded_} as they are now obsolete.
Diffstat (limited to 'MobileCydia.mm')
-rw-r--r-- | MobileCydia.mm | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm index 3256fa9..7197a31 100644 --- a/MobileCydia.mm +++ b/MobileCydia.mm @@ -4640,9 +4640,6 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) { NSString *source_; UIImage *badge_; Package *package_; - UIColor *color_; - BOOL faded_; - float fade_; UIImage *placard_; } @@ -4693,14 +4690,9 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) { - (void) dealloc { [self clearPackage]; - [color_ release]; [super dealloc]; } -- (float) fade { - return faded_ ? [self selectionPercent] : fade_; -} - - (PackageCell *) init { CGRect frame(CGRectMake(0, 0, 320, 74)); if ((self = [super initWithFrame:frame reuseIdentifier:@"Package"]) != nil) { @@ -4713,8 +4705,6 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) { [content_ setDelegate:self]; [content_ setOpaque:YES]; - if ([self respondsToSelector:@selector(selectionPercent)]) - faded_ = YES; } return self; } |