DO
This commit is contained in:
parent
06a3e648ca
commit
9a768cf571
17 changed files with 6487 additions and 5912 deletions
144
xml/menu_gen.py
144
xml/menu_gen.py
|
|
@ -1,26 +1,24 @@
|
|||
if menu_count >= 16:
|
||||
scroll_height = 1670
|
||||
else:
|
||||
scroll_height = 1400
|
||||
|
||||
out_xml('<FrameScroll> \r\n')
|
||||
out_xml('<X> 0 </X>\r\n')
|
||||
out_xml('<X> 10 </X>\r\n')
|
||||
out_xml('<Y> 497 </Y>\r\n')
|
||||
out_xml('<Width> 1080 </Width>\r\n')
|
||||
out_xml('<Height> 1500 </Height>\r\n')
|
||||
out_xml('<ScrollHeight> ' + str(scroll_height) + ' </ScrollHeight>\r\n')
|
||||
out_xml('<ScrollHeight> "auto" </ScrollHeight>\r\n')
|
||||
out_xml('<Scroll> "Vertical" </Scroll>\r\n')
|
||||
|
||||
out_xml('<Column> 4 </Column>\r\n')
|
||||
|
||||
for i in range( menu_count):
|
||||
i_str = str(i + 1)
|
||||
out_xml( '\t; button i='+ i_str + ' ' + product_code[i]+ ' \r\n')
|
||||
|
||||
|
||||
out_xml( '\t<Button>\r\n')
|
||||
out_xml( '\t<X> ' + str(x_button[i]) + ' </X> \r\n')
|
||||
out_xml( '\t<Y> ' + str(y_button[i]) + ' </Y> \r\n')
|
||||
|
||||
out_xml( '<Block>\r\n')
|
||||
out_xml('\t<MarginLeft> 33 </MarginLeft>\r\n')
|
||||
out_xml('\t<MarginTop> 22 </MarginTop>\r\n')
|
||||
out_xml('\t<Width> 225 </Width>\r\n')
|
||||
out_xml('\t<Height> 296 </Height>\r\n')
|
||||
out_xml( '\t<State> $' + product_code[i] + '.Button </State> \r\n')
|
||||
|
||||
out_xml( '\t<Button>\r\n')
|
||||
out_xml( '\t<Filename> Var( "' + default_dir + '" + $'+ product_code[i] +'.image ) </Filename>\r\n')
|
||||
out_xml( '\t<FilenamePress> Var( "' + default_dir_press + '" + $'+ product_code[i] +'.image ) " </FilenamePress>\r\n')
|
||||
out_xml( '\t<FilenameDisable> Var( "' + default_dir_disable + '" + $'+ product_code[i] +'.image ) " </FilenameDisable>\r\n')
|
||||
|
|
@ -36,30 +34,17 @@
|
|||
out_xml( '\t\tVar PriceDrink = $' + product_code[i] + '.Price\r\n')
|
||||
out_xml( '\t\tVar PictureDrink = "' + default_dir2 + '" + $'+ product_code[i] +'.image\r\n')
|
||||
out_xml( '\t\tTopping "Load" SelectDrink\r\n')
|
||||
#out_xml( '\t\tSAVELOG NameDrink\r\n')
|
||||
out_xml( '\t\tVar PriceShowValue = charOfBaht + PriceDrink\r\n')
|
||||
out_xml( '\t\tSAVELOG NameDrink\r\n')
|
||||
out_xml( '\t\tVar PriceShowValue = charOfBaht + PriceDrink\r\n')
|
||||
#out_xml( '\t\tVar PriceShowValue = "Free"\r\n')
|
||||
out_xml( '\t\tOpen "ROOT/taobin_project/xml/page_topping_alter.xml"\r\n')
|
||||
|
||||
out_xml( '\t</EventOnClick>\r\n')
|
||||
out_xml( '\t</Button>\r\n')
|
||||
|
||||
for i in range( menu_count):
|
||||
if RoadShow :
|
||||
out_xml( '\t<Text>\r\n')
|
||||
out_xml( '\t<X> ' + str(x_button[i] + 164) + ' </X>\r\n')
|
||||
out_xml( '\t<Y> ' + str(y_button[i] + 12) + ' </Y>\r\n')
|
||||
out_xml( '\t<Width>200</Width>\r\n')
|
||||
out_xml( '\t<Size> 27 </Size>\r\n')
|
||||
out_xml( '\t<Font> KanitTTF </Font>\r\n')
|
||||
out_xml( '\t<Color> 0xB78F24 </Color>\r\n')
|
||||
out_xml( '\t<Value> "Free!" </Value>\r\n')
|
||||
out_xml( '\t</Text>\r\n')
|
||||
out_xml( '\t<Text>\r\n')
|
||||
else:
|
||||
out_xml( '\t<Text>\r\n')
|
||||
out_xml( '\t<X> ' + str(x_button[i] + 182) + ' </X>\r\n')
|
||||
out_xml( '\t<Y> ' + str(y_button[i] + 12) + ' </Y>\r\n')
|
||||
out_xml( '\t<X> 182 </X>\r\n')
|
||||
out_xml( '\t<Y> 12 </Y>\r\n')
|
||||
out_xml( '\t<State> ShowPrice </State>\r\n')
|
||||
out_xml( '\t<Align> "Hurr" </Align>\r\n')
|
||||
out_xml( '\t<Width>150</Width>\r\n')
|
||||
|
|
@ -70,8 +55,8 @@
|
|||
out_xml( '\t</Text>\r\n')
|
||||
|
||||
out_xml( '\t<Text>\r\n')
|
||||
out_xml( '\t<X> ' + str(x_button[i] + 164) + ' </X>\r\n')
|
||||
out_xml( '\t<Y> ' + str(y_button[i] + 12) + ' </Y>\r\n')
|
||||
out_xml( '\t<X> 164 </X>\r\n')
|
||||
out_xml( '\t<Y> 12 </Y>\r\n')
|
||||
out_xml( '\t<State> ShowPrice </State>\r\n')
|
||||
out_xml( '\t<Width>20</Width>\r\n')
|
||||
out_xml( '\t<Size> 27 </Size>\r\n')
|
||||
|
|
@ -79,54 +64,55 @@
|
|||
out_xml( '\t<Color> 0xB78F24 </Color>\r\n')
|
||||
out_xml( '\t<Value> "฿"" </Value>\r\n')
|
||||
out_xml( '\t</Text>\r\n')
|
||||
|
||||
out_xml( '\t<Text>\r\n')
|
||||
out_xml( '\t<X> 16 </X>\r\n')
|
||||
out_xml( '\t<Y> 190 </Y>\r\n')
|
||||
out_xml( '\t<Size> 24 </Size>\r\n')
|
||||
out_xml( '\t<Width>220</Width>\r\n')
|
||||
out_xml( '\t<Mode> "multi2" </Mode>\r\n')
|
||||
out_xml( '\t<Font> KanitMediumTTF </Font>\r\n')
|
||||
out_xml( '\t<Color> 0x322B26 </Color>\r\n')
|
||||
out_xml( '\t<State> showthaiText </State>\r\n')
|
||||
out_xml( '\t<Value> $' + product_code[i] + '.Name </Value>\r\n')
|
||||
out_xml( '\t</Text>\r\n')
|
||||
|
||||
out_xml( '\t<Text>\r\n')
|
||||
out_xml( '\t<X> 16 </X>\r\n')
|
||||
out_xml( '\t<Y> 246 </Y>\r\n')
|
||||
out_xml( '\t<Size> 14 </Size>\r\n')
|
||||
out_xml( '\t<Width>220</Width>\r\n')
|
||||
out_xml( '\t<Font> KanitMediumTTF </Font>\r\n')
|
||||
out_xml( '\t<Color> 0x6F5F51 </Color>\r\n')
|
||||
out_xml( '\t<State> showthaiText </State>\r\n')
|
||||
out_xml( '\t<Value> $' + product_code[i] + '.description </Value>\r\n')
|
||||
out_xml( '\t</Text>\r\n')
|
||||
|
||||
|
||||
out_xml( '\t<Text>\r\n')
|
||||
out_xml( '\t<X> 16 </X>\r\n')
|
||||
out_xml( '\t<Y> 190 </Y>\r\n')
|
||||
out_xml( '\t<Size> 22 </Size>\r\n')
|
||||
out_xml( '\t<Width>220</Width>\r\n')
|
||||
out_xml( '\t<Mode> "multi2" </Mode>\r\n')
|
||||
out_xml( '\t<Font> KanitMediumTTF </Font>\r\n')
|
||||
out_xml( '\t<Color> 0x322B26 </Color>\r\n')
|
||||
out_xml( '\t<State> showengText </State>\r\n')
|
||||
out_xml( '\t<Value> $' + product_code[i] + '.NameE </Value>\r\n')
|
||||
out_xml( '\t</Text>\r\n')
|
||||
|
||||
out_xml( '\t<Text>\r\n')
|
||||
out_xml( '\t<X> 16 </X>\r\n')
|
||||
out_xml( '\t<Y> 246 </Y>\r\n')
|
||||
out_xml( '\t<Size> 14 </Size>\r\n')
|
||||
out_xml( '\t<Width>220</Width>\r\n')
|
||||
out_xml( '\t<Font> KanitMediumTTF </Font>\r\n')
|
||||
out_xml( '\t<Color> 0x6F5F51 </Color>\r\n')
|
||||
out_xml( '\t<State> showengText </State>\r\n')
|
||||
out_xml( '\t<Value> $' + product_code[i] + '.descriptionE </Value>\r\n')
|
||||
out_xml( '\t</Text>\r\n')
|
||||
|
||||
out_xml( '\t<Text>\r\n')
|
||||
out_xml( '\t<X> ' + str(x_button[i] + 16) + ' </X>\r\n')
|
||||
out_xml( '\t<Y> ' + str(y_button[i] + 190) + ' </Y>\r\n')
|
||||
out_xml( '\t<Size> 24 </Size>\r\n')
|
||||
out_xml( '\t<Width>220</Width>\r\n')
|
||||
out_xml( '\t<Mode> "multi2" </Mode>\r\n')
|
||||
out_xml( '\t<Font> KanitMediumTTF </Font>\r\n')
|
||||
out_xml( '\t<Color> 0x322B26 </Color>\r\n')
|
||||
out_xml( '\t<State> showthaiText </State>\r\n')
|
||||
out_xml( '\t<Value> $' + product_code[i] + '.Name </Value>\r\n')
|
||||
out_xml( '\t</Text>\r\n')
|
||||
|
||||
out_xml( '\t<Text>\r\n')
|
||||
out_xml( '\t<X> ' + str(x_button[i] + 16) + ' </X>\r\n')
|
||||
out_xml( '\t<Y> ' + str(y_button[i] + 246) + ' </Y>\r\n')
|
||||
out_xml( '\t<Size> 14 </Size>\r\n')
|
||||
out_xml( '\t<Width>220</Width>\r\n')
|
||||
out_xml( '\t<Font> KanitMediumTTF </Font>\r\n')
|
||||
out_xml( '\t<Color> 0x6F5F51 </Color>\r\n')
|
||||
out_xml( '\t<State> showthaiText </State>\r\n')
|
||||
out_xml( '\t<Value> $' + product_code[i] + '.description </Value>\r\n')
|
||||
out_xml( '\t</Text>\r\n')
|
||||
|
||||
|
||||
out_xml( '\t<Text>\r\n')
|
||||
out_xml( '\t<X> ' + str(x_button[i] + 16) + ' </X>\r\n')
|
||||
out_xml( '\t<Y> ' + str(y_button[i] + 190) + ' </Y>\r\n')
|
||||
out_xml( '\t<Size> 22 </Size>\r\n')
|
||||
out_xml( '\t<Width>220</Width>\r\n')
|
||||
out_xml( '\t<Mode> "multi2" </Mode>\r\n')
|
||||
out_xml( '\t<Font> KanitMediumTTF </Font>\r\n')
|
||||
out_xml( '\t<Color> 0x322B26 </Color>\r\n')
|
||||
out_xml( '\t<State> showengText </State>\r\n')
|
||||
out_xml( '\t<Value> $' + product_code[i] + '.NameE </Value>\r\n')
|
||||
out_xml( '\t</Text>\r\n')
|
||||
|
||||
out_xml( '\t<Text>\r\n')
|
||||
out_xml( '\t<X> ' + str(x_button[i] + 16) + ' </X>\r\n')
|
||||
out_xml( '\t<Y> ' + str(y_button[i] + 246) + ' </Y>\r\n')
|
||||
out_xml( '\t<Size> 14 </Size>\r\n')
|
||||
out_xml( '\t<Width>220</Width>\r\n')
|
||||
out_xml( '\t<Font> KanitMediumTTF </Font>\r\n')
|
||||
out_xml( '\t<Color> 0x6F5F51 </Color>\r\n')
|
||||
out_xml( '\t<State> showengText </State>\r\n')
|
||||
out_xml( '\t<Value> $' + product_code[i] + '.descriptionE </Value>\r\n')
|
||||
out_xml( '\t</Text>\r\n')
|
||||
|
||||
out_xml( '</Block>\r\n')
|
||||
|
||||
|
||||
out_xml('</FrameScroll>\r\n')
|
||||
|
|
|
|||
132
xml/menu_gen_org.py
Normal file
132
xml/menu_gen_org.py
Normal file
|
|
@ -0,0 +1,132 @@
|
|||
if menu_count >= 16:
|
||||
scroll_height = 1670
|
||||
else:
|
||||
scroll_height = 1400
|
||||
|
||||
out_xml('<FrameScroll> \r\n')
|
||||
out_xml('<X> 0 </X>\r\n')
|
||||
out_xml('<Y> 497 </Y>\r\n')
|
||||
out_xml('<Width> 1080 </Width>\r\n')
|
||||
out_xml('<Height> 1500 </Height>\r\n')
|
||||
out_xml('<ScrollHeight> ' + str(scroll_height) + ' </ScrollHeight>\r\n')
|
||||
out_xml('<Scroll> "Vertical" </Scroll>\r\n')
|
||||
|
||||
for i in range( menu_count):
|
||||
i_str = str(i + 1)
|
||||
out_xml( '\t; button i='+ i_str + ' ' + product_code[i]+ ' \r\n')
|
||||
|
||||
|
||||
out_xml( '\t<Button>\r\n')
|
||||
out_xml( '\t<X> ' + str(x_button[i]) + ' </X> \r\n')
|
||||
out_xml( '\t<Y> ' + str(y_button[i]) + ' </Y> \r\n')
|
||||
|
||||
out_xml( '\t<State> $' + product_code[i] + '.Button </State> \r\n')
|
||||
out_xml( '\t<Filename> Var( "' + default_dir + '" + $'+ product_code[i] +'.image ) </Filename>\r\n')
|
||||
out_xml( '\t<FilenamePress> Var( "' + default_dir_press + '" + $'+ product_code[i] +'.image ) " </FilenamePress>\r\n')
|
||||
out_xml( '\t<FilenameDisable> Var( "' + default_dir_disable + '" + $'+ product_code[i] +'.image ) " </FilenameDisable>\r\n')
|
||||
out_xml( '\t<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>\r\n')
|
||||
out_xml( '\t<Volume> SoundVolume </Volume>\r\n')
|
||||
out_xml( '\t<EventOnClick> \r\n')
|
||||
|
||||
out_xml( '\t\tVar SelectDrink = "'+ product_code[i] +'"\r\n')
|
||||
out_xml( '\t\tVar NameDrink = $' + product_code[i] + '.NameE\r\n')
|
||||
out_xml( '\t\tVar NameDrinkTH = $' + product_code[i] + '.Name\r\n')
|
||||
out_xml( '\t\tVar DrinkDescriptionTH = $' + product_code[i] + '.description\r\n')
|
||||
out_xml( '\t\tVar DrinkDescription = $' + product_code[i] + '.descriptionE\r\n')
|
||||
out_xml( '\t\tVar PriceDrink = $' + product_code[i] + '.Price\r\n')
|
||||
out_xml( '\t\tVar PictureDrink = "' + default_dir2 + '" + $'+ product_code[i] +'.image\r\n')
|
||||
out_xml( '\t\tTopping "Load" SelectDrink\r\n')
|
||||
#out_xml( '\t\tSAVELOG NameDrink\r\n')
|
||||
out_xml( '\t\tVar PriceShowValue = charOfBaht + PriceDrink\r\n')
|
||||
#out_xml( '\t\tVar PriceShowValue = "Free"\r\n')
|
||||
out_xml( '\t\tOpen "ROOT/taobin_project/xml/page_topping_alter.xml"\r\n')
|
||||
|
||||
out_xml( '\t</EventOnClick>\r\n')
|
||||
out_xml( '\t</Button>\r\n')
|
||||
|
||||
for i in range( menu_count):
|
||||
if RoadShow :
|
||||
out_xml( '\t<Text>\r\n')
|
||||
out_xml( '\t<X> ' + str(x_button[i] + 164) + ' </X>\r\n')
|
||||
out_xml( '\t<Y> ' + str(y_button[i] + 12) + ' </Y>\r\n')
|
||||
out_xml( '\t<Width>200</Width>\r\n')
|
||||
out_xml( '\t<Size> 27 </Size>\r\n')
|
||||
out_xml( '\t<Font> KanitTTF </Font>\r\n')
|
||||
out_xml( '\t<Color> 0xB78F24 </Color>\r\n')
|
||||
out_xml( '\t<Value> "Free!" </Value>\r\n')
|
||||
out_xml( '\t</Text>\r\n')
|
||||
out_xml( '\t<Text>\r\n')
|
||||
else:
|
||||
out_xml( '\t<Text>\r\n')
|
||||
out_xml( '\t<X> ' + str(x_button[i] + 182) + ' </X>\r\n')
|
||||
out_xml( '\t<Y> ' + str(y_button[i] + 12) + ' </Y>\r\n')
|
||||
out_xml( '\t<State> ShowPrice </State>\r\n')
|
||||
out_xml( '\t<Align> "Hurr" </Align>\r\n')
|
||||
out_xml( '\t<Width>150</Width>\r\n')
|
||||
out_xml( '\t<Size> 27 </Size>\r\n')
|
||||
out_xml( '\t<Font> KanitTTF </Font>\r\n')
|
||||
out_xml( '\t<Color> 0xB78F24 </Color>\r\n')
|
||||
out_xml( '\t<Value> $' + product_code[i] + '.Price </Value>\r\n')
|
||||
out_xml( '\t</Text>\r\n')
|
||||
|
||||
out_xml( '\t<Text>\r\n')
|
||||
out_xml( '\t<X> ' + str(x_button[i] + 164) + ' </X>\r\n')
|
||||
out_xml( '\t<Y> ' + str(y_button[i] + 12) + ' </Y>\r\n')
|
||||
out_xml( '\t<State> ShowPrice </State>\r\n')
|
||||
out_xml( '\t<Width>20</Width>\r\n')
|
||||
out_xml( '\t<Size> 27 </Size>\r\n')
|
||||
out_xml( '\t<Font> KanitTTF </Font>\r\n')
|
||||
out_xml( '\t<Color> 0xB78F24 </Color>\r\n')
|
||||
out_xml( '\t<Value> "฿"" </Value>\r\n')
|
||||
out_xml( '\t</Text>\r\n')
|
||||
|
||||
out_xml( '\t<Text>\r\n')
|
||||
out_xml( '\t<X> ' + str(x_button[i] + 16) + ' </X>\r\n')
|
||||
out_xml( '\t<Y> ' + str(y_button[i] + 190) + ' </Y>\r\n')
|
||||
out_xml( '\t<Size> 24 </Size>\r\n')
|
||||
out_xml( '\t<Width>220</Width>\r\n')
|
||||
out_xml( '\t<Mode> "multi2" </Mode>\r\n')
|
||||
out_xml( '\t<Font> KanitMediumTTF </Font>\r\n')
|
||||
out_xml( '\t<Color> 0x322B26 </Color>\r\n')
|
||||
out_xml( '\t<State> showthaiText </State>\r\n')
|
||||
out_xml( '\t<Value> $' + product_code[i] + '.Name </Value>\r\n')
|
||||
out_xml( '\t</Text>\r\n')
|
||||
|
||||
out_xml( '\t<Text>\r\n')
|
||||
out_xml( '\t<X> ' + str(x_button[i] + 16) + ' </X>\r\n')
|
||||
out_xml( '\t<Y> ' + str(y_button[i] + 246) + ' </Y>\r\n')
|
||||
out_xml( '\t<Size> 14 </Size>\r\n')
|
||||
out_xml( '\t<Width>220</Width>\r\n')
|
||||
out_xml( '\t<Font> KanitMediumTTF </Font>\r\n')
|
||||
out_xml( '\t<Color> 0x6F5F51 </Color>\r\n')
|
||||
out_xml( '\t<State> showthaiText </State>\r\n')
|
||||
out_xml( '\t<Value> $' + product_code[i] + '.description </Value>\r\n')
|
||||
out_xml( '\t</Text>\r\n')
|
||||
|
||||
|
||||
out_xml( '\t<Text>\r\n')
|
||||
out_xml( '\t<X> ' + str(x_button[i] + 16) + ' </X>\r\n')
|
||||
out_xml( '\t<Y> ' + str(y_button[i] + 190) + ' </Y>\r\n')
|
||||
out_xml( '\t<Size> 22 </Size>\r\n')
|
||||
out_xml( '\t<Width>220</Width>\r\n')
|
||||
out_xml( '\t<Mode> "multi2" </Mode>\r\n')
|
||||
out_xml( '\t<Font> KanitMediumTTF </Font>\r\n')
|
||||
out_xml( '\t<Color> 0x322B26 </Color>\r\n')
|
||||
out_xml( '\t<State> showengText </State>\r\n')
|
||||
out_xml( '\t<Value> $' + product_code[i] + '.NameE </Value>\r\n')
|
||||
out_xml( '\t</Text>\r\n')
|
||||
|
||||
out_xml( '\t<Text>\r\n')
|
||||
out_xml( '\t<X> ' + str(x_button[i] + 16) + ' </X>\r\n')
|
||||
out_xml( '\t<Y> ' + str(y_button[i] + 246) + ' </Y>\r\n')
|
||||
out_xml( '\t<Size> 14 </Size>\r\n')
|
||||
out_xml( '\t<Width>220</Width>\r\n')
|
||||
out_xml( '\t<Font> KanitMediumTTF </Font>\r\n')
|
||||
out_xml( '\t<Color> 0x6F5F51 </Color>\r\n')
|
||||
out_xml( '\t<State> showengText </State>\r\n')
|
||||
out_xml( '\t<Value> $' + product_code[i] + '.descriptionE </Value>\r\n')
|
||||
out_xml( '\t</Text>\r\n')
|
||||
|
||||
|
||||
|
||||
out_xml('</FrameScroll>\r\n')
|
||||
|
|
@ -47,20 +47,6 @@
|
|||
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
;If CancelFlag = 1 Then
|
||||
; If ChangeOK = 1 Then
|
||||
; Var VendingDiscount = 0
|
||||
; Var VendingCampaign = 0
|
||||
; Var ServiceType = "credit"
|
||||
; Var SessionID2 = SelectDrink
|
||||
; Var ServiceCredit = "coffee"
|
||||
; Pay ServiceType TelephoneNumber ServiceCredit SuggestID SessionID2 ServiceAmount2 ServiceCharge Donate
|
||||
; Var ChangeOK = 0
|
||||
; Var CancelFlag = 0
|
||||
; EndIf
|
||||
;EndIf
|
||||
|
||||
Refresh
|
||||
TimerReset
|
||||
|
|
@ -221,17 +207,6 @@
|
|||
</EventClick>
|
||||
</Button>
|
||||
|
||||
;<Text>
|
||||
;<X> 0 </X>
|
||||
;<Y> 1886 </Y>
|
||||
;<Size> 20 </Size>
|
||||
;<Width> 1080</Width>
|
||||
;<Align> Center </Align>
|
||||
;<Font> RobotoBlack </Font>
|
||||
;<Color> 0x513C2F </Color>
|
||||
;<Value> countDownRetrun </Value>
|
||||
;</Text>
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 392 </X>
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -96,7 +96,7 @@
|
|||
|
||||
|
||||
<?hurr
|
||||
#include=menu_gen_alter.py
|
||||
#include=menu_gen.py
|
||||
?>
|
||||
|
||||
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
|
@ -230,17 +230,20 @@
|
|||
|
||||
|
||||
<FrameScroll>
|
||||
<X> 0 </X>
|
||||
<X> 10 </X>
|
||||
<Y> 497 </Y>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1500 </Height>
|
||||
<ScrollHeight> 1400 </ScrollHeight>
|
||||
<ScrollHeight> "auto" </ScrollHeight>
|
||||
<Scroll> "Vertical" </Scroll>
|
||||
<Column> 4 </Column>
|
||||
; button i=1 11-99-01-0027
|
||||
<Button>
|
||||
<X> 44 </X>
|
||||
<Y> 20 </Y>
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> $11-99-01-0027.Button </State>
|
||||
<Button>
|
||||
<Filename> Var( "ROOT/taobin_project/image/page_drink/" + $11-99-01-0027.image ) </Filename>
|
||||
<FilenamePress> Var( "ROOT/taobin_project/image/page_drink_press/" + $11-99-01-0027.image ) " </FilenamePress>
|
||||
<FilenameDisable> Var( "ROOT/taobin_project/image/page_drink_disable/" + $11-99-01-0027.image ) " </FilenameDisable>
|
||||
|
|
@ -255,15 +258,83 @@
|
|||
Var PriceDrink = $11-99-01-0027.Price
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_select/" + $11-99-01-0027.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> $11-99-01-0027.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> $11-99-01-0027.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> $11-99-01-0027.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> $11-99-01-0027.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> $11-99-01-0027.descriptionE </Value>
|
||||
</Text>
|
||||
</Block>
|
||||
; button i=2 11-99-02-0027
|
||||
<Button>
|
||||
<X> 301 </X>
|
||||
<Y> 20 </Y>
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> $11-99-02-0027.Button </State>
|
||||
<Button>
|
||||
<Filename> Var( "ROOT/taobin_project/image/page_drink/" + $11-99-02-0027.image ) </Filename>
|
||||
<FilenamePress> Var( "ROOT/taobin_project/image/page_drink_press/" + $11-99-02-0027.image ) " </FilenamePress>
|
||||
<FilenameDisable> Var( "ROOT/taobin_project/image/page_drink_disable/" + $11-99-02-0027.image ) " </FilenameDisable>
|
||||
|
|
@ -278,15 +349,83 @@
|
|||
Var PriceDrink = $11-99-02-0027.Price
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_select/" + $11-99-02-0027.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> $11-99-02-0027.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> $11-99-02-0027.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> $11-99-02-0027.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> $11-99-02-0027.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> $11-99-02-0027.descriptionE </Value>
|
||||
</Text>
|
||||
</Block>
|
||||
; button i=3 11-99-02-0030
|
||||
<Button>
|
||||
<X> 558 </X>
|
||||
<Y> 20 </Y>
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> $11-99-02-0030.Button </State>
|
||||
<Button>
|
||||
<Filename> Var( "ROOT/taobin_project/image/page_drink/" + $11-99-02-0030.image ) </Filename>
|
||||
<FilenamePress> Var( "ROOT/taobin_project/image/page_drink_press/" + $11-99-02-0030.image ) " </FilenamePress>
|
||||
<FilenameDisable> Var( "ROOT/taobin_project/image/page_drink_disable/" + $11-99-02-0030.image ) " </FilenameDisable>
|
||||
|
|
@ -301,15 +440,83 @@
|
|||
Var PriceDrink = $11-99-02-0030.Price
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_select/" + $11-99-02-0030.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> $11-99-02-0030.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> $11-99-02-0030.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> $11-99-02-0030.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> $11-99-02-0030.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> $11-99-02-0030.descriptionE </Value>
|
||||
</Text>
|
||||
</Block>
|
||||
; button i=4 11-99-02-0031
|
||||
<Button>
|
||||
<X> 815 </X>
|
||||
<Y> 20 </Y>
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> $11-99-02-0031.Button </State>
|
||||
<Button>
|
||||
<Filename> Var( "ROOT/taobin_project/image/page_drink/" + $11-99-02-0031.image ) </Filename>
|
||||
<FilenamePress> Var( "ROOT/taobin_project/image/page_drink_press/" + $11-99-02-0031.image ) " </FilenamePress>
|
||||
<FilenameDisable> Var( "ROOT/taobin_project/image/page_drink_disable/" + $11-99-02-0031.image ) " </FilenameDisable>
|
||||
|
|
@ -324,15 +531,83 @@
|
|||
Var PriceDrink = $11-99-02-0031.Price
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_select/" + $11-99-02-0031.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> $11-99-02-0031.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> $11-99-02-0031.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> $11-99-02-0031.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> $11-99-02-0031.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> $11-99-02-0031.descriptionE </Value>
|
||||
</Text>
|
||||
</Block>
|
||||
; button i=5 11-99-02-0032
|
||||
<Button>
|
||||
<X> 44 </X>
|
||||
<Y> 348 </Y>
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> $11-99-02-0032.Button </State>
|
||||
<Button>
|
||||
<Filename> Var( "ROOT/taobin_project/image/page_drink/" + $11-99-02-0032.image ) </Filename>
|
||||
<FilenamePress> Var( "ROOT/taobin_project/image/page_drink_press/" + $11-99-02-0032.image ) " </FilenamePress>
|
||||
<FilenameDisable> Var( "ROOT/taobin_project/image/page_drink_disable/" + $11-99-02-0032.image ) " </FilenameDisable>
|
||||
|
|
@ -347,15 +622,83 @@
|
|||
Var PriceDrink = $11-99-02-0032.Price
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_select/" + $11-99-02-0032.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> $11-99-02-0032.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> $11-99-02-0032.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> $11-99-02-0032.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> $11-99-02-0032.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> $11-99-02-0032.descriptionE </Value>
|
||||
</Text>
|
||||
</Block>
|
||||
; button i=6 11-99-02-0028
|
||||
<Button>
|
||||
<X> 301 </X>
|
||||
<Y> 348 </Y>
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> $11-99-02-0028.Button </State>
|
||||
<Button>
|
||||
<Filename> Var( "ROOT/taobin_project/image/page_drink/" + $11-99-02-0028.image ) </Filename>
|
||||
<FilenamePress> Var( "ROOT/taobin_project/image/page_drink_press/" + $11-99-02-0028.image ) " </FilenamePress>
|
||||
<FilenameDisable> Var( "ROOT/taobin_project/image/page_drink_disable/" + $11-99-02-0028.image ) " </FilenameDisable>
|
||||
|
|
@ -370,15 +713,83 @@
|
|||
Var PriceDrink = $11-99-02-0028.Price
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_select/" + $11-99-02-0028.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> $11-99-02-0028.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> $11-99-02-0028.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> $11-99-02-0028.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> $11-99-02-0028.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> $11-99-02-0028.descriptionE </Value>
|
||||
</Text>
|
||||
</Block>
|
||||
; button i=7 11-99-02-0029
|
||||
<Button>
|
||||
<X> 558 </X>
|
||||
<Y> 348 </Y>
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> $11-99-02-0029.Button </State>
|
||||
<Button>
|
||||
<Filename> Var( "ROOT/taobin_project/image/page_drink/" + $11-99-02-0029.image ) </Filename>
|
||||
<FilenamePress> Var( "ROOT/taobin_project/image/page_drink_press/" + $11-99-02-0029.image ) " </FilenamePress>
|
||||
<FilenameDisable> Var( "ROOT/taobin_project/image/page_drink_disable/" + $11-99-02-0029.image ) " </FilenameDisable>
|
||||
|
|
@ -393,391 +804,14 @@
|
|||
Var PriceDrink = $11-99-02-0029.Price
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_select/" + $11-99-02-0029.image
|
||||
Topping "Load" SelectDrink
|
||||
SAVELOG NameDrink
|
||||
Var PriceShowValue = charOfBaht + PriceDrink
|
||||
Open "ROOT/taobin_project/xml/page_topping_alter.xml"
|
||||
</EventOnClick>
|
||||
</Button>
|
||||
<Text>
|
||||
<X> 226 </X>
|
||||
<Y> 32 </Y>
|
||||
<State> ShowPrice </State>
|
||||
<Align> "Hurr" </Align>
|
||||
<Width>150</Width>
|
||||
<Size> 27 </Size>
|
||||
<Font> KanitTTF </Font>
|
||||
<Color> 0xB78F24 </Color>
|
||||
<Value> $11-99-01-0027.Price </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 208 </X>
|
||||
<Y> 32 </Y>
|
||||
<State> ShowPrice </State>
|
||||
<Width>20</Width>
|
||||
<Size> 27 </Size>
|
||||
<Font> KanitTTF </Font>
|
||||
<Color> 0xB78F24 </Color>
|
||||
<Value> "฿"" </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 60 </X>
|
||||
<Y> 210 </Y>
|
||||
<Size> 24 </Size>
|
||||
<Width>220</Width>
|
||||
<Mode> "multi2" </Mode>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x322B26 </Color>
|
||||
<State> showthaiText </State>
|
||||
<Value> $11-99-01-0027.Name </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 60 </X>
|
||||
<Y> 266 </Y>
|
||||
<Size> 14 </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<State> showthaiText </State>
|
||||
<Value> $11-99-01-0027.description </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 60 </X>
|
||||
<Y> 210 </Y>
|
||||
<Size> 22 </Size>
|
||||
<Width>220</Width>
|
||||
<Mode> "multi2" </Mode>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x322B26 </Color>
|
||||
<State> showengText </State>
|
||||
<Value> $11-99-01-0027.NameE </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 60 </X>
|
||||
<Y> 266 </Y>
|
||||
<Size> 14 </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<State> showengText </State>
|
||||
<Value> $11-99-01-0027.descriptionE </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 483 </X>
|
||||
<Y> 32 </Y>
|
||||
<State> ShowPrice </State>
|
||||
<Align> "Hurr" </Align>
|
||||
<Width>150</Width>
|
||||
<Size> 27 </Size>
|
||||
<Font> KanitTTF </Font>
|
||||
<Color> 0xB78F24 </Color>
|
||||
<Value> $11-99-02-0027.Price </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 465 </X>
|
||||
<Y> 32 </Y>
|
||||
<State> ShowPrice </State>
|
||||
<Width>20</Width>
|
||||
<Size> 27 </Size>
|
||||
<Font> KanitTTF </Font>
|
||||
<Color> 0xB78F24 </Color>
|
||||
<Value> "฿"" </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 317 </X>
|
||||
<Y> 210 </Y>
|
||||
<Size> 24 </Size>
|
||||
<Width>220</Width>
|
||||
<Mode> "multi2" </Mode>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x322B26 </Color>
|
||||
<State> showthaiText </State>
|
||||
<Value> $11-99-02-0027.Name </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 317 </X>
|
||||
<Y> 266 </Y>
|
||||
<Size> 14 </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<State> showthaiText </State>
|
||||
<Value> $11-99-02-0027.description </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 317 </X>
|
||||
<Y> 210 </Y>
|
||||
<Size> 22 </Size>
|
||||
<Width>220</Width>
|
||||
<Mode> "multi2" </Mode>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x322B26 </Color>
|
||||
<State> showengText </State>
|
||||
<Value> $11-99-02-0027.NameE </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 317 </X>
|
||||
<Y> 266 </Y>
|
||||
<Size> 14 </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<State> showengText </State>
|
||||
<Value> $11-99-02-0027.descriptionE </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 740 </X>
|
||||
<Y> 32 </Y>
|
||||
<State> ShowPrice </State>
|
||||
<Align> "Hurr" </Align>
|
||||
<Width>150</Width>
|
||||
<Size> 27 </Size>
|
||||
<Font> KanitTTF </Font>
|
||||
<Color> 0xB78F24 </Color>
|
||||
<Value> $11-99-02-0030.Price </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 722 </X>
|
||||
<Y> 32 </Y>
|
||||
<State> ShowPrice </State>
|
||||
<Width>20</Width>
|
||||
<Size> 27 </Size>
|
||||
<Font> KanitTTF </Font>
|
||||
<Color> 0xB78F24 </Color>
|
||||
<Value> "฿"" </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 574 </X>
|
||||
<Y> 210 </Y>
|
||||
<Size> 24 </Size>
|
||||
<Width>220</Width>
|
||||
<Mode> "multi2" </Mode>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x322B26 </Color>
|
||||
<State> showthaiText </State>
|
||||
<Value> $11-99-02-0030.Name </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 574 </X>
|
||||
<Y> 266 </Y>
|
||||
<Size> 14 </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<State> showthaiText </State>
|
||||
<Value> $11-99-02-0030.description </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 574 </X>
|
||||
<Y> 210 </Y>
|
||||
<Size> 22 </Size>
|
||||
<Width>220</Width>
|
||||
<Mode> "multi2" </Mode>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x322B26 </Color>
|
||||
<State> showengText </State>
|
||||
<Value> $11-99-02-0030.NameE </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 574 </X>
|
||||
<Y> 266 </Y>
|
||||
<Size> 14 </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<State> showengText </State>
|
||||
<Value> $11-99-02-0030.descriptionE </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 997 </X>
|
||||
<Y> 32 </Y>
|
||||
<State> ShowPrice </State>
|
||||
<Align> "Hurr" </Align>
|
||||
<Width>150</Width>
|
||||
<Size> 27 </Size>
|
||||
<Font> KanitTTF </Font>
|
||||
<Color> 0xB78F24 </Color>
|
||||
<Value> $11-99-02-0031.Price </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 979 </X>
|
||||
<Y> 32 </Y>
|
||||
<State> ShowPrice </State>
|
||||
<Width>20</Width>
|
||||
<Size> 27 </Size>
|
||||
<Font> KanitTTF </Font>
|
||||
<Color> 0xB78F24 </Color>
|
||||
<Value> "฿"" </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 831 </X>
|
||||
<Y> 210 </Y>
|
||||
<Size> 24 </Size>
|
||||
<Width>220</Width>
|
||||
<Mode> "multi2" </Mode>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x322B26 </Color>
|
||||
<State> showthaiText </State>
|
||||
<Value> $11-99-02-0031.Name </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 831 </X>
|
||||
<Y> 266 </Y>
|
||||
<Size> 14 </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<State> showthaiText </State>
|
||||
<Value> $11-99-02-0031.description </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 831 </X>
|
||||
<Y> 210 </Y>
|
||||
<Size> 22 </Size>
|
||||
<Width>220</Width>
|
||||
<Mode> "multi2" </Mode>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x322B26 </Color>
|
||||
<State> showengText </State>
|
||||
<Value> $11-99-02-0031.NameE </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 831 </X>
|
||||
<Y> 266 </Y>
|
||||
<Size> 14 </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<State> showengText </State>
|
||||
<Value> $11-99-02-0031.descriptionE </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 226 </X>
|
||||
<Y> 360 </Y>
|
||||
<State> ShowPrice </State>
|
||||
<Align> "Hurr" </Align>
|
||||
<Width>150</Width>
|
||||
<Size> 27 </Size>
|
||||
<Font> KanitTTF </Font>
|
||||
<Color> 0xB78F24 </Color>
|
||||
<Value> $11-99-02-0032.Price </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 208 </X>
|
||||
<Y> 360 </Y>
|
||||
<State> ShowPrice </State>
|
||||
<Width>20</Width>
|
||||
<Size> 27 </Size>
|
||||
<Font> KanitTTF </Font>
|
||||
<Color> 0xB78F24 </Color>
|
||||
<Value> "฿"" </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 60 </X>
|
||||
<Y> 538 </Y>
|
||||
<Size> 24 </Size>
|
||||
<Width>220</Width>
|
||||
<Mode> "multi2" </Mode>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x322B26 </Color>
|
||||
<State> showthaiText </State>
|
||||
<Value> $11-99-02-0032.Name </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 60 </X>
|
||||
<Y> 594 </Y>
|
||||
<Size> 14 </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<State> showthaiText </State>
|
||||
<Value> $11-99-02-0032.description </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 60 </X>
|
||||
<Y> 538 </Y>
|
||||
<Size> 22 </Size>
|
||||
<Width>220</Width>
|
||||
<Mode> "multi2" </Mode>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x322B26 </Color>
|
||||
<State> showengText </State>
|
||||
<Value> $11-99-02-0032.NameE </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 60 </X>
|
||||
<Y> 594 </Y>
|
||||
<Size> 14 </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<State> showengText </State>
|
||||
<Value> $11-99-02-0032.descriptionE </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 483 </X>
|
||||
<Y> 360 </Y>
|
||||
<State> ShowPrice </State>
|
||||
<Align> "Hurr" </Align>
|
||||
<Width>150</Width>
|
||||
<Size> 27 </Size>
|
||||
<Font> KanitTTF </Font>
|
||||
<Color> 0xB78F24 </Color>
|
||||
<Value> $11-99-02-0028.Price </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 465 </X>
|
||||
<Y> 360 </Y>
|
||||
<State> ShowPrice </State>
|
||||
<Width>20</Width>
|
||||
<Size> 27 </Size>
|
||||
<Font> KanitTTF </Font>
|
||||
<Color> 0xB78F24 </Color>
|
||||
<Value> "฿"" </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 317 </X>
|
||||
<Y> 538 </Y>
|
||||
<Size> 24 </Size>
|
||||
<Width>220</Width>
|
||||
<Mode> "multi2" </Mode>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x322B26 </Color>
|
||||
<State> showthaiText </State>
|
||||
<Value> $11-99-02-0028.Name </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 317 </X>
|
||||
<Y> 594 </Y>
|
||||
<Size> 14 </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<State> showthaiText </State>
|
||||
<Value> $11-99-02-0028.description </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 317 </X>
|
||||
<Y> 538 </Y>
|
||||
<Size> 22 </Size>
|
||||
<Width>220</Width>
|
||||
<Mode> "multi2" </Mode>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x322B26 </Color>
|
||||
<State> showengText </State>
|
||||
<Value> $11-99-02-0028.NameE </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 317 </X>
|
||||
<Y> 594 </Y>
|
||||
<Size> 14 </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<State> showengText </State>
|
||||
<Value> $11-99-02-0028.descriptionE </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 740 </X>
|
||||
<Y> 360 </Y>
|
||||
<X> 182 </X>
|
||||
<Y> 12 </Y>
|
||||
<State> ShowPrice </State>
|
||||
<Align> "Hurr" </Align>
|
||||
<Width>150</Width>
|
||||
|
|
@ -787,8 +821,8 @@
|
|||
<Value> $11-99-02-0029.Price </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 722 </X>
|
||||
<Y> 360 </Y>
|
||||
<X> 164 </X>
|
||||
<Y> 12 </Y>
|
||||
<State> ShowPrice </State>
|
||||
<Width>20</Width>
|
||||
<Size> 27 </Size>
|
||||
|
|
@ -797,8 +831,8 @@
|
|||
<Value> "฿"" </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 574 </X>
|
||||
<Y> 538 </Y>
|
||||
<X> 16 </X>
|
||||
<Y> 190 </Y>
|
||||
<Size> 24 </Size>
|
||||
<Width>220</Width>
|
||||
<Mode> "multi2" </Mode>
|
||||
|
|
@ -808,8 +842,8 @@
|
|||
<Value> $11-99-02-0029.Name </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 574 </X>
|
||||
<Y> 594 </Y>
|
||||
<X> 16 </X>
|
||||
<Y> 246 </Y>
|
||||
<Size> 14 </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
|
|
@ -818,8 +852,8 @@
|
|||
<Value> $11-99-02-0029.description </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 574 </X>
|
||||
<Y> 538 </Y>
|
||||
<X> 16 </X>
|
||||
<Y> 190 </Y>
|
||||
<Size> 22 </Size>
|
||||
<Width>220</Width>
|
||||
<Mode> "multi2" </Mode>
|
||||
|
|
@ -829,8 +863,8 @@
|
|||
<Value> $11-99-02-0029.NameE </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 574 </X>
|
||||
<Y> 594 </Y>
|
||||
<X> 16 </X>
|
||||
<Y> 246 </Y>
|
||||
<Size> 14 </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
|
|
@ -838,6 +872,7 @@
|
|||
<State> showengText </State>
|
||||
<Value> $11-99-02-0029.descriptionE </Value>
|
||||
</Text>
|
||||
</Block>
|
||||
</FrameScroll>
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -73,7 +73,8 @@
|
|||
Var Menu5Selected = "Invisible"
|
||||
Var Menu6Selected = "PressForever"
|
||||
Var Menu7Selected = "Enable"
|
||||
|
||||
Var Menu8Selected = "Invisible"
|
||||
|
||||
|
||||
If CocktailShow = "true" Then
|
||||
Var Menu7Selected = "Invisible"
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
|
@ -55,6 +55,7 @@
|
|||
|
||||
Var PriceDrinkNoTop = PriceDrink
|
||||
Var PriceDrinkTmp = PriceDrink
|
||||
Var PriceDrinkTmpShow = charOfBaht + PriceDrinkTmp
|
||||
Var Timeout = 0
|
||||
|
||||
SAVELOG PriceDrinkTmp
|
||||
|
|
@ -176,31 +177,7 @@
|
|||
Var ToppingGotoPayment = "false"
|
||||
EndIf
|
||||
|
||||
If TOPPING1 = "Powder Sugar" Then
|
||||
Var SugarState1 = "PressForever"
|
||||
Var SugarState2 = "Enable"
|
||||
Var SugarState3 = "Enable"
|
||||
Var SugarState4 = "Enable"
|
||||
Var SugarState5 = "Enable"
|
||||
Var BGSugar = "Enable"
|
||||
Var BugFlag = 1
|
||||
Var topping1 = toppingID1Default
|
||||
|
||||
Var ToppingGotoPayment = "false"
|
||||
Refresh
|
||||
EndIf
|
||||
|
||||
If TOPPING2 = "shot coffee" Then
|
||||
Var backGroundAddExtra = DirImage + "/extra_img_1.png"
|
||||
|
||||
SAVELOG backGroundAddExtra
|
||||
Var ShotCoffeeBG = "Invisible"
|
||||
Var y_shot_coffee_bg = y2_topping_bg
|
||||
Var y_shot_coffee_bt = y_shot_coffee_bg + 100
|
||||
Var showShotEnable = "Invisible"
|
||||
Refresh
|
||||
EndIf
|
||||
|
||||
If TOPPING1 = "Powder Sugar Premix 25" Then
|
||||
Var ToppingGotoPayment = "false"
|
||||
Open "ROOT/taobin_project/xml/page_topping_premix25percent.xml"
|
||||
|
|
@ -222,7 +199,35 @@
|
|||
Open "ROOT/taobin_project/xml/page_topping_premix25percent_no.xml"
|
||||
EndIf
|
||||
|
||||
|
||||
If TOPPING1 = "Powder Sugar" Then
|
||||
Var SugarState1 = "PressForever"
|
||||
Var SugarState2 = "Enable"
|
||||
Var SugarState3 = "Enable"
|
||||
Var SugarState4 = "Enable"
|
||||
Var SugarState5 = "Enable"
|
||||
Var BGSugar = "Enable"
|
||||
Var BugFlag = 1
|
||||
Var topping1 = toppingID1Default
|
||||
|
||||
Var ToppingGotoPayment = "false"
|
||||
Refresh
|
||||
EndIf
|
||||
|
||||
;-BEGIN shot layout
|
||||
|
||||
If TOPPING2 = "shot coffee" Then
|
||||
|
||||
Var backGroundAddExtra = DirImage + "/extra_img_1.png"
|
||||
Var y_shot_coffee_bg = y2_topping_bg
|
||||
Var y_shot_coffee_bt = y_shot_coffee_bg + 100
|
||||
;Var ShotCoffeeBG = "Enable"
|
||||
;Var showShotEnable = "Enable"
|
||||
Var ShotCoffeeBG = "Invisible"
|
||||
Var showShotEnable = "Invisible"
|
||||
Refresh
|
||||
EndIf
|
||||
;-END
|
||||
|
||||
|
||||
SAVELOG ToppingGotoPayment
|
||||
If ToppingGotoPayment = "true" Then
|
||||
|
|
@ -303,7 +308,10 @@
|
|||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
||||
Var PriceDrink = PriceDrinkTmp
|
||||
|
||||
SAVELOG topping2
|
||||
|
||||
; Set drink
|
||||
Topping "Select" SelectDrink
|
||||
|
|
@ -330,13 +338,14 @@
|
|||
<Width> 1080 </Width>
|
||||
<Color> 0xFFFFFF </Color>
|
||||
<Animation>
|
||||
<Style> "BlinkStar" </Style>
|
||||
<Style> "shake-text" </Style>
|
||||
<OnEvent> "OnValueChange" </OnEvent>
|
||||
</Animation>
|
||||
<Value> PriceDrinkTmp </Value>
|
||||
<Value> PriceDrinkTmpShow </Value>
|
||||
</Text>
|
||||
|
||||
; shot layout
|
||||
|
||||
;-BEGIN shot layout
|
||||
|
||||
<Image>
|
||||
<X> 52 </X>
|
||||
|
|
@ -361,11 +370,15 @@
|
|||
If showShotEnable = "Press" Then
|
||||
Var showShotEnable = "Enable"
|
||||
Var PriceDrinkTmp = PriceDrinkNoTop
|
||||
Var topping2 = toppingID2index1
|
||||
Else
|
||||
Var showShotEnable = "Press"
|
||||
Var PriceDrinkTmp = PriceDrinkNoTop + toppingID2price2
|
||||
Var topping2 = toppingID2index2
|
||||
EndIf
|
||||
|
||||
Var PriceDrinkTmpShow = charOfBaht + PriceDrinkTmp
|
||||
|
||||
SAVELOG PriceDrinkTmp
|
||||
Refresh
|
||||
|
||||
|
|
@ -388,17 +401,22 @@
|
|||
If showShotEnable = "Press" Then
|
||||
Var showShotEnable = "Enable"
|
||||
Var PriceDrinkTmp = PriceDrinkNoTop
|
||||
Var topping2 = toppingID2index1
|
||||
Else
|
||||
Var showShotEnable = "Press"
|
||||
Var PriceDrinkTmp = PriceDrinkNoTop + toppingID2price2
|
||||
Var topping2 = toppingID2index2
|
||||
EndIf
|
||||
|
||||
Var PriceDrinkTmpShow = charOfBaht + PriceDrinkTmp
|
||||
|
||||
|
||||
SAVELOG PriceDrinkTmp
|
||||
Refresh
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
; end
|
||||
;-END
|
||||
|
||||
|
||||
; sugar layout
|
||||
|
|
|
|||
|
|
@ -110,6 +110,7 @@
|
|||
Var showdesc = DrinkDescriptionTH
|
||||
EndIf
|
||||
CRLFToSpace showname
|
||||
CRLFToSpace showdesc
|
||||
|
||||
RefreshAll
|
||||
</EventClick>
|
||||
|
|
@ -272,8 +273,8 @@
|
|||
<X> 181 </X>
|
||||
<Y> y_topping </Y>
|
||||
<State> SugarState1 </Stage>
|
||||
<Filename> "ROOT/taobin_project/image/topping/bn_sugar1.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/topping/bp_sugar1.png" </FilenamePress>
|
||||
<Filename> Var( DirImage + "/bn_sugar1.png" ) </Filename>
|
||||
<FilenamePress> Var( DirImage + "/bp_sugar1.png" ) </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
|
@ -287,8 +288,8 @@
|
|||
<X> 327 </X>
|
||||
<Y> y_topping </Y>
|
||||
<State> SugarState2 </Stage>
|
||||
<Filename> "ROOT/taobin_project/image/topping/bn_sugar2.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/topping/bp_sugar2.png" </FilenamePress>
|
||||
<Filename> Var( DirImage + "/bn_sugar2.png" ) </Filename>
|
||||
<FilenamePress> Var( DirImage + "/bp_sugar2.png" ) </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
|
@ -313,8 +314,8 @@
|
|||
<X> 503 </X>
|
||||
<Y> y_topping </Y>
|
||||
<State> SugarState3 </Stage>
|
||||
<Filename> "ROOT/taobin_project/image/topping/bn_sugar3.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/topping/bp_sugar3.png" </FilenamePress>
|
||||
<Filename> Var( DirImage + "/bn_sugar3.png" ) </Filename>
|
||||
<FilenamePress> Var( DirImage + "/bp_sugar3.png" ) </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
|
@ -338,8 +339,8 @@
|
|||
<X> 664 </X>
|
||||
<Y> y_topping </Y>
|
||||
<State> SugarState4 </Stage>
|
||||
<Filename> "ROOT/taobin_project/image/topping/bn_sugar4.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/topping/bp_sugar4.png" </FilenamePress>
|
||||
<Filename> Var( DirImage + "/bn_sugar4.png" ) </Filename>
|
||||
<FilenamePress> Var( DirImage + "/bp_sugar4.png" ) </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
|
@ -363,8 +364,8 @@
|
|||
<X> 836 </X>
|
||||
<Y> y_topping </Y>
|
||||
<State> SugarState5 </Stage>
|
||||
<Filename> "ROOT/taobin_project/image/topping/bn_sugar5.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/topping/bp_sugar5.png" </FilenamePress>
|
||||
<Filename> Var( DirImage + "/bn_sugar5.png" ) </Filename>
|
||||
<FilenamePress> Var( DirImage + "/bp_sugar5.png" ) </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
|
|
|||
|
|
@ -271,8 +271,8 @@
|
|||
<X> 181 </X>
|
||||
<Y> y_topping </Y>
|
||||
<State> SugarState1 </Stage>
|
||||
<Filename> "ROOT/taobin_project/image/topping/bn_sugar1.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/topping/bp_sugar1.png" </FilenamePress>
|
||||
<Filename> Var( DirImage + "/bn_sugar1.png" ) </Filename>
|
||||
<FilenamePress> Var( DirImage + "/bp_sugar1.png" ) </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
|
@ -286,8 +286,8 @@
|
|||
<X> 327 </X>
|
||||
<Y> y_topping </Y>
|
||||
<State> SugarState2 </Stage>
|
||||
<Filename> "ROOT/taobin_project/image/topping/bn_sugar2.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/topping/bp_sugar2.png" </FilenamePress>
|
||||
<Filename> Var( DirImage + "/bn_sugar2.png" ) </Filename>
|
||||
<FilenamePress> Var( DirImage + "/bp_sugar2.png" ) </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
|
@ -310,8 +310,8 @@
|
|||
<X> 503 </X>
|
||||
<Y> y_topping </Y>
|
||||
<State> SugarState3 </Stage>
|
||||
<Filename> "ROOT/taobin_project/image/topping/bn_sugar3.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/topping/bp_sugar3.png" </FilenamePress>
|
||||
<Filename> Var( DirImage + "/bn_sugar3.png" ) </Filename>
|
||||
<FilenamePress> Var( DirImage + "/bp_sugar3.png" ) </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
|
@ -333,8 +333,8 @@
|
|||
<X> 664 </X>
|
||||
<Y> y_topping </Y>
|
||||
<State> SugarState4 </Stage>
|
||||
<Filename> "ROOT/taobin_project/image/topping/bn_sugar4.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/topping/bp_sugar4.png" </FilenamePress>
|
||||
<Filename> Var( DirImage + "/bn_sugar4.png" ) </Filename>
|
||||
<FilenamePress> Var( DirImage + "/bp_sugar4.png" ) </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
|
@ -357,8 +357,8 @@
|
|||
<X> 836 </X>
|
||||
<Y> y_topping </Y>
|
||||
<State> SugarState5 </Stage>
|
||||
<Filename> "ROOT/taobin_project/image/topping/bn_sugar5.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/topping/bp_sugar5.png" </FilenamePress>
|
||||
<Filename> Var( DirImage + "/bn_sugar5.png" ) </Filename>
|
||||
<FilenamePress> Var( DirImage + "/bp_sugar5.png" ) </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
|
|
|||
|
|
@ -269,8 +269,8 @@
|
|||
<X> 181 </X>
|
||||
<Y> y_topping </Y>
|
||||
<State> SugarState1 </Stage>
|
||||
<Filename> "ROOT/taobin_project/image/topping/bn_sugar1.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/topping/bp_sugar1.png" </FilenamePress>
|
||||
<Filename> Var( DirImage + "/bn_sugar1.png" ) </Filename>
|
||||
<FilenamePress> Var( DirImage + "/bp_sugar1.png" ) </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
|
@ -284,8 +284,8 @@
|
|||
<X> 327 </X>
|
||||
<Y> y_topping </Y>
|
||||
<State> SugarState2 </Stage>
|
||||
<Filename> "ROOT/taobin_project/image/topping/bn_sugar2.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/topping/bp_sugar2.png" </FilenamePress>
|
||||
<Filename> Var( DirImage + "/bn_sugar2.png" ) </Filename>
|
||||
<FilenamePress> Var( DirImage + "/bp_sugar2.png" ) </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
|
@ -308,8 +308,8 @@
|
|||
<X> 503 </X>
|
||||
<Y> y_topping </Y>
|
||||
<State> SugarState3 </Stage>
|
||||
<Filename> "ROOT/taobin_project/image/topping/bn_sugar3.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/topping/bp_sugar3.png" </FilenamePress>
|
||||
<Filename> Var( DirImage + "/bn_sugar3.png" ) </Filename>
|
||||
<FilenamePress> Var( DirImage + "/bp_sugar3.png" ) </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
|
@ -331,8 +331,8 @@
|
|||
<X> 664 </X>
|
||||
<Y> y_topping </Y>
|
||||
<State> SugarState4 </Stage>
|
||||
<Filename> "ROOT/taobin_project/image/topping/bn_sugar4.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/topping/bp_sugar4.png" </FilenamePress>
|
||||
<Filename> Var( DirImage + "/bn_sugar4.png" ) </Filename>
|
||||
<FilenamePress> Var( DirImage + "/bp_sugar4.png" ) </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
|
@ -355,8 +355,8 @@
|
|||
<X> 836 </X>
|
||||
<Y> y_topping </Y>
|
||||
<State> SugarState5 </Stage>
|
||||
<Filename> "ROOT/taobin_project/image/topping/bn_sugar5.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/topping/bp_sugar5.png" </FilenamePress>
|
||||
<Filename> Var( DirImage + "/bn_sugar5.png" ) </Filename>
|
||||
<FilenamePress> Var( DirImage + "/bp_sugar5.png" ) </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
|
|
|||
|
|
@ -69,6 +69,7 @@
|
|||
Var BGSugar = "Enable"
|
||||
Var topping1 = toppingID1Default
|
||||
EndIf
|
||||
|
||||
|
||||
If TOPPING1 = "Sugar Premix 25" Then
|
||||
Var SugarState1 = "Invisible"
|
||||
|
|
@ -349,8 +350,8 @@
|
|||
<X> 181 </X>
|
||||
<Y> y_topping </Y>
|
||||
<State> SugarState1 </Stage>
|
||||
<Filename> "ROOT/taobin_project/image/topping/bn_sugar1.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/topping/bp_sugar1.png" </FilenamePress>
|
||||
<Filename> Var( DirImage + "/bn_sugar1.png" ) </Filename>
|
||||
<FilenamePress> Var( DirImage + "/bp_sugar1.png" ) </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
|
@ -379,8 +380,8 @@
|
|||
<X> 344 </X>
|
||||
<Y> y_topping </Y>
|
||||
<State> SugarState2 </Stage>
|
||||
<Filename> "ROOT/taobin_project/image/topping/bn_sugar2.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/topping/bp_sugar2.png" </FilenamePress>
|
||||
<Filename> Var( DirImage + "/bn_sugar2.png" ) </Filename>
|
||||
<FilenamePress> Var( DirImage + "/bp_sugar2.png" ) </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
|
@ -410,8 +411,8 @@
|
|||
<X> 507 </X>
|
||||
<Y> y_topping </Y>
|
||||
<State> SugarState3 </Stage>
|
||||
<Filename> "ROOT/taobin_project/image/topping/bn_sugar3.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/topping/bp_sugar3.png" </FilenamePress>
|
||||
<Filename> Var( DirImage + "/bn_sugar3.png" ) </Filename>
|
||||
<FilenamePress> Var( DirImage + "/bp_sugar3.png" ) </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
|
@ -441,8 +442,8 @@
|
|||
<X> 670 </X>
|
||||
<Y> y_topping </Y>
|
||||
<State> SugarState4 </Stage>
|
||||
<Filename> "ROOT/taobin_project/image/topping/bn_sugar4.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/topping/bp_sugar4.png" </FilenamePress>
|
||||
<Filename> Var( DirImage + "/bn_sugar4.png" ) </Filename>
|
||||
<FilenamePress> Var( DirImage + "/bp_sugar4.png" ) </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
|
@ -472,8 +473,8 @@
|
|||
<X> 833 </X>
|
||||
<Y> y_topping </Y>
|
||||
<State> SugarState5 </Stage>
|
||||
<Filename> "ROOT/taobin_project/image/topping/bn_sugar5.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/topping/bp_sugar5.png" </FilenamePress>
|
||||
<Filename> Var( DirImage + "/bn_sugar5.png" ) </Filename>
|
||||
<FilenamePress> Var( DirImage + "/bp_sugar5.png" ) </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue