taobin_project/xml_main/test_coin.xml
2023-05-09 17:04:03 +07:00

91 lines
2.3 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/taobin_project/image/test_taobin/test_coin.png" </Background>
;<Sound> "/ROOT/sounds/securitycfg.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOpen>
Coin ON
; Var TestCoinLine1 = "กรุณาใส่เงิน . . ."
Var TestCoinLine1 = "insert money . . ."
; Var TestCoinLine2 = "จำนวนเงินทั้งหมด 0 บาท"
Var RemainAmountStr !assigned StringFmt( CoinAmount, DisplayFormat, PreScaleConvertShow )
Var TestCoinLine2 = "total amount "
Var TestCoinLine2 = TestCoinLine2 + RemainAmountStr
Var RemainAmountStr1 = 0
Var LastCoin = 0
</EventOpen>
<EventCoin>
Var LastCoin = CoinAmount - LastCoin
Var RemainAmountStr1 !assigned StringFmt( LastCoin, DisplayFormat, PreScaleConvertShow )
Var RemainAmountStr !assigned StringFmt( CoinAmount, DisplayFormat, PreScaleConvertShow )
; Var TestCoinLine1 = "ท่านได้ใส่เงินจำนวน "
Var TestCoinLine1 = "insert money "
Var TestCoinLine1 = TestCoinLine1 + RemainAmountStr1
; Var TestCoinLine1 = TestCoinLine1 + " บาท"
; Var TestCoinLine2 = "จำนวนเงินทั้งหมด "
Var TestCoinLine2 = "total amount "
Var TestCoinLine2 = TestCoinLine2 + RemainAmountStr
; Var TestCoinLine2 = TestCoinLine2 + " บาท"
Var LastCoin = CoinAmount
; Var RemainAmountStr = RemainAmountStr + "###size=90"
Refresh
</EventCoin>
; Line 1
<Text>
<X> 194 </X>
<Y> 250 </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> 320 </Y>
<Width> 630 </Width>
<Align> Center </Align>
<Size> 40 </Size>
<Font> fontType1 </Font>
<Color> 0xF08000 </Color>
<Value> TestCoinLine2 </Value>
</Text>
<Button>
<X> 30 </X>
<Y> 476 </Y>
<Filename> "ROOT/taobin_project/image/collectiing_en/bn_back.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/collectiing_en/bp_back.png" </FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Coin STANDBY
CoinClear
Open "/ROOT/xml/main.xml"
</EventClick>
</Button>
</Page>