SGP: WIP change theme
This commit is contained in:
parent
9aefaf7220
commit
371794d944
11 changed files with 2034 additions and 14 deletions
|
|
@ -2,9 +2,14 @@
|
||||||
<Cache> "Enable" </Cache>
|
<Cache> "Enable" </Cache>
|
||||||
<Width> 1080 </Width>
|
<Width> 1080 </Width>
|
||||||
<Height> 1920 </Height>
|
<Height> 1920 </Height>
|
||||||
<Background> "0xeae6e1" </Background>
|
<Background> BackgroundColor </Background>
|
||||||
<Volume> SoundVolume </Volume>
|
<Volume> SoundVolume </Volume>
|
||||||
<EventOpen>
|
<EventOpen>
|
||||||
|
|
||||||
|
If UsePepsiTheme = 1 Then
|
||||||
|
Open "ROOT/taobin_project/inter/sgp/xml/page_brewing3_blue.lxml"
|
||||||
|
EndIf
|
||||||
|
|
||||||
Var SendNotiPaySuccess = 2
|
Var SendNotiPaySuccess = 2
|
||||||
|
|
||||||
Var GetMoreStrawCount = 2
|
Var GetMoreStrawCount = 2
|
||||||
|
|
@ -27,6 +32,12 @@
|
||||||
|
|
||||||
Var DirImageDoing = CountryRootPath + "/image/page_doing"
|
Var DirImageDoing = CountryRootPath + "/image/page_doing"
|
||||||
|
|
||||||
|
If UsePepsiTheme = 1 Then
|
||||||
|
Var DirImageDoing = "ROOT/taobin_project/inter/whatthecup/sgp/image/page_doing"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
DEBUGVAR BackgroundColor
|
||||||
|
|
||||||
Var SelectDrink = Seeker.selected_a_drink
|
Var SelectDrink = Seeker.selected_a_drink
|
||||||
Var ExtendData = Seeker.ExtendData
|
Var ExtendData = Seeker.ExtendData
|
||||||
|
|
||||||
|
|
@ -56,7 +67,6 @@
|
||||||
Var IMG_CNT = DirImageDoing + "/img2_eng.png"
|
Var IMG_CNT = DirImageDoing + "/img2_eng.png"
|
||||||
|
|
||||||
Play "ROOT/taobin_project/sound_eng/Wait_a_moment.mp3"
|
Play "ROOT/taobin_project/sound_eng/Wait_a_moment.mp3"
|
||||||
|
|
||||||
Var bnGetMoreStrawFileName = DirImageDoing + "/bn_get_more_straw_en.png"
|
Var bnGetMoreStrawFileName = DirImageDoing + "/bn_get_more_straw_en.png"
|
||||||
Var bpGetMoreStrawFileName = DirImageDoing + "/bp_get_more_straw_en.png"
|
Var bpGetMoreStrawFileName = DirImageDoing + "/bp_get_more_straw_en.png"
|
||||||
|
|
||||||
|
|
@ -73,6 +83,19 @@
|
||||||
Var brew_txt2 = "ROOT/taobin_project/video/brewing_txt_adv3_en.png"
|
Var brew_txt2 = "ROOT/taobin_project/video/brewing_txt_adv3_en.png"
|
||||||
Var brew_txt1 = "ROOT/taobin_project/video/brewing_txt_adv1_en.png"
|
Var brew_txt1 = "ROOT/taobin_project/video/brewing_txt_adv1_en.png"
|
||||||
|
|
||||||
|
DEBUGVAR bnGetMoreStrawFileName
|
||||||
|
DEBUGVAR bnStrawProblemReport
|
||||||
|
DEBUGVAR bnLidProblemReport
|
||||||
|
DEBUGVAR bn_get_lid_image
|
||||||
|
|
||||||
|
;If UsePepsiTheme = 1 Then
|
||||||
|
; Var brew_txt2 = "ROOT/taobin_project/inter/whatthecup/sgp/video/brewing_txt_adv3_en.png"
|
||||||
|
; Var brew_txt1 = "ROOT/taobin_project/inter/whatthecup/sgp/video/brewing_txt_adv1_en.png"
|
||||||
|
;EndIf
|
||||||
|
|
||||||
|
DEBUGVAR EnableGetMoreStrawFileName
|
||||||
|
DEBUGVAR GetLidButtonState
|
||||||
|
|
||||||
Var XStraw = 274
|
Var XStraw = 274
|
||||||
Else
|
Else
|
||||||
Var PlaySoundLag = "ROOT/taobin_project/sound_thai/thankyou.mp3"
|
Var PlaySoundLag = "ROOT/taobin_project/sound_thai/thankyou.mp3"
|
||||||
|
|
@ -232,6 +255,11 @@
|
||||||
If show_eng = "true" Then
|
If show_eng = "true" Then
|
||||||
Var DirImage = "ROOT/taobin_project/image/page_payment_en/page_payment"
|
Var DirImage = "ROOT/taobin_project/image/page_payment_en/page_payment"
|
||||||
Var DirImage2 = "ROOT/taobin_project/image/topping2_en"
|
Var DirImage2 = "ROOT/taobin_project/image/topping2_en"
|
||||||
|
|
||||||
|
If UsePepsiTheme = 1 Then
|
||||||
|
Var DirImage = "ROOT/taobin_project/inter/whatthecup/sgp/image/page_payment_en/page_payment"
|
||||||
|
Var DirImage2 = "ROOT/taobin_project/inter/whatthecup/sgp/image/topping2_en"
|
||||||
|
EndIf
|
||||||
Else
|
Else
|
||||||
Var DirImage = "ROOT/taobin_project/image/page_payment"
|
Var DirImage = "ROOT/taobin_project/image/page_payment"
|
||||||
Var DirImage2 = "ROOT/taobin_project/image/topping2"
|
Var DirImage2 = "ROOT/taobin_project/image/topping2"
|
||||||
|
|
@ -436,6 +464,10 @@
|
||||||
Var ShowCountdown = "Invisible"
|
Var ShowCountdown = "Invisible"
|
||||||
|
|
||||||
Var IMG_CNT = "ROOT/taobin_project/inter/sgp/image/page_doing/img2_percent_eng.png"
|
Var IMG_CNT = "ROOT/taobin_project/inter/sgp/image/page_doing/img2_percent_eng.png"
|
||||||
|
|
||||||
|
If UsePepsiTheme = 1 Then
|
||||||
|
Var IMG_CNT = "ROOT/taobin_project/inter/whatthecup/sgp/image/page_doing/img2_percent_eng.png"
|
||||||
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
If XPercent = 0 Then
|
If XPercent = 0 Then
|
||||||
|
|
@ -1585,7 +1617,7 @@
|
||||||
<Width> 153 </Width>
|
<Width> 153 </Width>
|
||||||
<Size> 88 </Size>
|
<Size> 88 </Size>
|
||||||
<Font> RobotoBold </Font>
|
<Font> RobotoBold </Font>
|
||||||
<Color> 0x513C2F </Color>
|
<Color> BodyTextColor </Color>
|
||||||
<Value> XPercent </Value>
|
<Value> XPercent </Value>
|
||||||
</Text>
|
</Text>
|
||||||
|
|
||||||
|
|
|
||||||
1952
inter/sgp/xml/page_brewing3_blue.lxml
Normal file
1952
inter/sgp/xml/page_brewing3_blue.lxml
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -2,7 +2,7 @@
|
||||||
<Cache> "Enable" </Cache>
|
<Cache> "Enable" </Cache>
|
||||||
<Width> 1080 </Width>
|
<Width> 1080 </Width>
|
||||||
<Height> 1920 </Height>
|
<Height> 1920 </Height>
|
||||||
<Background> "0xeae6e1" </Background>
|
<Background> BackgroundColor </Background>
|
||||||
<Volume> SoundVolume </Volume>
|
<Volume> SoundVolume </Volume>
|
||||||
;<Refresh> "Partial" </Refresh>
|
;<Refresh> "Partial" </Refresh>
|
||||||
<EventOpen>
|
<EventOpen>
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
<Cache> "Enable" </Cache>
|
<Cache> "Enable" </Cache>
|
||||||
<Width> 1080 </Width>
|
<Width> 1080 </Width>
|
||||||
<Height> 1920 </Height>
|
<Height> 1920 </Height>
|
||||||
;<Background> "0xeae6e1" </Background>
|
<Background> BackgroundColor </Background>
|
||||||
<Volume> SoundVolume </Volume>
|
<Volume> SoundVolume </Volume>
|
||||||
<EventOpen>
|
<EventOpen>
|
||||||
|
|
||||||
|
|
@ -22,12 +22,20 @@
|
||||||
|
|
||||||
; img
|
; img
|
||||||
Var ImgDir = CountryRootPath + "/image/page_member/"
|
Var ImgDir = CountryRootPath + "/image/page_member/"
|
||||||
|
Var ImgDirStatic = CountryRootPath + "/image/page_member/"
|
||||||
|
|
||||||
|
If UsePepsiTheme = 1 Then
|
||||||
|
Var ImgDir = "ROOT/taobin_project/inter/whatthecup/" + CountryShortName
|
||||||
|
Var ImgDir = ImgDir + "/image/page_member/"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
Var PromptDialogImg = ImgDir + "ask_member_dialog.png"
|
Var PromptDialogImg = ImgDir + "ask_member_dialog.png"
|
||||||
Var YesButton = ImgDir + "bn_yes.png"
|
Var YesButton = ImgDir + "bn_yes.png"
|
||||||
Var NoButton = ImgDir + "bn_no.png"
|
Var NoButton = ImgDir + "bn_no.png"
|
||||||
Var YesPressButton = ImgDir + "bp_yes.png"
|
Var YesPressButton = ImgDir + "bp_yes.png"
|
||||||
Var NoPressButton = ImgDir + "bp_no.png"
|
Var NoPressButton = ImgDir + "bp_no.png"
|
||||||
Var QRImg = ImgDir + "qr_regis.png"
|
Var QRImg = ImgDirStatic + "qr_regis.png"
|
||||||
|
|
||||||
Var UseSGPCollectFlag = 0
|
Var UseSGPCollectFlag = 0
|
||||||
|
|
||||||
|
|
@ -35,6 +43,7 @@
|
||||||
DEBUGVAR ChangeFlag2
|
DEBUGVAR ChangeFlag2
|
||||||
|
|
||||||
Var IMG_CNT = ImgDir + "img2_sp_eng.png"
|
Var IMG_CNT = ImgDir + "img2_sp_eng.png"
|
||||||
|
DEBUGVAR IMG_CNT
|
||||||
|
|
||||||
</EventOpen>
|
</EventOpen>
|
||||||
|
|
||||||
|
|
@ -123,7 +132,7 @@
|
||||||
<Width> 153 </Width>
|
<Width> 153 </Width>
|
||||||
<Size> 88 </Size>
|
<Size> 88 </Size>
|
||||||
<Font> RobotoBold </Font>
|
<Font> RobotoBold </Font>
|
||||||
<Color> 0x513C2F </Color>
|
<Color> HeadlineColor </Color>
|
||||||
<Value> RemainingInThisPage </Value>
|
<Value> RemainingInThisPage </Value>
|
||||||
</Text>
|
</Text>
|
||||||
|
|
||||||
|
|
@ -136,7 +145,7 @@
|
||||||
<Width> 1080 </Width>
|
<Width> 1080 </Width>
|
||||||
<Font> KanitRegularTTF </Font>
|
<Font> KanitRegularTTF </Font>
|
||||||
<State> DisplayQR </State>
|
<State> DisplayQR </State>
|
||||||
<Color> 0xDE794E </Color>
|
<Color> HeadlineColor </Color>
|
||||||
<Value> "Please scan QR to register" </Value>
|
<Value> "Please scan QR to register" </Value>
|
||||||
</Text>
|
</Text>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -68,6 +68,7 @@ If TargetThemeNum = 2 Then
|
||||||
Var HeadlineColor = HeadlineColor2
|
Var HeadlineColor = HeadlineColor2
|
||||||
Var SubHeadlineColor = BodyTextColor2
|
Var SubHeadlineColor = BodyTextColor2
|
||||||
Var PopupBodyTextColor = WTCSemiMediumBlueColor
|
Var PopupBodyTextColor = WTCSemiMediumBlueColor
|
||||||
|
Var BodyTextColor = BodyTextColor2
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
If TargetThemeNum = 3 Then
|
If TargetThemeNum = 3 Then
|
||||||
|
Before Width: | Height: | Size: 5.4 KiB After Width: | Height: | Size: 5.4 KiB |
7
xml/default_color_settings.ev
Normal file
7
xml/default_color_settings.ev
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
Var WelcomeColor = "0xEE8C62"
|
||||||
|
|
||||||
|
|
||||||
|
Var BackgroundColor = "0xeae6e1"
|
||||||
|
Var HeadlineColor = "0x513C2F"
|
||||||
|
Var SubHeadlineColor = "0x6F5F51"
|
||||||
|
Var PopupBodyTextColor = "0xB78F24"
|
||||||
|
|
@ -1207,7 +1207,7 @@
|
||||||
If UsePepsiTheme = 1 Then
|
If UsePepsiTheme = 1 Then
|
||||||
If InternationalEnable = 1 Then
|
If InternationalEnable = 1 Then
|
||||||
; enable-color
|
; 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 = "ROOT/taobin_project/inter/whatthecup/" + CountryShortName
|
||||||
Var MainStartPepsiThemeDir = MainStartPepsiThemeDir + "/image/main_page/"
|
Var MainStartPepsiThemeDir = MainStartPepsiThemeDir + "/image/main_page/"
|
||||||
|
|
@ -1215,11 +1215,11 @@
|
||||||
;Var img_rest_main_page = MainStartPepsiThemeDir + "bn_main_page_start.png"
|
;Var img_rest_main_page = MainStartPepsiThemeDir + "bn_main_page_start.png"
|
||||||
Var img_press_main_page = MainStartPepsiThemeDir + "bp_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
|
EndIf
|
||||||
Else
|
Else
|
||||||
; default-theme
|
; default-theme
|
||||||
TRY "ROOT/taobin_project/inter/whatthecup/default_color_settings.ev"
|
TRY "ROOT/taobin_project/xml/default_color_settings.ev"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
XMLSaveFileNameForResume 0 "/mnt/sdcard/coffeevending/taobin_project/xml/page_board.xml"
|
XMLSaveFileNameForResume 0 "/mnt/sdcard/coffeevending/taobin_project/xml/page_board.xml"
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
<Cache> "Enable" </Cache>
|
<Cache> "Enable" </Cache>
|
||||||
<Width> 1080 </Width>
|
<Width> 1080 </Width>
|
||||||
<Height> 1920 </Height>
|
<Height> 1920 </Height>
|
||||||
<Background> "0xeae6e1" </Background>
|
<Background> BackgroundColor </Background>
|
||||||
<Volume> SoundVolume </Volume>
|
<Volume> SoundVolume </Volume>
|
||||||
<Sound> "ROOT/sounds/Ding-dong.wav" </Sound>
|
<Sound> "ROOT/sounds/Ding-dong.wav" </Sound>
|
||||||
<EventOpen>
|
<EventOpen>
|
||||||
|
|
@ -71,6 +71,13 @@
|
||||||
Var text_bottom = DirImage + "text_bottom.png"
|
Var text_bottom = DirImage + "text_bottom.png"
|
||||||
|
|
||||||
EndIf
|
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
|
DEBUGVAR text_bottom
|
||||||
|
|
||||||
Var VideoPlayFile = VideoPath
|
Var VideoPlayFile = VideoPath
|
||||||
|
|
@ -577,7 +584,7 @@
|
||||||
<Align> Center </Align>
|
<Align> Center </Align>
|
||||||
<Font> KanitLightTTF </Font>
|
<Font> KanitLightTTF </Font>
|
||||||
<Size> 48 </Size>
|
<Size> 48 </Size>
|
||||||
<Color> 0x513C2F </Color>
|
<Color> HeadlineColor </Color>
|
||||||
<Value>
|
<Value>
|
||||||
eval(
|
eval(
|
||||||
STRCONTAIN "size" Seeker.showname SizeFromSheet
|
STRCONTAIN "size" Seeker.showname SizeFromSheet
|
||||||
|
|
|
||||||
|
|
@ -72,6 +72,18 @@
|
||||||
|
|
||||||
EndIf
|
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
|
Else
|
||||||
Var VideoPath = "/mnt/sdcard/coffeevending/taobin_project/animation01/"
|
Var VideoPath = "/mnt/sdcard/coffeevending/taobin_project/animation01/"
|
||||||
Var VideoFileBegin = "TaoBin2_draft02_art"
|
Var VideoFileBegin = "TaoBin2_draft02_art"
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
<Cache> "Enable" </Cache>
|
<Cache> "Enable" </Cache>
|
||||||
<Width> 1080 </Width>
|
<Width> 1080 </Width>
|
||||||
<Height> 1920 </Height>
|
<Height> 1920 </Height>
|
||||||
<Background> "0xeae6e1" </Background>
|
<Background> BackgroundColor </Background>
|
||||||
<Sound> "ROOT/taobin_project/sounds/chaching.mp3" </Sound>
|
<Sound> "ROOT/taobin_project/sounds/chaching.mp3" </Sound>
|
||||||
<Volume> SoundVolume </Volume>
|
<Volume> SoundVolume </Volume>
|
||||||
<EventOpen>
|
<EventOpen>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue