|
@@ -191,6 +191,7 @@ static NSString *const KMPurchaseCompareDMGCellIdentifier = @"KMPurchaseCo
|
|
@property (weak) IBOutlet NSSwitch *buySwitch;
|
|
@property (weak) IBOutlet NSSwitch *buySwitch;
|
|
@property (weak) IBOutlet NSTextField *discountPriceLabel;
|
|
@property (weak) IBOutlet NSTextField *discountPriceLabel;
|
|
@property (weak) IBOutlet NSTextField *originalPriceLabel;
|
|
@property (weak) IBOutlet NSTextField *originalPriceLabel;
|
|
|
|
+@property (weak) IBOutlet NSTextField *discountPriceLabel2;
|
|
|
|
|
|
@property (nonatomic, assign) NSModalSession modalSession;
|
|
@property (nonatomic, assign) NSModalSession modalSession;
|
|
@property (nonatomic, retain) NSArray *dataSource;
|
|
@property (nonatomic, retain) NSArray *dataSource;
|
|
@@ -241,6 +242,8 @@ static NSString *const KMPurchaseCompareDMGCellIdentifier = @"KMPurchaseCo
|
|
self.discountPriceLabel.font = [NSFont fontWithName:@"Ubuntu" size:36.0];
|
|
self.discountPriceLabel.font = [NSFont fontWithName:@"Ubuntu" size:36.0];
|
|
self.originalPriceLabel.textColor = [NSColor whiteColor];
|
|
self.originalPriceLabel.textColor = [NSColor whiteColor];
|
|
self.originalPriceLabel.font = [NSFont fontWithName:@"Ubuntu" size:14.0];
|
|
self.originalPriceLabel.font = [NSFont fontWithName:@"Ubuntu" size:14.0];
|
|
|
|
+ self.discountPriceLabel2.textColor = [NSColor colorWithRed:255.0/255.0 green:231.0/255.0 blue:106.0/255.0 alpha:1.0];
|
|
|
|
+ self.discountPriceLabel2.font = [NSFont fontWithName:@"Ubuntu" size:36.0];
|
|
|
|
|
|
self.freeVersionLbl.stringValue = NSLocalizedString(@"Free Version", nil);
|
|
self.freeVersionLbl.stringValue = NSLocalizedString(@"Free Version", nil);
|
|
self.parmanentVerLbl.stringValue = NSLocalizedString(@"Permanent License", nil);
|
|
self.parmanentVerLbl.stringValue = NSLocalizedString(@"Permanent License", nil);
|
|
@@ -526,9 +529,13 @@ static NSString *const KMPurchaseCompareDMGCellIdentifier = @"KMPurchaseCo
|
|
}];
|
|
}];
|
|
if ([originalText isEqualToString:discountText]) {
|
|
if ([originalText isEqualToString:discountText]) {
|
|
[self.originalPriceLabel setHidden:YES];
|
|
[self.originalPriceLabel setHidden:YES];
|
|
|
|
+ [self.discountPriceLabel setHidden:YES];
|
|
|
|
+ [self.discountPriceLabel2 setHidden:NO];
|
|
[self.discountTipImage setHidden:YES];
|
|
[self.discountTipImage setHidden:YES];
|
|
} else {
|
|
} else {
|
|
[self.originalPriceLabel setHidden:NO];
|
|
[self.originalPriceLabel setHidden:NO];
|
|
|
|
+ [self.discountPriceLabel setHidden:NO];
|
|
|
|
+ [self.discountPriceLabel2 setHidden:YES];
|
|
[self.discountTipImage setHidden:NO];
|
|
[self.discountTipImage setHidden:NO];
|
|
}
|
|
}
|
|
} else {
|
|
} else {
|