|
@@ -54,7 +54,7 @@
|
|
|
self.rotateLabel = [[UILabel alloc] init];
|
|
|
self.rotateLabel.font = [UIFont systemFontOfSize:13];
|
|
|
self.rotateLabel.text = NSLocalizedString(@"Rotate", nil);
|
|
|
- self.rotateLabel.textColor = [UIColor colorWithRed:153./255 green:153./255 blue:153./255 alpha:1.];
|
|
|
+ self.rotateLabel.textColor = [CPDFColorUtils CPageEditToolbarFontColor];
|
|
|
[self.contentView addSubview:self.rotateLabel];
|
|
|
|
|
|
|
|
@@ -63,7 +63,7 @@
|
|
|
[self.leftRotateBtn setImage:[UIImage imageNamed:@"CPDFEditIRotate" inBundle:[NSBundle bundleForClass:self.class] compatibleWithTraitCollection:nil] forState:UIControlStateNormal];
|
|
|
NSString * leftTitle = [NSString stringWithFormat:@" %@",NSLocalizedString(@"Rotate Left", nil)];
|
|
|
[self.leftRotateBtn setTitle:leftTitle forState:UIControlStateNormal];
|
|
|
- [self.leftRotateBtn setTitleColor:[UIColor colorWithRed:67/255. green:71/255. blue:77/255. alpha:1.] forState:UIControlStateNormal];
|
|
|
+ [self.leftRotateBtn setTitleColor:[CPDFColorUtils CPageEditToolbarFontColor] forState:UIControlStateNormal];
|
|
|
self.leftRotateBtn.titleLabel.font = [UIFont systemFontOfSize:14.];
|
|
|
self.leftRotateBtn.layer.borderWidth = 1.;
|
|
|
self.leftRotateBtn.layer.borderColor = [UIColor colorWithRed:0 green:0 blue:0 alpha:0.1].CGColor;
|
|
@@ -75,7 +75,7 @@
|
|
|
[self.rightRotateBtn setImage:[UIImage imageNamed:@"CPDFEditRRotate" inBundle:[NSBundle bundleForClass:self.class] compatibleWithTraitCollection:nil] forState:UIControlStateNormal];
|
|
|
NSString * rightTitle = [NSString stringWithFormat:@" %@",NSLocalizedString(@"Rotate Right", nil)];
|
|
|
[self.rightRotateBtn setTitle:rightTitle forState:UIControlStateNormal];
|
|
|
- [self.rightRotateBtn setTitleColor:[UIColor colorWithRed:67/255. green:71/255. blue:77/255. alpha:1.] forState:UIControlStateNormal];
|
|
|
+ [self.rightRotateBtn setTitleColor:[CPDFColorUtils CPageEditToolbarFontColor] forState:UIControlStateNormal];
|
|
|
self.rightRotateBtn.titleLabel.font = [UIFont systemFontOfSize:14.];
|
|
|
self.rightRotateBtn.layer.borderWidth = 1.;
|
|
|
self.rightRotateBtn.layer.borderColor = [UIColor colorWithRed:0 green:0 blue:0 alpha:0.1].CGColor;
|
|
@@ -86,7 +86,7 @@
|
|
|
self.transformLabel = [[UILabel alloc] init];
|
|
|
self.transformLabel.font = [UIFont systemFontOfSize:13];
|
|
|
self.transformLabel.text = NSLocalizedString(@"Flip", nil);
|
|
|
- self.transformLabel.textColor = [UIColor colorWithRed:153./255 green:153./255 blue:153./255 alpha:1.];
|
|
|
+ self.transformLabel.textColor = [CPDFColorUtils CPageEditToolbarFontColor];
|
|
|
[self.contentView addSubview:self.transformLabel];
|
|
|
|
|
|
self.transformView = [[UIView alloc] init];
|
|
@@ -111,7 +111,7 @@
|
|
|
self.opacityView.autoresizingMask = UIViewAutoresizingFlexibleWidth;
|
|
|
self.opacityView.titleLabel.text = NSLocalizedString(@"Opacity", nil);
|
|
|
self.opacityView.titleLabel.font = [UIFont systemFontOfSize:13];
|
|
|
- self.opacityView.titleLabel.textColor = [UIColor colorWithRed:153./255 green:153./255 blue:153./255 alpha:1.];
|
|
|
+ self.opacityView.titleLabel.textColor = [CPDFColorUtils CPageEditToolbarFontColor];
|
|
|
self.opacityView.startLabel.text = @"0";
|
|
|
self.opacityView.defaultValue = 1;
|
|
|
self.opacityView.bgColor = [UIColor clearColor];
|
|
@@ -121,7 +121,7 @@
|
|
|
self.toolsLabel = [[UILabel alloc] init];
|
|
|
self.toolsLabel.font = [UIFont systemFontOfSize:13];
|
|
|
self.toolsLabel.text = NSLocalizedString(@"Tools", nil);
|
|
|
- self.toolsLabel.textColor = [UIColor colorWithRed:153./255 green:153./255 blue:153./255 alpha:1.];
|
|
|
+ self.toolsLabel.textColor = [CPDFColorUtils CPageEditToolbarFontColor];
|
|
|
[self.contentView addSubview:self.toolsLabel];
|
|
|
|
|
|
|
|
@@ -130,7 +130,7 @@
|
|
|
[self.replaceBtn setImage:[UIImage imageNamed:@"CPDFEditReplace" inBundle:[NSBundle bundleForClass:self.class] compatibleWithTraitCollection:nil] forState:UIControlStateNormal];
|
|
|
NSString * replaceTitle = [NSString stringWithFormat:@" %@",NSLocalizedString(@"Replace", nil)];
|
|
|
[self.replaceBtn setTitle:replaceTitle forState:UIControlStateNormal];
|
|
|
- [self.replaceBtn setTitleColor: [UIColor colorWithRed:67/255. green:71/255. blue:77/255. alpha:1.] forState:UIControlStateNormal];
|
|
|
+ [self.replaceBtn setTitleColor: [CPDFColorUtils CPageEditToolbarFontColor] forState:UIControlStateNormal];
|
|
|
self.replaceBtn.titleLabel.font = [UIFont systemFontOfSize:14.f];
|
|
|
self.replaceBtn.layer.borderWidth = 1;
|
|
|
self.replaceBtn.layer.borderColor = [UIColor colorWithRed:0 green:0 blue:0 alpha:0.1].CGColor;
|
|
@@ -143,7 +143,7 @@
|
|
|
[self.exportBtn setImage:[UIImage imageNamed:@"CPDFEditExport" inBundle:[NSBundle bundleForClass:self.class] compatibleWithTraitCollection:nil] forState:UIControlStateNormal];
|
|
|
NSString * exportTitle = [NSString stringWithFormat:@" %@",NSLocalizedString(@"Export", nil)];
|
|
|
[self.exportBtn setTitle:exportTitle forState:UIControlStateNormal];
|
|
|
- [self.exportBtn setTitleColor: [UIColor colorWithRed:67/255. green:71/255. blue:77/255. alpha:1.] forState:UIControlStateNormal];
|
|
|
+ [self.exportBtn setTitleColor: [CPDFColorUtils CPageEditToolbarFontColor] forState:UIControlStateNormal];
|
|
|
self.exportBtn.titleLabel.font = [UIFont systemFontOfSize:14.f];
|
|
|
self.exportBtn.layer.borderWidth = 1;
|
|
|
self.exportBtn.layer.borderColor = [UIColor colorWithRed:0 green:0 blue:0 alpha:0.1].CGColor;
|
|
@@ -156,7 +156,7 @@
|
|
|
[self.cropBtn setImage:[UIImage imageNamed:@"CPDFEditCrop" inBundle:[NSBundle bundleForClass:self.class] compatibleWithTraitCollection:nil] forState:UIControlStateNormal];
|
|
|
NSString * cropTitle = [NSString stringWithFormat:@" %@",NSLocalizedString(@"Crop", nil)];
|
|
|
[self.cropBtn setTitle:cropTitle forState:UIControlStateNormal];
|
|
|
- [self.cropBtn setTitleColor: [UIColor colorWithRed:67/255. green:71/255. blue:77/255. alpha:1.] forState:UIControlStateNormal];
|
|
|
+ [self.cropBtn setTitleColor: [CPDFColorUtils CPageEditToolbarFontColor] forState:UIControlStateNormal];
|
|
|
self.cropBtn.titleLabel.font = [UIFont systemFontOfSize:14.f];
|
|
|
self.cropBtn.layer.borderWidth = 1;
|
|
|
self.cropBtn.layer.borderColor = [UIColor colorWithRed:0 green:0 blue:0 alpha:0.1].CGColor;
|