188 lines
No EOL
5.5 KiB
XML
188 lines
No EOL
5.5 KiB
XML
; 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_catalog2.xml"
|
|
EndIf
|
|
</EventOnClick>
|
|
</Button>
|
|
|
|
</Popup> |