THAI: add UI for free energy drink promotion, WIP add data
This commit is contained in:
parent
f2a2991cfb
commit
5edecc1655
29 changed files with 12790 additions and 600 deletions
188
xml/event/powerup_free_1/page_powerup_consent.xml
Normal file
188
xml/event/powerup_free_1/page_powerup_consent.xml
Normal file
|
|
@ -0,0 +1,188 @@
|
|||
; TODO: like y20, but without age check instead check usage of that id.
|
||||
|
||||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
<Volume> SoundVolume </Volume>
|
||||
;<Background> "0xeae6e1" </Background>
|
||||
|
||||
<EventOpen>
|
||||
|
||||
</EventOpen>
|
||||
|
||||
; ads
|
||||
<Video>
|
||||
<X> 0 </X>
|
||||
<Y> 0 </Y>
|
||||
<Width> 1080</Width>
|
||||
<Height> 380 </Height>
|
||||
<Loop> "true" </Loop>
|
||||
<Filename> video_menu_0 </Filename>
|
||||
</Video>
|
||||
|
||||
; back --- debug
|
||||
;
|
||||
; move this to bottom left later
|
||||
<Button>
|
||||
<X> 19 </X>
|
||||
<Y> 381 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/page2/bn_back_arrow_2.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page2/bn_back_arrow_2.png" </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
If SpiralOnline = "true" Then
|
||||
If Seeker = "curr" Then
|
||||
Open "ROOT/taobin_project/xml/page_catalog_with_vending.xml"
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/page_catalog.xml"
|
||||
EndIf
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/page_catalog.xml"
|
||||
EndIf
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
; Thai policy
|
||||
<Image>
|
||||
<X> 76 </X>
|
||||
<Y> 408 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/event/powerup_free_1/powerup_policy.png" </Filename>
|
||||
<State>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = "Invisible"
|
||||
Else
|
||||
Var return = "Enable"
|
||||
EndIf
|
||||
)
|
||||
</State>
|
||||
</Image>
|
||||
|
||||
; Eng policy
|
||||
<Image>
|
||||
<X> 76 </X>
|
||||
<Y> 408 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/event/powerup_free_1/powerup_policy_en.png" </Filename>
|
||||
<State>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = "Enable"
|
||||
Else
|
||||
Var return = "Invisible"
|
||||
EndIf
|
||||
)
|
||||
</State>
|
||||
</Image>
|
||||
|
||||
; TH: accept button
|
||||
<Button>
|
||||
<X> 673 </X>
|
||||
<Y> 1785 </Y>
|
||||
<Width> 286 </Width>
|
||||
<Height> 92 </Height>
|
||||
<State>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = "Invisible"
|
||||
Else
|
||||
Var return = "Enable"
|
||||
EndIf
|
||||
)
|
||||
</State>
|
||||
<Filename> "ROOT/taobin_project/image/consent/bn_accept.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/consent/bp_accept.png" </FilenamePress>
|
||||
<EventOnClick>
|
||||
; TODO: implement something
|
||||
Open "ROOT/taobin_project/xml/event/powerup_free_1/page_powerup_identity.xml"
|
||||
</EventOnClick>
|
||||
</Button>
|
||||
|
||||
; TH: back button
|
||||
<Button>
|
||||
<X> 44 </X>
|
||||
<Y> 1785 </Y>
|
||||
<Width> 286 </Width>
|
||||
<Height> 92 </Height>
|
||||
<State>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = "Invisible"
|
||||
Else
|
||||
Var return = "Enable"
|
||||
EndIf
|
||||
)
|
||||
</State>
|
||||
<Filename> "ROOT/taobin_project/image/consent/bn_back.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/consent/bp_back.png" </FilenamePress>
|
||||
<EventOnClick>
|
||||
; TODO: implement something
|
||||
If SpiralOnline = "true" Then
|
||||
If Seeker = "curr" Then
|
||||
Open "ROOT/taobin_project/xml/page_catalog_with_vending.xml"
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/page_catalog.xml"
|
||||
EndIf
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/page_catalog.xml"
|
||||
EndIf
|
||||
</EventOnClick>
|
||||
</Button>
|
||||
|
||||
; EN: accept button
|
||||
<Button>
|
||||
<X> 673 </X>
|
||||
<Y> 1785 </Y>
|
||||
<Width> 286 </Width>
|
||||
<Height> 92 </Height>
|
||||
<State>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = "Enable"
|
||||
Else
|
||||
Var return = "Invisible"
|
||||
EndIf
|
||||
)
|
||||
</State>
|
||||
<Filename> "ROOT/taobin_project/image/consent_en/bn_accept.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/consent_en/bp_accept.png" </FilenamePress>
|
||||
<EventOnClick>
|
||||
; TODO: implement something
|
||||
Open "ROOT/taobin_project/xml/event/powerup_free_1/page_powerup_identity.xml"
|
||||
</EventOnClick>
|
||||
</Button>
|
||||
|
||||
; EN: back button
|
||||
<Button>
|
||||
<X> 44 </X>
|
||||
<Y> 1785 </Y>
|
||||
<Width> 286 </Width>
|
||||
<Height> 92 </Height>
|
||||
<State>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = "Enable"
|
||||
Else
|
||||
Var return = "Invisible"
|
||||
EndIf
|
||||
)
|
||||
</State>
|
||||
<Filename> "ROOT/taobin_project/image/consent_en/bn_back.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/consent_en/bp_back.png" </FilenamePress>
|
||||
<EventOnClick>
|
||||
; TODO: implement something
|
||||
If SpiralOnline = "true" Then
|
||||
If Seeker = "curr" Then
|
||||
Open "ROOT/taobin_project/xml/page_catalog_with_vending.xml"
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/page_catalog.xml"
|
||||
EndIf
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/page_catalog.xml"
|
||||
EndIf
|
||||
</EventOnClick>
|
||||
</Button>
|
||||
|
||||
</Popup>
|
||||
Loading…
Add table
Add a link
Reference in a new issue