1759 lines
48 KiB
XML
1759 lines
48 KiB
XML
|
|
|
|
|
|
|
|
<Popup>
|
|
<Cache> "Enable" </Cache>
|
|
<Width> 1080 </Width>
|
|
<Height> 1920 </Height>
|
|
<Background> "0xeae6e1" </Background>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventOpen>
|
|
; On open
|
|
|
|
If show_eng = "true" Then
|
|
Var showthaiText = "Invisible"
|
|
Var showengText = "Enable"
|
|
Var DirImage = "ROOT/taobin_project/image/page3_en"
|
|
Var show_btp = "ROOT/taobin_project/image/bn_thai_lang_press.png"
|
|
Var show_btn = "ROOT/taobin_project/image/bn_thai_lang.png"
|
|
|
|
Else
|
|
Var showengText = "Invisible"
|
|
Var showthaiText = "Enable"
|
|
|
|
Var DirImage = "ROOT/taobin_project/image/page3"
|
|
Var show_btp = "ROOT/taobin_project/image/bn_eng_lang_press.png"
|
|
Var show_btn = "ROOT/taobin_project/image/bn_eng_lang.png"
|
|
EndIf
|
|
|
|
Var Menu1Selected = "PressForever"
|
|
Var Menu2Selected = "Enable"
|
|
Var Menu3Selected = "Enable"
|
|
Var Menu4Selected = "Enable"
|
|
Var Menu5Selected = "Invisible"
|
|
Var Menu6Selected = "Enable"
|
|
Var Menu7Selected = "Enable"
|
|
Var Menu8Selected = "Invisible"
|
|
|
|
If CocktailShow = "true" Then
|
|
Var Menu7Selected = "Invisible"
|
|
Var Menu8Selected = "Enable"
|
|
EndIf
|
|
|
|
SAVELOG PreviseXMLFileName2
|
|
|
|
Var Timeout = 0
|
|
</EventOpen>
|
|
|
|
|
|
|
|
<Timeout> 1000 </Timeout>
|
|
<EventTimeout>
|
|
If NextPage = "-" Then
|
|
|
|
Else
|
|
If Timeout > 30 Then
|
|
Open NextPage
|
|
EndIf
|
|
EndIf
|
|
|
|
If Timeout > 60 Then
|
|
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
|
EndIf
|
|
|
|
If BrewCommand = "RefreshAll" Then
|
|
Var BrewCommand = "-"
|
|
Open CurrentXMLFileName2
|
|
EndIf
|
|
|
|
Var Timeout = Timeout + 1
|
|
TimerReset
|
|
</EventTimeout>
|
|
|
|
|
|
;<Image>
|
|
;<X> 0 </X>
|
|
;<Y> 0 </Y>
|
|
;<Filename> "ROOT/taobin_project/image/ad_medium_2.png" </Filename>
|
|
;</Image>
|
|
|
|
<Video>
|
|
<X> 0 </X>
|
|
<Y> 0 </Y>
|
|
<Width> 1080</Width>
|
|
<Height> 380 </Height>
|
|
<Loop> "true" </Loop>
|
|
<Filename> video_menu_1 </Filename>
|
|
</Video>
|
|
|
|
; under line
|
|
<Image>
|
|
<X> 0 </X>
|
|
<Y> 494 </Y>
|
|
<Filename> "ROOT/taobin_project/image/page3/tab_line_bottom.png" </Filename>
|
|
</Image>
|
|
|
|
|
|
; under line
|
|
<Image>
|
|
<X> 0 </X>
|
|
<Y> 358 </Y>
|
|
<Filename> "ROOT/taobin_project/image/page3/bg1.png" </Filename>
|
|
</Image>
|
|
|
|
|
|
; back
|
|
<Button>
|
|
<X> 19 </X>
|
|
<Y> 397 </Y>
|
|
<Filename> "ROOT/taobin_project/image/page2/bn_back_arrow.png" </Filename>
|
|
<FilenamePress> "ROOT/taobin_project/image/page2/bn_back_arrow.png" </FilenamePress>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventClick>
|
|
Open "ROOT/taobin_project/xml/page_catalog.xml"
|
|
|
|
</EventClick>
|
|
</Button>
|
|
|
|
<Button>
|
|
<X> 1000 </X>
|
|
<Y> 415 </Y>
|
|
<Filename> show_btn </Filename>
|
|
<FilenamePress> show_btp </FilenamePress>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventClick>
|
|
; eng
|
|
If show_eng = "true" Then
|
|
Var show_eng = "false"
|
|
Else
|
|
Var show_eng = "true"
|
|
EndIf
|
|
|
|
|
|
Open CurrentXMLFileName2
|
|
</EventClick>
|
|
</Button>
|
|
|
|
;
|
|
|
|
<Button>
|
|
<X> 92 </X>
|
|
<Y> 395 </Y>
|
|
<State> Menu1Selected </State>
|
|
<Filename> Var( DirImage + "/bn_bestseller.png" )</Filename>
|
|
<FilenamePress> Var( DirImage + "/bp_bestseller.png") </FilenamePress>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventClick>
|
|
Var NextPage = "-"
|
|
Open "ROOT/taobin_project/xml/page_catalog_choose_drink1.xml"
|
|
</EventClick>
|
|
</Button>
|
|
|
|
<Button>
|
|
<X> 243 </X>
|
|
<Y> 395 </Y>
|
|
<State> Menu2Selected </State>
|
|
<Filename> Var( DirImage + "/bn_coffee.png") </Filename>
|
|
<FilenamePress> Var( DirImage + "/bp_coffee.png") </FilenamePress>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventClick>
|
|
Var NextPage = "-"
|
|
Open "ROOT/taobin_project/xml/page_catalog_choose_drink2.xml"
|
|
</EventClick>
|
|
</Button>
|
|
|
|
<Button>
|
|
<X> 394 </X>
|
|
<Y> 395 </Y>
|
|
<State> Menu3Selected </State>
|
|
<Filename> Var( DirImage + "/bn_tea.png") </Filename>
|
|
<FilenamePress> Var( DirImage + "/bp_tea.png") </FilenamePress>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventClick>
|
|
Var NextPage = "-"
|
|
Open "ROOT/taobin_project/xml/page_catalog_choose_drink3.xml"
|
|
</EventClick>
|
|
</Button>
|
|
|
|
<Button>
|
|
<X> 545 </X>
|
|
<Y> 395 </Y>
|
|
<State> Menu4Selected </State>
|
|
<Filename> Var( DirImage + "/bn_cho_ca.png") </Filename>
|
|
<FilenamePress> Var( DirImage + "/bp_cho_ca.png") </FilenamePress>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventClick>
|
|
Var NextPage = "-"
|
|
Open "ROOT/taobin_project/xml/page_catalog_choose_drink4.xml"
|
|
</EventClick>
|
|
</Button>
|
|
|
|
<Button>
|
|
<X> 696 </X>
|
|
<Y> 395 </Y>
|
|
<State> Menu7Selected </State>
|
|
<Filename> Var( DirImage + "/bn_protein.png") </Filename>
|
|
<FilenamePress> Var( DirImage + "/bp_protein.png") </FilenamePress>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventClick>
|
|
Var NextPage = "-"
|
|
Open "ROOT/taobin_project/xml/page_catalog_choose_drink7.xml"
|
|
</EventClick>
|
|
</Button>
|
|
|
|
|
|
<Button>
|
|
<X> 696 </X>
|
|
<Y> 395 </Y>
|
|
<State> Menu8Selected </State>
|
|
<Filename> Var( DirImage + "/bn_cocktail.png") </Filename>
|
|
<FilenamePress> Var( DirImage + "/bp_cocktail.png") </FilenamePress>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventClick>
|
|
Var NextPage = "-"
|
|
Open "ROOT/taobin_project/xml/page_catalog_choose_drink8.xml"
|
|
</EventClick>
|
|
</Button>
|
|
|
|
; obselete
|
|
;<Button>
|
|
;<X> 696 </X>
|
|
;<Y> 395 </Y>
|
|
;<State> Menu5Selected </State>
|
|
;<Filename> Var( DirImage + "/bn_fruit.png") </Filename>
|
|
;<FilenamePress> Var( DirImage + "/bp_fruit.png") </FilenamePress>
|
|
;<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
;<Volume> SoundVolume </Volume>
|
|
;<EventClick>
|
|
; Open "ROOT/taobin_project/xml/page_catalog_choose_drink5.xml"
|
|
;</EventClick>
|
|
;</Button>
|
|
|
|
|
|
<Button>
|
|
<X> 847 </X>
|
|
<Y> 395 </Y>
|
|
<State> Menu6Selected </State>
|
|
<Filename> Var( DirImage + "/bn_sodada.png") </Filename>
|
|
<FilenamePress> Var( DirImage + "/bp_sodada.png") </FilenamePress>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventClick>
|
|
Var NextPage = "-"
|
|
Open "ROOT/taobin_project/xml/page_catalog_choose_drink6.xml"
|
|
</EventClick>
|
|
</Button>
|
|
|
|
|
|
<FrameScroll>
|
|
<X> 10 </X>
|
|
<Y> 497 </Y>
|
|
<Width> 1080 </Width>
|
|
<ScrollHeight> "auto" </ScrollHeight>
|
|
<Scroll> "Vertical" </Scroll>
|
|
<Column> 4 </Column>
|
|
; button i=1 best_seller_1
|
|
<Block>
|
|
<MarginLeft> 33 </MarginLeft>
|
|
<MarginTop> 22 </MarginTop>
|
|
<Width> 225 </Width>
|
|
<Height> 296 </Height>
|
|
<State> $best_seller_1.Button </State>
|
|
<Button>
|
|
<State> $best_seller_1.Button </State>
|
|
<Filename> Var( "ROOT/taobin_project/image/page_drink/" + $best_seller_1.image ) </Filename>
|
|
<FilenamePress> Var( "ROOT/taobin_project/image/page_drink_press/" + $best_seller_1.image ) " </FilenamePress>
|
|
<FilenameDisable> Var( "ROOT/taobin_project/image/page_drink_disable/" + $best_seller_1.image ) " </FilenameDisable>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventOnClick>
|
|
Var SelectDrink = $best_seller_1.Self
|
|
Var NameDrink = $best_seller_1.NameE
|
|
Var NameDrinkTH = $best_seller_1.Name
|
|
Var DrinkDescriptionTH = $best_seller_1.description
|
|
Var DrinkDescription = $best_seller_1.descriptionE
|
|
Var PriceDrink = $best_seller_1.Price
|
|
Var PictureDrink = "ROOT/taobin_project/image/page_drink_select/" + $best_seller_1.image
|
|
Topping "Load" SelectDrink
|
|
SAVELOG NameDrink
|
|
Var PriceShowValue = charOfBaht + PriceDrink
|
|
Var OpenFromXML = CurrentXMLFileName2
|
|
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> $best_seller_1.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> $best_seller_1.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> $best_seller_1.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> $best_seller_1.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> $best_seller_1.descriptionE </Value>
|
|
</Text>
|
|
</Block>
|
|
; button i=2 best_seller_2
|
|
<Block>
|
|
<MarginLeft> 33 </MarginLeft>
|
|
<MarginTop> 22 </MarginTop>
|
|
<Width> 225 </Width>
|
|
<Height> 296 </Height>
|
|
<State> $best_seller_2.Button </State>
|
|
<Button>
|
|
<State> $best_seller_2.Button </State>
|
|
<Filename> Var( "ROOT/taobin_project/image/page_drink/" + $best_seller_2.image ) </Filename>
|
|
<FilenamePress> Var( "ROOT/taobin_project/image/page_drink_press/" + $best_seller_2.image ) " </FilenamePress>
|
|
<FilenameDisable> Var( "ROOT/taobin_project/image/page_drink_disable/" + $best_seller_2.image ) " </FilenameDisable>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventOnClick>
|
|
Var SelectDrink = $best_seller_2.Self
|
|
Var NameDrink = $best_seller_2.NameE
|
|
Var NameDrinkTH = $best_seller_2.Name
|
|
Var DrinkDescriptionTH = $best_seller_2.description
|
|
Var DrinkDescription = $best_seller_2.descriptionE
|
|
Var PriceDrink = $best_seller_2.Price
|
|
Var PictureDrink = "ROOT/taobin_project/image/page_drink_select/" + $best_seller_2.image
|
|
Topping "Load" SelectDrink
|
|
SAVELOG NameDrink
|
|
Var PriceShowValue = charOfBaht + PriceDrink
|
|
Var OpenFromXML = CurrentXMLFileName2
|
|
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> $best_seller_2.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> $best_seller_2.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> $best_seller_2.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> $best_seller_2.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> $best_seller_2.descriptionE </Value>
|
|
</Text>
|
|
</Block>
|
|
; button i=3 best_seller_3
|
|
<Block>
|
|
<MarginLeft> 33 </MarginLeft>
|
|
<MarginTop> 22 </MarginTop>
|
|
<Width> 225 </Width>
|
|
<Height> 296 </Height>
|
|
<State> $best_seller_3.Button </State>
|
|
<Button>
|
|
<State> $best_seller_3.Button </State>
|
|
<Filename> Var( "ROOT/taobin_project/image/page_drink/" + $best_seller_3.image ) </Filename>
|
|
<FilenamePress> Var( "ROOT/taobin_project/image/page_drink_press/" + $best_seller_3.image ) " </FilenamePress>
|
|
<FilenameDisable> Var( "ROOT/taobin_project/image/page_drink_disable/" + $best_seller_3.image ) " </FilenameDisable>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventOnClick>
|
|
Var SelectDrink = $best_seller_3.Self
|
|
Var NameDrink = $best_seller_3.NameE
|
|
Var NameDrinkTH = $best_seller_3.Name
|
|
Var DrinkDescriptionTH = $best_seller_3.description
|
|
Var DrinkDescription = $best_seller_3.descriptionE
|
|
Var PriceDrink = $best_seller_3.Price
|
|
Var PictureDrink = "ROOT/taobin_project/image/page_drink_select/" + $best_seller_3.image
|
|
Topping "Load" SelectDrink
|
|
SAVELOG NameDrink
|
|
Var PriceShowValue = charOfBaht + PriceDrink
|
|
Var OpenFromXML = CurrentXMLFileName2
|
|
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> $best_seller_3.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> $best_seller_3.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> $best_seller_3.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> $best_seller_3.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> $best_seller_3.descriptionE </Value>
|
|
</Text>
|
|
</Block>
|
|
; button i=4 best_seller_4
|
|
<Block>
|
|
<MarginLeft> 33 </MarginLeft>
|
|
<MarginTop> 22 </MarginTop>
|
|
<Width> 225 </Width>
|
|
<Height> 296 </Height>
|
|
<State> $best_seller_4.Button </State>
|
|
<Button>
|
|
<State> $best_seller_4.Button </State>
|
|
<Filename> Var( "ROOT/taobin_project/image/page_drink/" + $best_seller_4.image ) </Filename>
|
|
<FilenamePress> Var( "ROOT/taobin_project/image/page_drink_press/" + $best_seller_4.image ) " </FilenamePress>
|
|
<FilenameDisable> Var( "ROOT/taobin_project/image/page_drink_disable/" + $best_seller_4.image ) " </FilenameDisable>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventOnClick>
|
|
Var SelectDrink = $best_seller_4.Self
|
|
Var NameDrink = $best_seller_4.NameE
|
|
Var NameDrinkTH = $best_seller_4.Name
|
|
Var DrinkDescriptionTH = $best_seller_4.description
|
|
Var DrinkDescription = $best_seller_4.descriptionE
|
|
Var PriceDrink = $best_seller_4.Price
|
|
Var PictureDrink = "ROOT/taobin_project/image/page_drink_select/" + $best_seller_4.image
|
|
Topping "Load" SelectDrink
|
|
SAVELOG NameDrink
|
|
Var PriceShowValue = charOfBaht + PriceDrink
|
|
Var OpenFromXML = CurrentXMLFileName2
|
|
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> $best_seller_4.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> $best_seller_4.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> $best_seller_4.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> $best_seller_4.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> $best_seller_4.descriptionE </Value>
|
|
</Text>
|
|
</Block>
|
|
; button i=5 best_seller_5
|
|
<Block>
|
|
<MarginLeft> 33 </MarginLeft>
|
|
<MarginTop> 22 </MarginTop>
|
|
<Width> 225 </Width>
|
|
<Height> 296 </Height>
|
|
<State> $best_seller_5.Button </State>
|
|
<Button>
|
|
<State> $best_seller_5.Button </State>
|
|
<Filename> Var( "ROOT/taobin_project/image/page_drink/" + $best_seller_5.image ) </Filename>
|
|
<FilenamePress> Var( "ROOT/taobin_project/image/page_drink_press/" + $best_seller_5.image ) " </FilenamePress>
|
|
<FilenameDisable> Var( "ROOT/taobin_project/image/page_drink_disable/" + $best_seller_5.image ) " </FilenameDisable>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventOnClick>
|
|
Var SelectDrink = $best_seller_5.Self
|
|
Var NameDrink = $best_seller_5.NameE
|
|
Var NameDrinkTH = $best_seller_5.Name
|
|
Var DrinkDescriptionTH = $best_seller_5.description
|
|
Var DrinkDescription = $best_seller_5.descriptionE
|
|
Var PriceDrink = $best_seller_5.Price
|
|
Var PictureDrink = "ROOT/taobin_project/image/page_drink_select/" + $best_seller_5.image
|
|
Topping "Load" SelectDrink
|
|
SAVELOG NameDrink
|
|
Var PriceShowValue = charOfBaht + PriceDrink
|
|
Var OpenFromXML = CurrentXMLFileName2
|
|
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> $best_seller_5.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> $best_seller_5.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> $best_seller_5.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> $best_seller_5.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> $best_seller_5.descriptionE </Value>
|
|
</Text>
|
|
</Block>
|
|
; button i=6 best_seller_6
|
|
<Block>
|
|
<MarginLeft> 33 </MarginLeft>
|
|
<MarginTop> 22 </MarginTop>
|
|
<Width> 225 </Width>
|
|
<Height> 296 </Height>
|
|
<State> $best_seller_6.Button </State>
|
|
<Button>
|
|
<State> $best_seller_6.Button </State>
|
|
<Filename> Var( "ROOT/taobin_project/image/page_drink/" + $best_seller_6.image ) </Filename>
|
|
<FilenamePress> Var( "ROOT/taobin_project/image/page_drink_press/" + $best_seller_6.image ) " </FilenamePress>
|
|
<FilenameDisable> Var( "ROOT/taobin_project/image/page_drink_disable/" + $best_seller_6.image ) " </FilenameDisable>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventOnClick>
|
|
Var SelectDrink = $best_seller_6.Self
|
|
Var NameDrink = $best_seller_6.NameE
|
|
Var NameDrinkTH = $best_seller_6.Name
|
|
Var DrinkDescriptionTH = $best_seller_6.description
|
|
Var DrinkDescription = $best_seller_6.descriptionE
|
|
Var PriceDrink = $best_seller_6.Price
|
|
Var PictureDrink = "ROOT/taobin_project/image/page_drink_select/" + $best_seller_6.image
|
|
Topping "Load" SelectDrink
|
|
SAVELOG NameDrink
|
|
Var PriceShowValue = charOfBaht + PriceDrink
|
|
Var OpenFromXML = CurrentXMLFileName2
|
|
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> $best_seller_6.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> $best_seller_6.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> $best_seller_6.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> $best_seller_6.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> $best_seller_6.descriptionE </Value>
|
|
</Text>
|
|
</Block>
|
|
; button i=7 best_seller_7
|
|
<Block>
|
|
<MarginLeft> 33 </MarginLeft>
|
|
<MarginTop> 22 </MarginTop>
|
|
<Width> 225 </Width>
|
|
<Height> 296 </Height>
|
|
<State> $best_seller_7.Button </State>
|
|
<Button>
|
|
<State> $best_seller_7.Button </State>
|
|
<Filename> Var( "ROOT/taobin_project/image/page_drink/" + $best_seller_7.image ) </Filename>
|
|
<FilenamePress> Var( "ROOT/taobin_project/image/page_drink_press/" + $best_seller_7.image ) " </FilenamePress>
|
|
<FilenameDisable> Var( "ROOT/taobin_project/image/page_drink_disable/" + $best_seller_7.image ) " </FilenameDisable>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventOnClick>
|
|
Var SelectDrink = $best_seller_7.Self
|
|
Var NameDrink = $best_seller_7.NameE
|
|
Var NameDrinkTH = $best_seller_7.Name
|
|
Var DrinkDescriptionTH = $best_seller_7.description
|
|
Var DrinkDescription = $best_seller_7.descriptionE
|
|
Var PriceDrink = $best_seller_7.Price
|
|
Var PictureDrink = "ROOT/taobin_project/image/page_drink_select/" + $best_seller_7.image
|
|
Topping "Load" SelectDrink
|
|
SAVELOG NameDrink
|
|
Var PriceShowValue = charOfBaht + PriceDrink
|
|
Var OpenFromXML = CurrentXMLFileName2
|
|
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> $best_seller_7.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> $best_seller_7.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> $best_seller_7.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> $best_seller_7.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> $best_seller_7.descriptionE </Value>
|
|
</Text>
|
|
</Block>
|
|
; button i=8 best_seller_8
|
|
<Block>
|
|
<MarginLeft> 33 </MarginLeft>
|
|
<MarginTop> 22 </MarginTop>
|
|
<Width> 225 </Width>
|
|
<Height> 296 </Height>
|
|
<State> $best_seller_8.Button </State>
|
|
<Button>
|
|
<State> $best_seller_8.Button </State>
|
|
<Filename> Var( "ROOT/taobin_project/image/page_drink/" + $best_seller_8.image ) </Filename>
|
|
<FilenamePress> Var( "ROOT/taobin_project/image/page_drink_press/" + $best_seller_8.image ) " </FilenamePress>
|
|
<FilenameDisable> Var( "ROOT/taobin_project/image/page_drink_disable/" + $best_seller_8.image ) " </FilenameDisable>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventOnClick>
|
|
Var SelectDrink = $best_seller_8.Self
|
|
Var NameDrink = $best_seller_8.NameE
|
|
Var NameDrinkTH = $best_seller_8.Name
|
|
Var DrinkDescriptionTH = $best_seller_8.description
|
|
Var DrinkDescription = $best_seller_8.descriptionE
|
|
Var PriceDrink = $best_seller_8.Price
|
|
Var PictureDrink = "ROOT/taobin_project/image/page_drink_select/" + $best_seller_8.image
|
|
Topping "Load" SelectDrink
|
|
SAVELOG NameDrink
|
|
Var PriceShowValue = charOfBaht + PriceDrink
|
|
Var OpenFromXML = CurrentXMLFileName2
|
|
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> $best_seller_8.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> $best_seller_8.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> $best_seller_8.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> $best_seller_8.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> $best_seller_8.descriptionE </Value>
|
|
</Text>
|
|
</Block>
|
|
; button i=9 best_seller_9
|
|
<Block>
|
|
<MarginLeft> 33 </MarginLeft>
|
|
<MarginTop> 22 </MarginTop>
|
|
<Width> 225 </Width>
|
|
<Height> 296 </Height>
|
|
<State> $best_seller_9.Button </State>
|
|
<Button>
|
|
<State> $best_seller_9.Button </State>
|
|
<Filename> Var( "ROOT/taobin_project/image/page_drink/" + $best_seller_9.image ) </Filename>
|
|
<FilenamePress> Var( "ROOT/taobin_project/image/page_drink_press/" + $best_seller_9.image ) " </FilenamePress>
|
|
<FilenameDisable> Var( "ROOT/taobin_project/image/page_drink_disable/" + $best_seller_9.image ) " </FilenameDisable>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventOnClick>
|
|
Var SelectDrink = $best_seller_9.Self
|
|
Var NameDrink = $best_seller_9.NameE
|
|
Var NameDrinkTH = $best_seller_9.Name
|
|
Var DrinkDescriptionTH = $best_seller_9.description
|
|
Var DrinkDescription = $best_seller_9.descriptionE
|
|
Var PriceDrink = $best_seller_9.Price
|
|
Var PictureDrink = "ROOT/taobin_project/image/page_drink_select/" + $best_seller_9.image
|
|
Topping "Load" SelectDrink
|
|
SAVELOG NameDrink
|
|
Var PriceShowValue = charOfBaht + PriceDrink
|
|
Var OpenFromXML = CurrentXMLFileName2
|
|
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> $best_seller_9.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> $best_seller_9.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> $best_seller_9.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> $best_seller_9.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> $best_seller_9.descriptionE </Value>
|
|
</Text>
|
|
</Block>
|
|
; button i=10 best_seller_10
|
|
<Block>
|
|
<MarginLeft> 33 </MarginLeft>
|
|
<MarginTop> 22 </MarginTop>
|
|
<Width> 225 </Width>
|
|
<Height> 296 </Height>
|
|
<State> $best_seller_10.Button </State>
|
|
<Button>
|
|
<State> $best_seller_10.Button </State>
|
|
<Filename> Var( "ROOT/taobin_project/image/page_drink/" + $best_seller_10.image ) </Filename>
|
|
<FilenamePress> Var( "ROOT/taobin_project/image/page_drink_press/" + $best_seller_10.image ) " </FilenamePress>
|
|
<FilenameDisable> Var( "ROOT/taobin_project/image/page_drink_disable/" + $best_seller_10.image ) " </FilenameDisable>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventOnClick>
|
|
Var SelectDrink = $best_seller_10.Self
|
|
Var NameDrink = $best_seller_10.NameE
|
|
Var NameDrinkTH = $best_seller_10.Name
|
|
Var DrinkDescriptionTH = $best_seller_10.description
|
|
Var DrinkDescription = $best_seller_10.descriptionE
|
|
Var PriceDrink = $best_seller_10.Price
|
|
Var PictureDrink = "ROOT/taobin_project/image/page_drink_select/" + $best_seller_10.image
|
|
Topping "Load" SelectDrink
|
|
SAVELOG NameDrink
|
|
Var PriceShowValue = charOfBaht + PriceDrink
|
|
Var OpenFromXML = CurrentXMLFileName2
|
|
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> $best_seller_10.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> $best_seller_10.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> $best_seller_10.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> $best_seller_10.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> $best_seller_10.descriptionE </Value>
|
|
</Text>
|
|
</Block>
|
|
; button i=11 best_seller_11
|
|
<Block>
|
|
<MarginLeft> 33 </MarginLeft>
|
|
<MarginTop> 22 </MarginTop>
|
|
<Width> 225 </Width>
|
|
<Height> 296 </Height>
|
|
<State> $best_seller_11.Button </State>
|
|
<Button>
|
|
<State> $best_seller_11.Button </State>
|
|
<Filename> Var( "ROOT/taobin_project/image/page_drink/" + $best_seller_11.image ) </Filename>
|
|
<FilenamePress> Var( "ROOT/taobin_project/image/page_drink_press/" + $best_seller_11.image ) " </FilenamePress>
|
|
<FilenameDisable> Var( "ROOT/taobin_project/image/page_drink_disable/" + $best_seller_11.image ) " </FilenameDisable>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventOnClick>
|
|
Var SelectDrink = $best_seller_11.Self
|
|
Var NameDrink = $best_seller_11.NameE
|
|
Var NameDrinkTH = $best_seller_11.Name
|
|
Var DrinkDescriptionTH = $best_seller_11.description
|
|
Var DrinkDescription = $best_seller_11.descriptionE
|
|
Var PriceDrink = $best_seller_11.Price
|
|
Var PictureDrink = "ROOT/taobin_project/image/page_drink_select/" + $best_seller_11.image
|
|
Topping "Load" SelectDrink
|
|
SAVELOG NameDrink
|
|
Var PriceShowValue = charOfBaht + PriceDrink
|
|
Var OpenFromXML = CurrentXMLFileName2
|
|
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> $best_seller_11.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> $best_seller_11.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> $best_seller_11.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> $best_seller_11.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> $best_seller_11.descriptionE </Value>
|
|
</Text>
|
|
</Block>
|
|
; button i=12 best_seller_12
|
|
<Block>
|
|
<MarginLeft> 33 </MarginLeft>
|
|
<MarginTop> 22 </MarginTop>
|
|
<Width> 225 </Width>
|
|
<Height> 296 </Height>
|
|
<State> $best_seller_12.Button </State>
|
|
<Button>
|
|
<State> $best_seller_12.Button </State>
|
|
<Filename> Var( "ROOT/taobin_project/image/page_drink/" + $best_seller_12.image ) </Filename>
|
|
<FilenamePress> Var( "ROOT/taobin_project/image/page_drink_press/" + $best_seller_12.image ) " </FilenamePress>
|
|
<FilenameDisable> Var( "ROOT/taobin_project/image/page_drink_disable/" + $best_seller_12.image ) " </FilenameDisable>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventOnClick>
|
|
Var SelectDrink = $best_seller_12.Self
|
|
Var NameDrink = $best_seller_12.NameE
|
|
Var NameDrinkTH = $best_seller_12.Name
|
|
Var DrinkDescriptionTH = $best_seller_12.description
|
|
Var DrinkDescription = $best_seller_12.descriptionE
|
|
Var PriceDrink = $best_seller_12.Price
|
|
Var PictureDrink = "ROOT/taobin_project/image/page_drink_select/" + $best_seller_12.image
|
|
Topping "Load" SelectDrink
|
|
SAVELOG NameDrink
|
|
Var PriceShowValue = charOfBaht + PriceDrink
|
|
Var OpenFromXML = CurrentXMLFileName2
|
|
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> $best_seller_12.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> $best_seller_12.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> $best_seller_12.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> $best_seller_12.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> $best_seller_12.descriptionE </Value>
|
|
</Text>
|
|
</Block>
|
|
; button i=13 best_seller_13
|
|
<Block>
|
|
<MarginLeft> 33 </MarginLeft>
|
|
<MarginTop> 22 </MarginTop>
|
|
<Width> 225 </Width>
|
|
<Height> 296 </Height>
|
|
<State> $best_seller_13.Button </State>
|
|
<Button>
|
|
<State> $best_seller_13.Button </State>
|
|
<Filename> Var( "ROOT/taobin_project/image/page_drink/" + $best_seller_13.image ) </Filename>
|
|
<FilenamePress> Var( "ROOT/taobin_project/image/page_drink_press/" + $best_seller_13.image ) " </FilenamePress>
|
|
<FilenameDisable> Var( "ROOT/taobin_project/image/page_drink_disable/" + $best_seller_13.image ) " </FilenameDisable>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventOnClick>
|
|
Var SelectDrink = $best_seller_13.Self
|
|
Var NameDrink = $best_seller_13.NameE
|
|
Var NameDrinkTH = $best_seller_13.Name
|
|
Var DrinkDescriptionTH = $best_seller_13.description
|
|
Var DrinkDescription = $best_seller_13.descriptionE
|
|
Var PriceDrink = $best_seller_13.Price
|
|
Var PictureDrink = "ROOT/taobin_project/image/page_drink_select/" + $best_seller_13.image
|
|
Topping "Load" SelectDrink
|
|
SAVELOG NameDrink
|
|
Var PriceShowValue = charOfBaht + PriceDrink
|
|
Var OpenFromXML = CurrentXMLFileName2
|
|
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> $best_seller_13.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> $best_seller_13.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> $best_seller_13.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> $best_seller_13.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> $best_seller_13.descriptionE </Value>
|
|
</Text>
|
|
</Block>
|
|
; button i=14 best_seller_14
|
|
<Block>
|
|
<MarginLeft> 33 </MarginLeft>
|
|
<MarginTop> 22 </MarginTop>
|
|
<Width> 225 </Width>
|
|
<Height> 296 </Height>
|
|
<State> $best_seller_14.Button </State>
|
|
<Button>
|
|
<State> $best_seller_14.Button </State>
|
|
<Filename> Var( "ROOT/taobin_project/image/page_drink/" + $best_seller_14.image ) </Filename>
|
|
<FilenamePress> Var( "ROOT/taobin_project/image/page_drink_press/" + $best_seller_14.image ) " </FilenamePress>
|
|
<FilenameDisable> Var( "ROOT/taobin_project/image/page_drink_disable/" + $best_seller_14.image ) " </FilenameDisable>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventOnClick>
|
|
Var SelectDrink = $best_seller_14.Self
|
|
Var NameDrink = $best_seller_14.NameE
|
|
Var NameDrinkTH = $best_seller_14.Name
|
|
Var DrinkDescriptionTH = $best_seller_14.description
|
|
Var DrinkDescription = $best_seller_14.descriptionE
|
|
Var PriceDrink = $best_seller_14.Price
|
|
Var PictureDrink = "ROOT/taobin_project/image/page_drink_select/" + $best_seller_14.image
|
|
Topping "Load" SelectDrink
|
|
SAVELOG NameDrink
|
|
Var PriceShowValue = charOfBaht + PriceDrink
|
|
Var OpenFromXML = CurrentXMLFileName2
|
|
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> $best_seller_14.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> $best_seller_14.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> $best_seller_14.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> $best_seller_14.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> $best_seller_14.descriptionE </Value>
|
|
</Text>
|
|
</Block>
|
|
; button i=15 best_seller_15
|
|
<Block>
|
|
<MarginLeft> 33 </MarginLeft>
|
|
<MarginTop> 22 </MarginTop>
|
|
<Width> 225 </Width>
|
|
<Height> 296 </Height>
|
|
<State> $best_seller_15.Button </State>
|
|
<Button>
|
|
<State> $best_seller_15.Button </State>
|
|
<Filename> Var( "ROOT/taobin_project/image/page_drink/" + $best_seller_15.image ) </Filename>
|
|
<FilenamePress> Var( "ROOT/taobin_project/image/page_drink_press/" + $best_seller_15.image ) " </FilenamePress>
|
|
<FilenameDisable> Var( "ROOT/taobin_project/image/page_drink_disable/" + $best_seller_15.image ) " </FilenameDisable>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventOnClick>
|
|
Var SelectDrink = $best_seller_15.Self
|
|
Var NameDrink = $best_seller_15.NameE
|
|
Var NameDrinkTH = $best_seller_15.Name
|
|
Var DrinkDescriptionTH = $best_seller_15.description
|
|
Var DrinkDescription = $best_seller_15.descriptionE
|
|
Var PriceDrink = $best_seller_15.Price
|
|
Var PictureDrink = "ROOT/taobin_project/image/page_drink_select/" + $best_seller_15.image
|
|
Topping "Load" SelectDrink
|
|
SAVELOG NameDrink
|
|
Var PriceShowValue = charOfBaht + PriceDrink
|
|
Var OpenFromXML = CurrentXMLFileName2
|
|
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> $best_seller_15.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> $best_seller_15.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> $best_seller_15.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> $best_seller_15.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> $best_seller_15.descriptionE </Value>
|
|
</Text>
|
|
</Block>
|
|
; button i=16 best_seller_16
|
|
<Block>
|
|
<MarginLeft> 33 </MarginLeft>
|
|
<MarginTop> 22 </MarginTop>
|
|
<Width> 225 </Width>
|
|
<Height> 296 </Height>
|
|
<State> $best_seller_16.Button </State>
|
|
<Button>
|
|
<State> $best_seller_16.Button </State>
|
|
<Filename> Var( "ROOT/taobin_project/image/page_drink/" + $best_seller_16.image ) </Filename>
|
|
<FilenamePress> Var( "ROOT/taobin_project/image/page_drink_press/" + $best_seller_16.image ) " </FilenamePress>
|
|
<FilenameDisable> Var( "ROOT/taobin_project/image/page_drink_disable/" + $best_seller_16.image ) " </FilenameDisable>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventOnClick>
|
|
Var SelectDrink = $best_seller_16.Self
|
|
Var NameDrink = $best_seller_16.NameE
|
|
Var NameDrinkTH = $best_seller_16.Name
|
|
Var DrinkDescriptionTH = $best_seller_16.description
|
|
Var DrinkDescription = $best_seller_16.descriptionE
|
|
Var PriceDrink = $best_seller_16.Price
|
|
Var PictureDrink = "ROOT/taobin_project/image/page_drink_select/" + $best_seller_16.image
|
|
Topping "Load" SelectDrink
|
|
SAVELOG NameDrink
|
|
Var PriceShowValue = charOfBaht + PriceDrink
|
|
Var OpenFromXML = CurrentXMLFileName2
|
|
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> $best_seller_16.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> $best_seller_16.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> $best_seller_16.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> $best_seller_16.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> $best_seller_16.descriptionE </Value>
|
|
</Text>
|
|
</Block>
|
|
</FrameScroll>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</Popup>
|