mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-11-27 12:15:19 +01:00
additional settings for vector theme
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
This commit is contained in:
parent
ad209ac209
commit
59c3764c27
@ -614,12 +614,12 @@ extern CHAR16* DsdtsList[20];
|
||||
extern UINTN DsdtsNum;
|
||||
extern UINTN ThemesNum;
|
||||
extern UINTN ConfigsNum;
|
||||
extern INTN ScrollButtonsHeight;
|
||||
extern INTN ScrollBarDecorationsHeight;
|
||||
extern INTN ScrollScrollDecorationsHeight;
|
||||
extern INTN LayoutBannerOffset;
|
||||
extern INTN LayoutButtonOffset;
|
||||
extern INTN LayoutTextOffset;
|
||||
//extern INTN ScrollButtonsHeight;
|
||||
//extern INTN ScrollBarDecorationsHeight;
|
||||
//extern INTN ScrollScrollDecorationsHeight;
|
||||
//extern INTN LayoutBannerOffset;
|
||||
//extern INTN LayoutButtonOffset;
|
||||
//extern INTN LayoutTextOffset;
|
||||
// this should go in a globals, not in settings
|
||||
|
||||
extern INTN OldChosenTheme;
|
||||
@ -635,7 +635,7 @@ extern HDA_PROPERTIES gAudios[];
|
||||
extern UINTN NGFX;
|
||||
extern UINTN NHDA;
|
||||
extern CONST CHAR16 **SystemPlists;
|
||||
extern CONST CHAR16 **InstallPlists;
|
||||
extern CONST CHAR16 **InstallPlists;
|
||||
extern CONST CHAR16 **RecoveryPlists;
|
||||
//extern UINT16 gCPUtype;
|
||||
extern SETTINGS_DATA gSettings;
|
||||
|
@ -3484,6 +3484,11 @@ void XTheme::parseTheme(void* parser, const char** dict)
|
||||
BadgeOffsetX = getIntegerDict(dict[i + 1]);
|
||||
} else if (strcmp(dict[i], "BadgeOffsetY") == 0) {
|
||||
BadgeOffsetY = getIntegerDict(dict[i + 1]);
|
||||
} else if (strcmp(dict[i], "LayoutBannerOffset") == 0) {
|
||||
LayoutBannerOffset = getIntegerDict(dict[i + 1]);
|
||||
} else if (strcmp(dict[i], "LayoutButtonOffset") == 0) {
|
||||
LayoutButtonOffset = getIntegerDict(dict[i + 1]);
|
||||
|
||||
} else if (strcmp(dict[i], "NonSelectedGrey") == 0) {
|
||||
NonSelectedGrey = getIntegerDict(dict[i + 1]) > 0;
|
||||
} else if (strcmp(dict[i], "CharWidth") == 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user