taobin_project/xml_main/test_coin.xml
2022-03-11 09:36:34 +07:00

73 lines
1.7 KiB
XML

<BeginX>28</BeginX>
<BeginY>255</BeginY>
<OverrideBackground> "ROOT/ui/bg_main_menu2.png"</OverrideBackground>
<Page>
<Width> 1024 </Width>
<Height> 600 </Height>
<Background> "/ROOT/pictures/test_coin.bmp" </Background>
;<Sound> "/ROOT/sounds/securitycfg.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOpen>
Coin ON
Var TestCoinLine1 = "กรุณาใส่เงิน . . ."
Var TestCoinLine2 = "จำนวนเงินทั้งหมด 0 บาท"
Var LastCoin = 0
</EventOpen>
<EventCoin>
Var LastCoin = CoinAmount - LastCoin
Var TestCoinLine1 = "ท่านได้ใส่เงินจำนวน "
Var TestCoinLine1 = TestCoinLine1 + LastCoin
Var TestCoinLine1 = TestCoinLine1 + " บาท"
Var TestCoinLine2 = "จำนวนเงินทั้งหมด "
Var TestCoinLine2 = TestCoinLine2 + CoinAmount
Var TestCoinLine2 = TestCoinLine2 + " บาท"
Var LastCoin = CoinAmount
Refresh
</EventCoin>
; Line 1
<Text>
<X> 194 </X>
<Y> 288 </Y>
<Width> 630 </Width>
<Align> Center </Align>
<Size> 40 </Size>
<Font> fontType1 </Font>
<Color> 0xF08000 </Color>
<Value> TestCoinLine1 </Value>
</Text>
; Line 2
<Text>
<X> 194 </X>
<Y> 352 </Y>
<Width> 630 </Width>
<Align> Center </Align>
<Size> 40 </Size>
<Font> fontType1 </Font>
<Color> 0xF08000 </Color>
<Value> TestCoinLine2 </Value>
</Text>
; back button
<Button>
<X> 30 </X>
<Y> 486 </Y>
<Width> 183 </Width>
<Height> 86 </Height>
<Filename> "/ROOT/pictures/test_coin_bn_back.bmp" </Filename>
<FilenamePress> "/ROOT/pictures/test_coin_bp_back.bmp" </FilenamePress>
<Sound> "/ROOT/sounds/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Coin STANDBY
CoinClear
Open "/ROOT/xml/main.xml"
</EventClick>
</Button>
</Page>