Cephei for Prefs UI, still need to fix tint color
This commit is contained in:
@ -11,6 +11,8 @@ ZenithDarkPrefs_FILES = ZNDarkPrefsRootListController.m
|
||||
ZenithDarkPrefs_INSTALL_PATH = /Library/PreferenceBundles
|
||||
ZenithDarkPrefs_FRAMEWORKS = UIKit
|
||||
ZenithDarkPrefs_PRIVATE_FRAMEWORKS = Preferences
|
||||
ZenithDarkPrefs_EXTRA_FRAMEWORKS = Cephei CepheiPrefs
|
||||
|
||||
|
||||
include $(THEOS_MAKE_PATH)/bundle.mk
|
||||
|
||||
|
@ -5,13 +5,22 @@
|
||||
<key>items</key>
|
||||
<array>
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
<string>PSGroupCell</string>
|
||||
<key>label</key>
|
||||
<string>Enable Tweak</string>
|
||||
<key>footerText</key>
|
||||
<string>Enable to give Zenith's pull tabs a dark look!</string>
|
||||
</dict>
|
||||
<key>cell</key>
|
||||
<string>PSGroupCell</string>
|
||||
<key>headerCellClass</key>
|
||||
<string>HBPackageNameHeaderCell</string>
|
||||
<key>packageIdentifier</key>
|
||||
<string>com.mac-user669.zenithdark</string>
|
||||
<key>backgroundGradientColors</key>
|
||||
<array>
|
||||
<string>#D0A400</string>
|
||||
<string>#D0A400</string>
|
||||
</array>
|
||||
<key>titleColor</key>
|
||||
<string>#111111</string>
|
||||
<key>subtitleColor</key>
|
||||
<string>#444444</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>PostNotification</key>
|
||||
<string>com.mac-user669.zenithdark.prefschanged</string>
|
||||
@ -51,15 +60,13 @@
|
||||
<string>Conceptualized by yours truly.</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>icon</key>
|
||||
<string>mac-user669.png</string>
|
||||
<key>cell</key>
|
||||
<string>PSButtonCell</string>
|
||||
<key>label</key>
|
||||
<string>@mac_user669</string>
|
||||
<key>action</key>
|
||||
<string>followMe</string>
|
||||
</dict>
|
||||
<key>cellClass</key>
|
||||
<string>HBTwitterCell</string>
|
||||
<key>label</key>
|
||||
<string>mac-user669</string>
|
||||
<key>user</key>
|
||||
<string>mac_user669</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
<string>PSGroupCell</string>
|
||||
@ -67,15 +74,13 @@
|
||||
<string>Coded most of the tweak.</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>icon</key>
|
||||
<string>iKA.png</string>
|
||||
<key>cell</key>
|
||||
<string>PSButtonCell</string>
|
||||
<key>label</key>
|
||||
<string>@iKilledAppl3</string>
|
||||
<key>action</key>
|
||||
<string>followiKA</string>
|
||||
</dict>
|
||||
<key>cellClass</key>
|
||||
<string>HBTwitterCell</string>
|
||||
<key>label</key>
|
||||
<string>iKilledAppl3</string>
|
||||
<key>user</key>
|
||||
<string>iKilledAppl3</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
<string>PSGroupCell</string>
|
||||
@ -83,15 +88,13 @@
|
||||
<string>Helped with some of our preferences code and amongst other things.</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>icon</key>
|
||||
<string>skitty.png</string>
|
||||
<key>cell</key>
|
||||
<string>PSButtonCell</string>
|
||||
<key>label</key>
|
||||
<string>@Skittyblock</string>
|
||||
<key>action</key>
|
||||
<string>followSkitty</string>
|
||||
</dict>
|
||||
<key>cellClass</key>
|
||||
<string>HBTwitterCell</string>
|
||||
<key>label</key>
|
||||
<string>Skittyblock</string>
|
||||
<key>user</key>
|
||||
<string>Skittyblock</string>
|
||||
</dict>
|
||||
</array>
|
||||
<key>title</key>
|
||||
<string>ZenithDark</string>
|
||||
|
@ -1,4 +1,8 @@
|
||||
#import <Preferences/PSListController.h>
|
||||
#import <CepheiPrefs/HBRootListController.h>
|
||||
#import <CepheiPrefs/HBAppearanceSettings.h>
|
||||
#import <Cephei/HBPreferences.h>
|
||||
|
||||
@import UIKit;
|
||||
|
||||
// image for share button
|
||||
|
@ -1,14 +1,24 @@
|
||||
#import "ZNDarkPrefsRootListController.h"
|
||||
#import <CepheiPrefs/HBAppearanceSettings.h>
|
||||
|
||||
#define THEME_COLOR \
|
||||
[UIColor colorWithRed:1.00 \
|
||||
green:0.00 \
|
||||
blue:0.00 \
|
||||
alpha:1.0];
|
||||
|
||||
|
||||
@implementation ZNDarkPrefsRootListController
|
||||
|
||||
+ (UIColor *)hb_tintColor {
|
||||
return THEME_COLOR;
|
||||
}
|
||||
|
||||
-(void)viewWillAppear:(BOOL)animated {
|
||||
[super viewWillAppear:animated];
|
||||
|
||||
// share button for our tweak :P
|
||||
self.navigationItem.rightBarButtonItem = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemCompose target:self action:@selector(shareTapped)];
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user