mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-11-30 12:43:41 +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 DsdtsNum;
|
||||||
extern UINTN ThemesNum;
|
extern UINTN ThemesNum;
|
||||||
extern UINTN ConfigsNum;
|
extern UINTN ConfigsNum;
|
||||||
extern INTN ScrollButtonsHeight;
|
//extern INTN ScrollButtonsHeight;
|
||||||
extern INTN ScrollBarDecorationsHeight;
|
//extern INTN ScrollBarDecorationsHeight;
|
||||||
extern INTN ScrollScrollDecorationsHeight;
|
//extern INTN ScrollScrollDecorationsHeight;
|
||||||
extern INTN LayoutBannerOffset;
|
//extern INTN LayoutBannerOffset;
|
||||||
extern INTN LayoutButtonOffset;
|
//extern INTN LayoutButtonOffset;
|
||||||
extern INTN LayoutTextOffset;
|
//extern INTN LayoutTextOffset;
|
||||||
// this should go in a globals, not in settings
|
// this should go in a globals, not in settings
|
||||||
|
|
||||||
extern INTN OldChosenTheme;
|
extern INTN OldChosenTheme;
|
||||||
|
@ -3484,6 +3484,11 @@ void XTheme::parseTheme(void* parser, const char** dict)
|
|||||||
BadgeOffsetX = getIntegerDict(dict[i + 1]);
|
BadgeOffsetX = getIntegerDict(dict[i + 1]);
|
||||||
} else if (strcmp(dict[i], "BadgeOffsetY") == 0) {
|
} else if (strcmp(dict[i], "BadgeOffsetY") == 0) {
|
||||||
BadgeOffsetY = getIntegerDict(dict[i + 1]);
|
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) {
|
} else if (strcmp(dict[i], "NonSelectedGrey") == 0) {
|
||||||
NonSelectedGrey = getIntegerDict(dict[i + 1]) > 0;
|
NonSelectedGrey = getIntegerDict(dict[i + 1]) > 0;
|
||||||
} else if (strcmp(dict[i], "CharWidth") == 0) {
|
} else if (strcmp(dict[i], "CharWidth") == 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user