taobin_project/xml/pos_fail.xml

69 lines
1.4 KiB
XML
Raw Normal View History

2024-09-30 14:20:27 +07:00
<Popup>
2024-09-26 14:52:51 +07:00
<X> 0 </X>
2024-09-30 14:38:13 +07:00
<Y> 0 </Y>
2024-09-26 14:52:51 +07:00
<Cache> "Enable" </Cache>
<Width> 1080 </Width>
2024-09-30 14:38:13 +07:00
<Height> 1920 </Height>
2024-09-26 14:52:51 +07:00
<Background> "0xEFEDEA" </Background>
<Volume> SoundVolume </Volume>
<EventOpen>
Var Timeout = 0
2024-09-30 11:29:27 +07:00
Var DirImage = "ROOT/taobin_project/image/pos/"
2024-09-26 14:52:51 +07:00
If show_eng = "true" Then
2024-09-30 11:29:27 +07:00
Var PosFailImg = DirImage + "pos_fail_en.png"
Var CloseBtnImg = DirImage + "bn_close_en.png"
Var ClosePressedImg = DirImage + "bp_close_en.png"
2024-09-26 14:52:51 +07:00
Else
2024-09-30 11:29:27 +07:00
Var PosFailImg = DirImage + "pos_fail_th.png"
Var CloseBtnImg = DirImage + "bn_close_th.png"
Var ClosePressedImg = DirImage + "bp_close_th.png"
2024-09-26 14:52:51 +07:00
EndIf
</EventOpen>
<Timeout> 1000 </Timeout>
<EventTimeout>
2024-09-30 11:29:27 +07:00
If Timeout > 30 Then
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
2024-09-26 14:52:51 +07:00
EndIf
2024-09-30 14:38:13 +07:00
Var Timeout = Timeout + 1
2024-09-26 14:52:51 +07:00
Refresh
TimerReset
</EventTimeout>
2024-09-30 14:38:13 +07:00
;include="ROOT/taobin_project/inc/video.inc"
2024-09-26 14:52:51 +07:00
<Image>
<X> 0 </X>
2024-09-30 11:29:27 +07:00
<Y> 480 </Y>
<Filename> PosFailImg </Filename>
2024-09-26 14:52:51 +07:00
</Image>
<Button>
2024-09-30 11:29:27 +07:00
<X> 398 </X>
<Y> 1753 </Y>
<Filename> CloseBtnImg </Filename>
<FilenamePress> ClosePressedImg </FilenamePress>
2024-09-26 14:52:51 +07:00
<EventClick>
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
</EventClick>
</Button>
2024-09-30 14:38:13 +07:00
<EventUnitTest1>
Open "ROOT/taobin_project/xml/pos_fail.xml"
</EventUnitTest1>
2024-09-26 14:52:51 +07:00
2024-09-30 14:38:13 +07:00
<EventUnitTest2>
If show_eng = "true" Then
Var show_eng = "false"
Else
Var show_eng = "true"
EndIf
Open "ROOT/taobin_project/xml/pos_fail.xml"
</EventUnitTest2>
2024-09-26 14:52:51 +07:00
2024-09-30 14:20:27 +07:00
</Popup>