This commit is contained in:
kong 2020-11-27 10:01:54 +07:00
parent 49004838f0
commit e9bf1f2d29
3 changed files with 5 additions and 85 deletions

View file

@ -123,6 +123,7 @@
<Video>
<X> 0 </X>
<Y> 0 </Y>
<Volume> 80 </Volume>
<Loop> "true" </Loop>
<Filename> "ROOT/taobin_project/video/main_page.mp4" </Filename>
</Video>

View file

@ -404,29 +404,6 @@
Open "ROOT/taobin_project/xml/page_topping_alter.xml"
</EventOnClick>
</Button>
; button i=10 11-99-02-0013
<Button>
<X> 301 </X>
<Y> 676 </Y>
<State> $11-99-02-0013.Button </State>
<Filename> Var( "ROOT/taobin_project/image/page_drink/" + $11-99-02-0013.image ) </Filename>
<FilenamePress> Var( "ROOT/taobin_project/image/page_drink_press/" + $11-99-02-0013.image ) " </FilenamePress>
<FilenameDisable> Var( "ROOT/taobin_project/image/page_drink_disable/" + $11-99-02-0013.image ) " </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var SelectDrink = "11-99-02-0013"
Var NameDrink = $11-99-02-0013.NameE
Var NameDrinkTH = $11-99-02-0013.Name
Var DrinkDescriptionTH = $11-99-02-0013.description
Var DrinkDescription = $11-99-02-0013.descriptionE
Var PriceDrink = $11-99-02-0013.Price
Var PictureDrink = "ROOT/taobin_project/image/page_drink_select/" + $11-99-02-0013.image
Topping "Load" SelectDrink
Var PriceShowValue = charOfBaht + PriceDrink
Open "ROOT/taobin_project/xml/page_topping_alter.xml"
</EventOnClick>
</Button>
<Text>
<X> 226 </X>
<Y> 32 </Y>
@ -976,67 +953,6 @@
<State> showengText </State>
<Value> $11-99-02-0016.descriptionE </Value>
</Text>
<Text>
<X> 483 </X>
<Y> 688 </Y>
<Align> "Hurr" </Align>
<Width>150</Width>
<Size> 27 </Size>
<Font> KanitTTF </Font>
<Color> 0xB78F24 </Color>
<Value> $11-99-02-0013.Price </Value>
</Text>
<Text>
<X> 465 </X>
<Y> 688 </Y>
<Width>20</Width>
<Size> 27 </Size>
<Font> KanitTTF </Font>
<Color> 0xB78F24 </Color>
<Value> "฿"" </Value>
</Text>
<Text>
<X> 317 </X>
<Y> 866 </Y>
<Size> 24 </Size>
<Width>220</Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showthaiText </State>
<Value> $11-99-02-0013.Name </Value>
</Text>
<Text>
<X> 317 </X>
<Y> 922 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showthaiText </State>
<Value> $11-99-02-0013.description </Value>
</Text>
<Text>
<X> 317 </X>
<Y> 866 </Y>
<Size> 22 </Size>
<Width>220</Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> $11-99-02-0013.NameE </Value>
</Text>
<Text>
<X> 317 </X>
<Y> 922 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showengText </State>
<Value> $11-99-02-0013.descriptionE </Value>
</Text>
</FrameScroll>

View file

@ -2,7 +2,10 @@
<Scale> "ALL" </Scale>
<Width> HeadScreenWidth </Width>
<Height> HeadScreenHeight </Height>
<Video> "/mnt/sdcard/coffeevending/taobin_project/video/taobin_adv1.mp4" </Video>
<Video>
<Volume> 0 </Volume>
<Filename> "/mnt/sdcard/coffeevending/taobin_project/video/taobin_adv1.mp4" </Filename>
</Video>
<EventOpen>