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>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
<Background> "0xeae6e1" </Background>
|
||||
<Background> BackgroundColor </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
|
||||
If UsePepsiTheme = 1 Then
|
||||
Open "ROOT/taobin_project/inter/sgp/xml/page_brewing3_blue.lxml"
|
||||
EndIf
|
||||
|
||||
Var SendNotiPaySuccess = 2
|
||||
|
||||
Var GetMoreStrawCount = 2
|
||||
|
|
@ -27,6 +32,12 @@
|
|||
|
||||
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 ExtendData = Seeker.ExtendData
|
||||
|
||||
|
|
@ -56,7 +67,6 @@
|
|||
Var IMG_CNT = DirImageDoing + "/img2_eng.png"
|
||||
|
||||
Play "ROOT/taobin_project/sound_eng/Wait_a_moment.mp3"
|
||||
|
||||
Var bnGetMoreStrawFileName = DirImageDoing + "/bn_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_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
|
||||
Else
|
||||
Var PlaySoundLag = "ROOT/taobin_project/sound_thai/thankyou.mp3"
|
||||
|
|
@ -232,6 +255,11 @@
|
|||
If show_eng = "true" Then
|
||||
Var DirImage = "ROOT/taobin_project/image/page_payment_en/page_payment"
|
||||
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
|
||||
Var DirImage = "ROOT/taobin_project/image/page_payment"
|
||||
Var DirImage2 = "ROOT/taobin_project/image/topping2"
|
||||
|
|
@ -436,6 +464,10 @@
|
|||
Var ShowCountdown = "Invisible"
|
||||
|
||||
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
|
||||
|
||||
If XPercent = 0 Then
|
||||
|
|
@ -1585,7 +1617,7 @@
|
|||
<Width> 153 </Width>
|
||||
<Size> 88 </Size>
|
||||
<Font> RobotoBold </Font>
|
||||
<Color> 0x513C2F </Color>
|
||||
<Color> BodyTextColor </Color>
|
||||
<Value> XPercent </Value>
|
||||
</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>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
<Background> "0xeae6e1" </Background>
|
||||
<Background> BackgroundColor </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
;<Refresh> "Partial" </Refresh>
|
||||
<EventOpen>
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
;<Background> "0xeae6e1" </Background>
|
||||
<Background> BackgroundColor </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
|
||||
|
|
@ -22,12 +22,20 @@
|
|||
|
||||
; img
|
||||
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 YesButton = ImgDir + "bn_yes.png"
|
||||
Var NoButton = ImgDir + "bn_no.png"
|
||||
Var YesPressButton = ImgDir + "bp_yes.png"
|
||||
Var NoPressButton = ImgDir + "bp_no.png"
|
||||
Var QRImg = ImgDir + "qr_regis.png"
|
||||
Var QRImg = ImgDirStatic + "qr_regis.png"
|
||||
|
||||
Var UseSGPCollectFlag = 0
|
||||
|
||||
|
|
@ -35,6 +43,7 @@
|
|||
DEBUGVAR ChangeFlag2
|
||||
|
||||
Var IMG_CNT = ImgDir + "img2_sp_eng.png"
|
||||
DEBUGVAR IMG_CNT
|
||||
|
||||
</EventOpen>
|
||||
|
||||
|
|
@ -123,7 +132,7 @@
|
|||
<Width> 153 </Width>
|
||||
<Size> 88 </Size>
|
||||
<Font> RobotoBold </Font>
|
||||
<Color> 0x513C2F </Color>
|
||||
<Color> HeadlineColor </Color>
|
||||
<Value> RemainingInThisPage </Value>
|
||||
</Text>
|
||||
|
||||
|
|
@ -136,7 +145,7 @@
|
|||
<Width> 1080 </Width>
|
||||
<Font> KanitRegularTTF </Font>
|
||||
<State> DisplayQR </State>
|
||||
<Color> 0xDE794E </Color>
|
||||
<Color> HeadlineColor </Color>
|
||||
<Value> "Please scan QR to register" </Value>
|
||||
</Text>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue