1
0
mirror of https://github.com/Burrit0z/kai synced 2025-07-01 08:36:48 +00:00
This commit is contained in:
Burrit0z
2020-05-20 15:30:35 -04:00
parent 9dda120072
commit 5f8b36d198
5 changed files with 44 additions and 13 deletions

4
Kai.h
View File

@ -55,6 +55,7 @@ double glyphSize;
double bannerHeight;
double cornerRadius;
double bannerWidthFactor;
double horizontalOffset;
#import "KAIBattery.mm"
@ -106,7 +107,7 @@ static void preferencesChanged()
enabled = boolValueForKey(@"enabled", YES);
spacing = numberForValue(@"spacing", 5);
glyphSize = numberForValue(@"glyphSize", 40);
glyphSize = numberForValue(@"glyphSize", 35);
bannerHeight = numberForValue(@"bannerHeight", 80);
cornerRadius = numberForValue(@"cornerRadius", 13);
disableGlyphs = boolValueForKey(@"disableGlyphs", NO);
@ -116,6 +117,7 @@ static void preferencesChanged()
bannerWidthFactor = numberForValue(@"bannerWidthFactor", 0);
hideDeviceLabel = boolValueForKey(@"hideDeviceLabel", NO);
bannerAlign = numberForValue(@"bannerAlign", 2);
horizontalOffset = numberForValue(@"horizontalOffset", 0);
if(disableGlyphs) {
glyphSize = 0;