Browse Source

Add about page, but no color picker yet!

master
mac-user669 4 years ago
parent
commit
a5cc76d527
5 changed files with 117 additions and 43 deletions
  1. +1
    -1
      zenithdarkprefs/Makefile
  2. +90
    -0
      zenithdarkprefs/Resources/About.plist
  3. +12
    -42
      zenithdarkprefs/Resources/Root.plist
  4. +5
    -0
      zenithdarkprefs/ZNDarkPrefsAboutListController.h
  5. +9
    -0
      zenithdarkprefs/ZNDarkPrefsAboutListController.m

+ 1
- 1
zenithdarkprefs/Makefile View File

@@ -7,7 +7,7 @@ TARGET = iphone:12.2:13.0
include $(THEOS)/makefiles/common.mk

BUNDLE_NAME = ZenithDarkPrefs
ZenithDarkPrefs_FILES = ZNDarkPrefsRootListController.m
ZenithDarkPrefs_FILES = ZNDarkPrefsRootListController.m ZNDarkPrefsAboutListController.m
ZenithDarkPrefs_INSTALL_PATH = /Library/PreferenceBundles
ZenithDarkPrefs_FRAMEWORKS = UIKit
ZenithDarkPrefs_PRIVATE_FRAMEWORKS = Preferences

+ 90
- 0
zenithdarkprefs/Resources/About.plist View File

@@ -0,0 +1,90 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>items</key>
<array>
<dict>
<key>cell</key>
<string>PSGroupCell</string>
<key>condensed</key>
<true/>
<key>headerCellClass</key>
<string>HBPackageNameHeaderCell</string>
<key>icon</key>
<string>icon.png</string>
<key>packageIdentifier</key>
<string>com.mac-user669.zenithdark</string>
<key>titleColor</key>
<string>#D0A400</string>
<key>subtitleColor</key>
<string>#D0A400</string>
</dict>
<dict>
<key>cell</key>
<string>PSGroupCell</string>
<key>label</key>
<string>Credits</string>
<key>footerText</key>
<string>Conceptualized by yours truly.</string>
</dict>
<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>
<key>footerText</key>
<string>Coded most of the tweak.</string>
</dict>
<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>
<key>footerText</key>
<string>Helped with some of our preferences code and amongst other things.</string>
</dict>
<dict>
<key>cellClass</key>
<string>HBTwitterCell</string>
<key>label</key>
<string>Skittyblock</string>
<key>user</key>
<string>Skittyblock</string>
</dict>

<dict>
<key>cell</key>
<string>PSGroupCell</string>
<key>label</key>
<string>Open Source!</string>
<key>footerText</key>
<string></string>
</dict>
<dict>
<key>cellClass</key>
<string>HBLinkTableCell</string>
<key>label</key>
<string>Source Code</string>
<key>subtitle</key>
<string>View on GitHub</string>
<key>url</key>
<string>https://github.com/mac-user669/ZenithDark</string>
</dict>
</array>
<key>title</key>
<string>About</string>
</dict>
</plist>

+ 12
- 42
zenithdarkprefs/Resources/Root.plist View File

@@ -11,15 +11,10 @@
<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>
<string>#D0A400</string>
<key>subtitleColor</key>
<string>#444444</string>
<string>#D0A400</string>
</dict>

<dict>
@@ -60,46 +55,21 @@
<key>cell</key>
<string>PSGroupCell</string>
<key>label</key>
<string>Credits</string>
<key>footerText</key>
<string>Conceptualized by yours truly.</string>
</dict>
<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>
<string></string>
<key>footerText</key>
<string>Coded most of the tweak.</string>
<string></string>
</dict>
<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>
<key>footerText</key>
<string>Helped with some of our preferences code and amongst other things.</string>
<string>PSLinkCell</string>
<key>detail</key>
<string>ZNDarkPrefsAboutListController</string>
<key>isController</key>
<true/>
<key>label</key>
<string>About</string>
</dict>
<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>

+ 5
- 0
zenithdarkprefs/ZNDarkPrefsAboutListController.h View File

@@ -0,0 +1,5 @@
#import <CepheiPrefs/HBAboutListController.h>

@interface ZNDarkPrefsAboutListController : HBAboutListController

@end

+ 9
- 0
zenithdarkprefs/ZNDarkPrefsAboutListController.m View File

@@ -0,0 +1,9 @@
#include "ZNDarkPrefsAboutListController.h"

@implementation ZNDarkPrefsAboutListController

+ (NSString *)hb_specifierPlist {
return @"About";
}

@end

Loading…
Cancel
Save