SGP: WIP change theme

This commit is contained in:
Pakin 2024-08-13 14:43:45 +07:00
parent 9aefaf7220
commit 371794d944
11 changed files with 2034 additions and 14 deletions

View file

@ -0,0 +1,7 @@
Var WelcomeColor = "0xEE8C62"
Var BackgroundColor = "0xeae6e1"
Var HeadlineColor = "0x513C2F"
Var SubHeadlineColor = "0x6F5F51"
Var PopupBodyTextColor = "0xB78F24"

View file

@ -1207,7 +1207,7 @@
If UsePepsiTheme = 1 Then
If InternationalEnable = 1 Then
; enable-color
TRY "ROOT/taobin_project/inter/whatthecup/color_settings.ev"
TRY "ROOT/taobin_project/inter/whatthecup/common/color_settings.ev"
Var MainStartPepsiThemeDir = "ROOT/taobin_project/inter/whatthecup/" + CountryShortName
Var MainStartPepsiThemeDir = MainStartPepsiThemeDir + "/image/main_page/"
@ -1215,11 +1215,11 @@
;Var img_rest_main_page = MainStartPepsiThemeDir + "bn_main_page_start.png"
Var img_press_main_page = MainStartPepsiThemeDir + "bp_main_page_start.png"
Var VideoMainPage = "ROOT/taobin_project/inter/sgp/video/video_main_wtc.mp4"
Var VideoMainPage = "ROOT/taobin_project/inter/whatthecup/common/video/video_main_wtc.mp4"
EndIf
Else
; default-theme
TRY "ROOT/taobin_project/inter/whatthecup/default_color_settings.ev"
TRY "ROOT/taobin_project/xml/default_color_settings.ev"
EndIf
XMLSaveFileNameForResume 0 "/mnt/sdcard/coffeevending/taobin_project/xml/page_board.xml"

View file

@ -2,7 +2,7 @@
<Cache> "Enable" </Cache>
<Width> 1080 </Width>
<Height> 1920 </Height>
<Background> "0xeae6e1" </Background>
<Background> BackgroundColor </Background>
<Volume> SoundVolume </Volume>
<Sound> "ROOT/sounds/Ding-dong.wav" </Sound>
<EventOpen>
@ -71,6 +71,13 @@
Var text_bottom = DirImage + "text_bottom.png"
EndIf
If UsePepsiTheme = 1 Then
Var text_bottom = "ROOT/taobin_project/inter/whatthecup/" + CountryShortName
Var text_bottom = text_bottom + "/image/complete_en/text_bottom.png"
EndIf
DEBUGVAR text_bottom
Var VideoPlayFile = VideoPath
@ -577,7 +584,7 @@
<Align> Center </Align>
<Font> KanitLightTTF </Font>
<Size> 48 </Size>
<Color> 0x513C2F </Color>
<Color> HeadlineColor </Color>
<Value>
eval(
STRCONTAIN "size" Seeker.showname SizeFromSheet

View file

@ -72,6 +72,18 @@
EndIf
If UsePepsiTheme = 1 Then
Var VideoPath = CountryRootPath + "/animation01/"
Var VideoFileBegin = "TaoBin2_draft02_art"
Var VideoFileEnd = ".mp4"
Var PicturePath = "ROOT/taobin_project/inter/whatthecup/" + CountryShortName
Var PicturePath = PicturePath + "/image/page_doing/"
Var PictureBegin = "txt_"
Var PictureEnd = "_en.png"
EndIf
Else
Var VideoPath = "/mnt/sdcard/coffeevending/taobin_project/animation01/"
Var VideoFileBegin = "TaoBin2_draft02_art"

View file

@ -2,7 +2,7 @@
<Cache> "Enable" </Cache>
<Width> 1080 </Width>
<Height> 1920 </Height>
<Background> "0xeae6e1" </Background>
<Background> BackgroundColor </Background>
<Sound> "ROOT/taobin_project/sounds/chaching.mp3" </Sound>
<Volume> SoundVolume </Volume>
<EventOpen>