162 lines
3.2 KiB
Text
162 lines
3.2 KiB
Text
<Popup>
|
|
<Cache> "Enable" </Cache>
|
|
<Width> 1080 </Width>
|
|
<Height> 1920 </Height>
|
|
<Background> BackgroundColor </Background>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventOpen>
|
|
|
|
Var DisplayPrompt = "Enable"
|
|
Var DisplayQR = "Invisible"
|
|
|
|
If CatchNotMember = 1 Then
|
|
Var DisplayPrompt = "Invisible"
|
|
Var DisplayQR = "Enable"
|
|
|
|
Var Timeout = 10
|
|
Var CatchNotMember = 0
|
|
Else
|
|
|
|
Var Timeout = 0
|
|
EndIf
|
|
|
|
; 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 = ImgDirStatic + "qr_regis.png"
|
|
|
|
Var UseSGPCollectFlag = 0
|
|
|
|
DEBUGVAR YesButton
|
|
DEBUGVAR ChangeFlag2
|
|
|
|
Var IMG_CNT = ImgDir + "img2_sp_eng.png"
|
|
DEBUGVAR IMG_CNT
|
|
|
|
</EventOpen>
|
|
|
|
<Timeout> 1000 </Timeout>
|
|
<EventTimeout>
|
|
|
|
Var Timeout = Timeout + 1
|
|
Var RemainingInThisPage = 25 - Timeout
|
|
If RemainingInThisPage <= 0 Then
|
|
Var RemainingInThisPage = 0
|
|
EndIf
|
|
|
|
DEBUGVAR Timeout
|
|
|
|
If Timeout > 25 Then
|
|
Var Timeout = 0
|
|
; to-lid-straw
|
|
SAVELOG "member_prompt.Timeout"
|
|
;Open "ROOT/taobin_project/xml/page_catalog.xml"
|
|
|
|
|
|
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
|
|
EndIf
|
|
|
|
Refresh
|
|
TimerReset
|
|
</EventTimeout>
|
|
|
|
|
|
<Image>
|
|
<X> 150 </X>
|
|
<Y> 618 </Y>
|
|
<State> DisplayPrompt </State>
|
|
<Height> 800 </Height>
|
|
<Width> 800 </Width>
|
|
<Volume> SoundVolume </Volume>
|
|
<Filename> PromptDialogImg </Filename>
|
|
</Image>
|
|
|
|
<Button>
|
|
<X> 250 </X>
|
|
<Y> 1065 </Y>
|
|
<State> DisplayPrompt </State>
|
|
<Filename> NoButton </Filename>
|
|
<FilenamePress> NoPressButton </FilenamePress>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventClick>
|
|
|
|
; show-qr
|
|
Var DisplayPrompt = "Invisible"
|
|
Var DisplayQR = "Enable"
|
|
|
|
Var Timeout = 10
|
|
|
|
</EventClick>
|
|
</Button>
|
|
|
|
<Button>
|
|
<X> 600 </X>
|
|
<Y> 1065 </Y>
|
|
<State> DisplayPrompt </State>
|
|
<Filename> YesButton </Filename>
|
|
<FilenamePress> YesPressButton </FilenamePress>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventClick>
|
|
Var Timeout = 0
|
|
Var UseSGPCollectFlag = 1
|
|
|
|
Open "ROOT/taobin_project/inter/sgp/xml/page_collect_point_1.lxml"
|
|
|
|
</EventClick>
|
|
</Button>
|
|
|
|
<Image>
|
|
<X> 751 </X>
|
|
<Y> 413 </Y>
|
|
<Filename> IMG_CNT </Filename>
|
|
</Image>
|
|
|
|
<Text>
|
|
<X> 768 </X>
|
|
<Y> 470 </Y>
|
|
<Align> End </Align>
|
|
<Width> 153 </Width>
|
|
<Size> 88 </Size>
|
|
<Font> RobotoBold </Font>
|
|
<Color> HeadlineColor </Color>
|
|
<Value> RemainingInThisPage </Value>
|
|
</Text>
|
|
|
|
|
|
<Text>
|
|
<X> 50 </X>
|
|
<Y> 865 </Y>
|
|
<Size> 56 </Size>
|
|
<Align> Center </Align>
|
|
<Width> 1080 </Width>
|
|
<Font> KanitRegularTTF </Font>
|
|
<State> DisplayQR </State>
|
|
<Color> HeadlineColor </Color>
|
|
<Value> "Please scan QR to register" </Value>
|
|
</Text>
|
|
|
|
|
|
<Image>
|
|
<X> 300 </X>
|
|
<Y> 1065 </Y>
|
|
<State> DisplayQR </State>
|
|
<Filename> QRImg </Filename>
|
|
</Image>
|
|
|
|
;include="ROOT/taobin_project/inc/video.inc"
|
|
|
|
</Popup>
|