Cephei for Prefs UI, still need to fix tint color
This commit is contained in:
1
Makefile
1
Makefile
@ -8,6 +8,7 @@ TWEAK_NAME = ZenithDark
|
|||||||
|
|
||||||
ZenithDark_FILES = Tweak.xm
|
ZenithDark_FILES = Tweak.xm
|
||||||
ZenithDark_FRAMEWORKS = UIKit CoreGraphics
|
ZenithDark_FRAMEWORKS = UIKit CoreGraphics
|
||||||
|
ZenithDark_EXTRA_FRAMEWORKS += Cephei
|
||||||
|
|
||||||
include $(THEOS_MAKE_PATH)/tweak.mk
|
include $(THEOS_MAKE_PATH)/tweak.mk
|
||||||
|
|
||||||
|
3
Tweak.xm
3
Tweak.xm
@ -1,4 +1,7 @@
|
|||||||
#import "ZenithDark.h"
|
#import "ZenithDark.h"
|
||||||
|
#import <Cephei/HBPreferences.h>
|
||||||
|
#import <CepheiPrefs/HBRootListController.h>
|
||||||
|
#import <CepheiPrefs/HBAppearanceSettings.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
||||||
|
2
control
2
control
@ -2,7 +2,7 @@ Package: com.mac-user669.zenithdark
|
|||||||
Version: 1.2
|
Version: 1.2
|
||||||
Architecture: iphoneos-arm
|
Architecture: iphoneos-arm
|
||||||
Maintainer: mac-user669
|
Maintainer: mac-user669
|
||||||
Depends: mobilesubstrate, preferenceloader, com.muirey03.zenith
|
Depends: mobilesubstrate, preferenceloader, com.muirey03.zenith, ws.hbang.common (>= 1.11)
|
||||||
Section: Tweaks
|
Section: Tweaks
|
||||||
Description: Changes Zeniths tabs to a dark blur
|
Description: Changes Zeniths tabs to a dark blur
|
||||||
Author: mac-user669
|
Author: mac-user669
|
||||||
|
@ -11,6 +11,8 @@ ZenithDarkPrefs_FILES = ZNDarkPrefsRootListController.m
|
|||||||
ZenithDarkPrefs_INSTALL_PATH = /Library/PreferenceBundles
|
ZenithDarkPrefs_INSTALL_PATH = /Library/PreferenceBundles
|
||||||
ZenithDarkPrefs_FRAMEWORKS = UIKit
|
ZenithDarkPrefs_FRAMEWORKS = UIKit
|
||||||
ZenithDarkPrefs_PRIVATE_FRAMEWORKS = Preferences
|
ZenithDarkPrefs_PRIVATE_FRAMEWORKS = Preferences
|
||||||
|
ZenithDarkPrefs_EXTRA_FRAMEWORKS = Cephei CepheiPrefs
|
||||||
|
|
||||||
|
|
||||||
include $(THEOS_MAKE_PATH)/bundle.mk
|
include $(THEOS_MAKE_PATH)/bundle.mk
|
||||||
|
|
||||||
|
@ -5,13 +5,22 @@
|
|||||||
<key>items</key>
|
<key>items</key>
|
||||||
<array>
|
<array>
|
||||||
<dict>
|
<dict>
|
||||||
<key>cell</key>
|
<key>cell</key>
|
||||||
<string>PSGroupCell</string>
|
<string>PSGroupCell</string>
|
||||||
<key>label</key>
|
<key>headerCellClass</key>
|
||||||
<string>Enable Tweak</string>
|
<string>HBPackageNameHeaderCell</string>
|
||||||
<key>footerText</key>
|
<key>packageIdentifier</key>
|
||||||
<string>Enable to give Zenith's pull tabs a dark look!</string>
|
<string>com.mac-user669.zenithdark</string>
|
||||||
</dict>
|
<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>
|
<dict>
|
||||||
<key>PostNotification</key>
|
<key>PostNotification</key>
|
||||||
<string>com.mac-user669.zenithdark.prefschanged</string>
|
<string>com.mac-user669.zenithdark.prefschanged</string>
|
||||||
@ -51,15 +60,13 @@
|
|||||||
<string>Conceptualized by yours truly.</string>
|
<string>Conceptualized by yours truly.</string>
|
||||||
</dict>
|
</dict>
|
||||||
<dict>
|
<dict>
|
||||||
<key>icon</key>
|
<key>cellClass</key>
|
||||||
<string>mac-user669.png</string>
|
<string>HBTwitterCell</string>
|
||||||
<key>cell</key>
|
<key>label</key>
|
||||||
<string>PSButtonCell</string>
|
<string>mac-user669</string>
|
||||||
<key>label</key>
|
<key>user</key>
|
||||||
<string>@mac_user669</string>
|
<string>mac_user669</string>
|
||||||
<key>action</key>
|
</dict>
|
||||||
<string>followMe</string>
|
|
||||||
</dict>
|
|
||||||
<dict>
|
<dict>
|
||||||
<key>cell</key>
|
<key>cell</key>
|
||||||
<string>PSGroupCell</string>
|
<string>PSGroupCell</string>
|
||||||
@ -67,15 +74,13 @@
|
|||||||
<string>Coded most of the tweak.</string>
|
<string>Coded most of the tweak.</string>
|
||||||
</dict>
|
</dict>
|
||||||
<dict>
|
<dict>
|
||||||
<key>icon</key>
|
<key>cellClass</key>
|
||||||
<string>iKA.png</string>
|
<string>HBTwitterCell</string>
|
||||||
<key>cell</key>
|
<key>label</key>
|
||||||
<string>PSButtonCell</string>
|
<string>iKilledAppl3</string>
|
||||||
<key>label</key>
|
<key>user</key>
|
||||||
<string>@iKilledAppl3</string>
|
<string>iKilledAppl3</string>
|
||||||
<key>action</key>
|
</dict>
|
||||||
<string>followiKA</string>
|
|
||||||
</dict>
|
|
||||||
<dict>
|
<dict>
|
||||||
<key>cell</key>
|
<key>cell</key>
|
||||||
<string>PSGroupCell</string>
|
<string>PSGroupCell</string>
|
||||||
@ -83,15 +88,13 @@
|
|||||||
<string>Helped with some of our preferences code and amongst other things.</string>
|
<string>Helped with some of our preferences code and amongst other things.</string>
|
||||||
</dict>
|
</dict>
|
||||||
<dict>
|
<dict>
|
||||||
<key>icon</key>
|
<key>cellClass</key>
|
||||||
<string>skitty.png</string>
|
<string>HBTwitterCell</string>
|
||||||
<key>cell</key>
|
<key>label</key>
|
||||||
<string>PSButtonCell</string>
|
<string>Skittyblock</string>
|
||||||
<key>label</key>
|
<key>user</key>
|
||||||
<string>@Skittyblock</string>
|
<string>Skittyblock</string>
|
||||||
<key>action</key>
|
</dict>
|
||||||
<string>followSkitty</string>
|
|
||||||
</dict>
|
|
||||||
</array>
|
</array>
|
||||||
<key>title</key>
|
<key>title</key>
|
||||||
<string>ZenithDark</string>
|
<string>ZenithDark</string>
|
||||||
|
@ -1,4 +1,8 @@
|
|||||||
#import <Preferences/PSListController.h>
|
#import <Preferences/PSListController.h>
|
||||||
|
#import <CepheiPrefs/HBRootListController.h>
|
||||||
|
#import <CepheiPrefs/HBAppearanceSettings.h>
|
||||||
|
#import <Cephei/HBPreferences.h>
|
||||||
|
|
||||||
@import UIKit;
|
@import UIKit;
|
||||||
|
|
||||||
// image for share button
|
// image for share button
|
||||||
|
@ -1,14 +1,24 @@
|
|||||||
#import "ZNDarkPrefsRootListController.h"
|
#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
|
@implementation ZNDarkPrefsRootListController
|
||||||
|
|
||||||
|
+ (UIColor *)hb_tintColor {
|
||||||
|
return THEME_COLOR;
|
||||||
|
}
|
||||||
|
|
||||||
-(void)viewWillAppear:(BOOL)animated {
|
-(void)viewWillAppear:(BOOL)animated {
|
||||||
[super viewWillAppear:animated];
|
[super viewWillAppear:animated];
|
||||||
|
|
||||||
// share button for our tweak :P
|
// share button for our tweak :P
|
||||||
self.navigationItem.rightBarButtonItem = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemCompose target:self action:@selector(shareTapped)];
|
self.navigationItem.rightBarButtonItem = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemCompose target:self action:@selector(shareTapped)];
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user