]> glassweightruler.freedombox.rocks Git - Ventoy.git/commit
Support config ventoy_left/ventoy_top/ventoy_color in theme.txt.
authorlongpanda <admin@ventoy.net>
Fri, 23 Dec 2022 07:52:43 +0000 (15:52 +0800)
committerlongpanda <admin@ventoy.net>
Fri, 23 Dec 2022 07:52:43 +0000 (15:52 +0800)
commita377dd617224609af3c52da552d7b8f123b5a58a
tree107d0bc9d61ad3775844c68dc7750c694a25bfad
parent4707022ef9664feff6ddb4a910e5c305429cb08d
Support config ventoy_left/ventoy_top/ventoy_color in theme.txt.
The configuration must be the first line in theme.txt and must be in the following format.
ventoy_left_top_color: "@5%@95%@#0000ff@"

The format is very strict:
1. ventoy_left_top_color must start with no space in front of.
2. left/top/color options must be around with 4 @
GRUB2/MOD_SRC/grub-2.04/grub-core/gfxmenu/theme_loader.c
GRUB2/MOD_SRC/grub-2.04/grub-core/ventoy/ventoy.c
GRUB2/MOD_SRC/grub-2.04/grub-core/ventoy/ventoy_cmd.c
GRUB2/MOD_SRC/grub-2.04/grub-core/ventoy/ventoy_def.h
GRUB2/MOD_SRC/grub-2.04/grub-core/ventoy/ventoy_plugin.c