mirror of
https://github.com/Burrit0z/kai
synced 2025-07-01 08:26:47 +00:00
progress
This commit is contained in:
4
Kai.h
4
Kai.h
@ -40,6 +40,7 @@ BOOL showAll;
|
||||
BOOL belowMusic;
|
||||
BOOL hideDeviceLabel;
|
||||
BOOL hideChargingAnimation;
|
||||
BOOL showAllMinusInternal;
|
||||
NSInteger bannerStyle;
|
||||
NSInteger bannerAlign;
|
||||
NSInteger textColor;
|
||||
@ -49,6 +50,7 @@ double bannerHeight;
|
||||
double cornerRadius;
|
||||
double bannerWidthFactor;
|
||||
double horizontalOffset;
|
||||
double bannerAlpha;
|
||||
|
||||
//by importing here, I can use vars in the .mm files
|
||||
#import "KAIBatteryCell.mm"
|
||||
@ -116,6 +118,8 @@ static void preferencesChanged()
|
||||
belowMusic = boolValueForKey(@"belowMusic", NO);
|
||||
hideChargingAnimation = boolValueForKey(@"hideChargingAnimation", YES);
|
||||
textColor = numberForValue(@"textColor", 0);
|
||||
bannerAlpha = numberForValue(@"bannerAlpha", 1);
|
||||
showAllMinusInternal = boolValueForKey(@"showAllMinusInternal", NO);
|
||||
|
||||
if(disableGlyphs) {
|
||||
glyphSize = 0;
|
||||
|
Reference in New Issue
Block a user