mirror of
https://github.com/Burrit0z/kai
synced 2025-07-01 08:36:48 +00:00
lots
This commit is contained in:
4
Kai.h
4
Kai.h
@ -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;
|
||||
|
Reference in New Issue
Block a user