This commit is contained in:
kong 2021-04-22 22:33:20 +07:00
parent f52a72ca23
commit de98e73445
54 changed files with 700 additions and 124 deletions

View file

@ -1365,7 +1365,99 @@
<Value> $12-02-01-0012.descriptionE </Value>
</Text>
</Block>
; button i=13 12-02-02-0001
; button i=13 12-02-01-0017
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> $12-02-01-0017.Button </State>
<Button>
<State> $12-02-01-0017.Button </State>
<Filename> Var( "ROOT/taobin_project/image/page_drink/" + $12-02-01-0017.image ) </Filename>
<FilenamePress> Var( "ROOT/taobin_project/image/page_drink_press/" + $12-02-01-0017.image ) " </FilenamePress>
<FilenameDisable> Var( "ROOT/taobin_project/image/page_drink_disable/" + $12-02-01-0017.image ) " </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var SelectDrink = $12-02-01-0017.Self
Var NameDrink = $12-02-01-0017.NameE
Var NameDrinkTH = $12-02-01-0017.Name
Var DrinkDescriptionTH = $12-02-01-0017.description
Var DrinkDescription = $12-02-01-0017.descriptionE
Var PriceDrink = $12-02-01-0017.Price
Var PictureDrink = "ROOT/taobin_project/image/page_drink_select/" + $12-02-01-0017.image
Topping "Load" SelectDrink
SAVELOG NameDrink
Var PriceShowValue = charOfBaht + PriceDrink
Open "ROOT/taobin_project/xml/page_topping_alter.xml"
</EventOnClick>
</Button>
<Text>
<X> 182 </X>
<Y> 12 </Y>
<State> ShowPrice </State>
<Align> "Hurr" </Align>
<Width>150</Width>
<Size> 27 </Size>
<Font> KanitTTF </Font>
<Color> 0xB78F24 </Color>
<Value> $12-02-01-0017.Price </Value>
</Text>
<Text>
<X> 164 </X>
<Y> 12 </Y>
<State> ShowPrice </State>
<Width>20</Width>
<Size> 27 </Size>
<Font> KanitTTF </Font>
<Color> 0xB78F24 </Color>
<Value> "฿"" </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 190 </Y>
<Size> 24 </Size>
<Width>220</Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showthaiText </State>
<Value> $12-02-01-0017.Name </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 246 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showthaiText </State>
<Value> $12-02-01-0017.description </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 190 </Y>
<Size> 22 </Size>
<Width>220</Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> $12-02-01-0017.NameE </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 246 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showengText </State>
<Value> $12-02-01-0017.descriptionE </Value>
</Text>
</Block>
; button i=14 12-02-02-0001
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
@ -1457,7 +1549,7 @@
<Value> $12-02-02-0001.descriptionE </Value>
</Text>
</Block>
; button i=14 12-02-02-0002
; button i=15 12-02-02-0002
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
@ -1549,7 +1641,7 @@
<Value> $12-02-02-0002.descriptionE </Value>
</Text>
</Block>
; button i=15 12-02-02-0003
; button i=16 12-02-02-0003
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
@ -1641,7 +1733,7 @@
<Value> $12-02-02-0003.descriptionE </Value>
</Text>
</Block>
; button i=16 12-02-02-0004
; button i=17 12-02-02-0004
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
@ -1733,7 +1825,7 @@
<Value> $12-02-02-0004.descriptionE </Value>
</Text>
</Block>
; button i=17 12-02-02-0005
; button i=18 12-02-02-0005
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
@ -1825,7 +1917,7 @@
<Value> $12-02-02-0005.descriptionE </Value>
</Text>
</Block>
; button i=18 12-02-02-0006
; button i=19 12-02-02-0006
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
@ -1917,7 +2009,7 @@
<Value> $12-02-02-0006.descriptionE </Value>
</Text>
</Block>
; button i=19 12-02-02-0007
; button i=20 12-02-02-0007
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
@ -2009,7 +2101,7 @@
<Value> $12-02-02-0007.descriptionE </Value>
</Text>
</Block>
; button i=20 12-02-02-0008
; button i=21 12-02-02-0008
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
@ -2101,7 +2193,7 @@
<Value> $12-02-02-0008.descriptionE </Value>
</Text>
</Block>
; button i=21 12-02-02-0009
; button i=22 12-02-02-0009
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
@ -2193,7 +2285,7 @@
<Value> $12-02-02-0009.descriptionE </Value>
</Text>
</Block>
; button i=22 12-02-02-0010
; button i=23 12-02-02-0010
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
@ -2285,7 +2377,7 @@
<Value> $12-02-02-0010.descriptionE </Value>
</Text>
</Block>
; button i=23 12-02-02-0011
; button i=24 12-02-02-0011
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
@ -2377,7 +2469,7 @@
<Value> $12-02-02-0011.descriptionE </Value>
</Text>
</Block>
; button i=24 12-02-02-0012
; button i=25 12-02-02-0012
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
@ -2468,6 +2560,98 @@
<State> showengText </State>
<Value> $12-02-02-0012.descriptionE </Value>
</Text>
</Block>
; button i=26 12-02-02-0018
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> $12-02-02-0018.Button </State>
<Button>
<State> $12-02-02-0018.Button </State>
<Filename> Var( "ROOT/taobin_project/image/page_drink/" + $12-02-02-0018.image ) </Filename>
<FilenamePress> Var( "ROOT/taobin_project/image/page_drink_press/" + $12-02-02-0018.image ) " </FilenamePress>
<FilenameDisable> Var( "ROOT/taobin_project/image/page_drink_disable/" + $12-02-02-0018.image ) " </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var SelectDrink = $12-02-02-0018.Self
Var NameDrink = $12-02-02-0018.NameE
Var NameDrinkTH = $12-02-02-0018.Name
Var DrinkDescriptionTH = $12-02-02-0018.description
Var DrinkDescription = $12-02-02-0018.descriptionE
Var PriceDrink = $12-02-02-0018.Price
Var PictureDrink = "ROOT/taobin_project/image/page_drink_select/" + $12-02-02-0018.image
Topping "Load" SelectDrink
SAVELOG NameDrink
Var PriceShowValue = charOfBaht + PriceDrink
Open "ROOT/taobin_project/xml/page_topping_alter.xml"
</EventOnClick>
</Button>
<Text>
<X> 182 </X>
<Y> 12 </Y>
<State> ShowPrice </State>
<Align> "Hurr" </Align>
<Width>150</Width>
<Size> 27 </Size>
<Font> KanitTTF </Font>
<Color> 0xB78F24 </Color>
<Value> $12-02-02-0018.Price </Value>
</Text>
<Text>
<X> 164 </X>
<Y> 12 </Y>
<State> ShowPrice </State>
<Width>20</Width>
<Size> 27 </Size>
<Font> KanitTTF </Font>
<Color> 0xB78F24 </Color>
<Value> "฿"" </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 190 </Y>
<Size> 24 </Size>
<Width>220</Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showthaiText </State>
<Value> $12-02-02-0018.Name </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 246 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showthaiText </State>
<Value> $12-02-02-0018.description </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 190 </Y>
<Size> 22 </Size>
<Width>220</Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> $12-02-02-0018.NameE </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 246 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showengText </State>
<Value> $12-02-02-0018.descriptionE </Value>
</Text>
</Block>
</FrameScroll>