This commit is contained in:
kongwanlop 2020-09-16 22:15:42 +07:00
parent cdb060645f
commit 7a3b210cd9
3 changed files with 15 additions and 6 deletions

View file

@ -11,6 +11,7 @@
; On open
Var charOfBaht = "฿"
Var KanitTTF = "ROOT/taobin_project/font/Kanit/Kanit-Light.ttf"
</EventOpen>
<Timeout> 1000 </Timeout>

View file

@ -152,19 +152,27 @@
<Volume> SoundVolume </Volume>
<EventClick>
Var SelectDrink = "11-99-01-0010"
Var NameDrink = Menu24NameEng
Var NameDrinkTH = Menu24NameThai
Var PriceDrink = Menu24Price - Menu24Discount
Var NameDrink = 11-99-01-0010.Name
Var NameDrinkTH = 11-99-01-0010.Name2
Var PriceDrink = 11-99-01-0010.Price
Var PictureDrink = "ROOT/taobin_project/image/menu_drink/bn_hot_espresso.png"
Topping "Load" SelectDrink
SAVELOG SelectDrink
Var PriceShowValue = charOfBaht + "15"
Open "ROOT/taobin_project/xml/menu_topping_alter.xml"
</EventClick>
</Button>
<Text>
<X> 164 </X>
<Y> 12 </Y>
<Size> 27 </Size>
<Font> KanitTTF </Font>
<Color> 0xB78F24 </Color>
<Value> "10" </Value>
</Text>

View file

@ -478,10 +478,10 @@
<Text>
<X> 466 </X>
<Y> 1132 </Y>
<Font> "ROOT/taobin_project/font/Kanit/Kanit-Light.ttf"</Font>
<Font> KanitTTF </Font>
<Size> 72 </Size>
<Color> 0xDE794E </Color>
<Value> "฿25" </Value>
<Value> PriceShowValue </Value>
</Text>
<Image>